[
https://issues.apache.org/jira/browse/MYFACES-3454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194788#comment-13194788
]
Leonardo Uribe edited comment on MYFACES-3454 at 1/27/12 2:29 PM:
------------------------------------------------------------------
JSF 2.0 spec section 2.6.1.3 Resource Identifiers says this about libraryName :
"... The run-time must enforce the following rules to consider a
<resourceIdentifier>s valid. A <resourceIdentifier> that does not follow these
rules must not be considered valid and must be ignored silently.
- The set of characters that are valid for use in the localePrefix,
libraryName, and resourceVersion segments of the resource identifier is
specififed as XML NameChar excluding the path separator and ‘:’ characters. The
specification for XML NameChar may be seen at
http://www.w3.org/TR/REC-xml/#NT-NameChar."
- A further restriction applies to libraryName. A libraryName must not be an
underscore separated sequence of non-negative integers or a locale string. More
rigorously, a libraryName must not match either of the following regular
expressions:
■ [0-9]+(_[0-9]+)*
■ [A-Za-z]{2}(_[A-Za-z]{2}(_[A-Za-z]+)*)?
..."
so any libraryName that contain slashes like in the example (components/mycomp)
is considered invalid.
was (Author: lu4242):
JSF 2.0 spec section 2.1.6.3 says this about libraryName :
"... The run-time must enforce the following rules to consider a
<resourceIdentifier>s valid. A <resourceIdentifier> that does not follow these
rules must not be considered valid and must be ignored silently.
- The set of characters that are valid for use in the localePrefix,
libraryName, and resourceVersion segments of the resource identifier is
specififed as XML NameChar excluding the path separator and ‘:’ characters. The
specification for XML NameChar may be seen at
http://www.w3.org/TR/REC-xml/#NT-NameChar."
- A further restriction applies to libraryName. A libraryName must not be an
underscore separated sequence of non-negative integers or a locale string. More
rigorously, a libraryName must not match either of the following regular
expressions:
■ [0-9]+(_[0-9]+)*
■ [A-Za-z]{2}(_[A-Za-z]{2}(_[A-Za-z]+)*)?
..."
so any libraryName that contain slashes like in the example (components/mycomp)
is considered invalid.
> composite component is not rendered anymore with 2.1.6-SNAPSHOT
> ---------------------------------------------------------------
>
> Key: MYFACES-3454
> URL: https://issues.apache.org/jira/browse/MYFACES-3454
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.1.6-SNAPSHOT
> Reporter: Rene O
> Assignee: Leonardo Uribe
> Priority: Blocker
> Attachments: jsftest.war
>
>
> If you use myfaces 2.1.6-SNAPSHOT, a composite component is not rendered
> correctly anymore. With myfaces-2.1.5 everything is ok.
> A testcase to reproduce this issue is attached.
> http://localhost:8080/jsftest/componenttest.jsf
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira