[JAVASERVERFACES_SPEC_PUBLIC-1141] Specify that all parts of a resource identifier must not have "/". Created: 01/Nov/12  Updated: 05/Mar/15  Resolved: 14/Nov/12

Status: Closed
Project: javaserverfaces-spec-public
Component/s: Resources
Affects Version/s: 2.0, 2.1
Fix Version/s: 2.2 Sprint 14

Type: Improvement Priority: Trivial
Reporter: Ed Burns Assignee: Ed Burns
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 10 minutes
Time Spent: 40 minutes
Original Estimate: 50 minutes

Issue Links:
blocks JAVASERVERFACES-2401 Regression: Resolving resources via E... Closed
is related to JAVASERVERFACES_SPEC_PUBLIC-1366 Within Resource Identifier, allow res... Open


A test for JAVASERVERFACES-2401 asserts that the following is valid:


This is not valid and should never have been valid.

JSF 2.2 does add a new method resourceHandler.createViewResource() but that is intended to resolve facelet files, and those may have slashes in the path name.

Comment by Ed Burns [ 05/Nov/12 ]

Re-opening per Leonardo Uribe's 20121103-1254 email.

Comment by Ed Burns [ 12/Nov/12 ]

Consider this EG email text from < http://java.net/projects/javaserverfaces-spec-public/lists/jsr344-experts/archive/2012-11/message/10 >.

Leonardo, do you think it is sufficient to modify the javadoc for just
ResourceHandler.createResource(String) to say that if the argument
contains more than one slash, the text between the beginning of the
string and that first slash must be taken as the libraryName, and the
remainder must be used to find the resourceName?

Generated at Fri Mar 24 18:47:58 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.