[JAVASERVERFACES-2221] FaceletTaglibConfigProcessor fails if formatting taglib.xml leads to new-lines in function configuration before function name Created: 03/Oct/11  Updated: 02/Nov/12  Resolved: 19/Oct/12

Status: Closed
Project: javaserverfaces
Component/s: facelets
Affects Version/s: None
Fix Version/s: 2.1.14, 2.2.0-m06

Type: Bug Priority: Minor
Reporter: Hanspeter Duennenberger Assignee: Manfred Riem
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 5 hours
Time Spent: Not Specified
Original Estimate: 5 hours

Attachments: Text File FaceletTaglibConfigProcessor.patch    
Issue Links:
duplicates JAVASERVERFACES-2369 FaceletTaglibConfigProcessor.java fai... Closed


Reformat the taglib.xml file might lead to newlines inserted in the middle of a function configuration. FaceletTaglibConfigProcessor fails with wrong message when a newline is inserted directly after the return type.

The proposed fix (see attachment) replaces all white space (space, new line, tabs) contained in the signature into spaces. That way the function configuration can be interpreted correctly.

Comment by Hanspeter Duennenberger [ 02/Aug/12 ]

Hi Ed,

This is a duplicate to issue 2369, which we fixed when I was visiting you.


Comment by Manfred Riem [ 19/Oct/12 ]

Applied to 2.1 branch,

svn commit -m "http://java.net/jira/browse/JAVASERVERFACES-2221, r=mriem, Backport of a change already committed to 2.2 trunk"
Sending jsf-ri\src\main\java\com\sun\faces\config\processor\FaceletTaglibConfigProcessor.java
Transmitting file data .
Committed revision 10886.

Generated at Sat Nov 28 08:17:14 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.