Hi
Interesting. In my understanding resourceName could contain slashes, at
least in MyFaces. See:
http://svn.apache.org/viewvc/myfaces/core/trunk/shared/src/main/java/org/apache/myfaces/shared/resource/ResourceValidationUtils.java?view=markup
The problem is allow slashes in libraryName, which according to JSF 2 is
forbidden, but Mojarra allows it. In MyFaces the rule is the words in the
spec precedes the behavior of the Reference Implementation (RI), so it was
considered a bug and a custom flag was added
(org.apache.myfaces.STRICT_JSF_2_ALLOW_SLASH_LIBRARY_NAME), to make things
easier to users migrating from Mojarra to MyFaces.
Am I missing something?
regards,
Leonardo Uribe
2017-01-27 15:20 GMT-05:00 Thomas Andraschko <andraschko.thomas_at_gmail.com>:
> Hey,
>
> AFAIK a slash in the "name" works in both MyFaces and Mojarra and almost
> every component library uses it via @ResourceDependency.
> But not sure about the spec text in detail.
>
> Also using slash in the library works without configuration in Mojarra. In
> MyFaces you have to set: org.apache.myfaces.STRICT_JSF_
> 2_ALLOW_SLASH_LIBRARY_NAME.
>
> Regards,
> Thomas
>
> 2017-01-27 18:50 GMT+01:00 arjan tijms <arjan.tijms_at_gmail.com>:
>
>> Hi,
>>
>> Generally, every change, bug fix, typo, etc counts as a change against
>> the lock-down. Only very critical things in mostly new functionality that
>> would block a release can be done, but at the sole discretion of the spec
>> leads (Ed Burn and Manfred Riem).
>>
>> Hopefully though we can start a new spec cycle soon.
>>
>> Kind regards,
>> Arjan
>>
>>
>>
>> On Fri, Jan 27, 2017 at 6:23 PM, Arend v. Reinersdorff <arend_at_arendvr.com
>> > wrote:
>>
>>> Hi Arjan,
>>>
>>> not sure if it makes a difference with the lock-down: This is not about
>>> new functionality but about fixing a bug in the spec.
>>>
>>> As is the spec forbids resources like this (path separator in
>>> resourceName):
>>> <h:outputScript library="primefaces" name="jquery/jquery.js" />
>>>
>>> Best regards,
>>> Arend
>>>
>>>
>>> On Fri, Jan 27, 2017 at 2:42 PM, arjan tijms <arjan.tijms_at_gmail.com>
>>> wrote:
>>>
>>>> Hi Arend,
>>>>
>>>> Unfortunately JSF 2.3 is now in lock-down mode wrt spec/api changes, so
>>>> any new change will have to be diverted to JSF.next.
>>>>
>>>> Kind regards,
>>>> Arjan
>>>>
>>>>
>>>> On Thu, Jan 26, 2017 at 10:58 PM, Arend v. Reinersdorff <
>>>> arend_at_arendvr.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> could this issue be addressed in JSF 2.3? It has not been fixed in the
>>>>> public review draft. Path separators in resourceNames are widely used:
>>>>> https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1366
>>>>>
>>>>> Best regards,
>>>>> Arend
>>>>>
>>>>>
>>>>
>>>
>>
>