javaserverfaces
  1. javaserverfaces
  2. JAVASERVERFACES-2221

FaceletTaglibConfigProcessor fails if formatting taglib.xml leads to new-lines in function configuration before function name

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.14, 2.2.0-m06
    • Component/s: facelets
    • Labels:
      None

      Description

      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.

        Issue Links

          Activity

          Hide
          Hanspeter Duennenberger added a comment -

          Hi Ed,

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

          Regards
          Hanspeter

          Show
          Hanspeter Duennenberger added a comment - Hi Ed, This is a duplicate to issue 2369, which we fixed when I was visiting you. Regards Hanspeter
          Hide
          Manfred Riem added a comment -

          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.

          Show
          Manfred Riem added a comment - 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.

            People

            • Assignee:
              Manfred Riem
              Reporter:
              Hanspeter Duennenberger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5 hours
                5h
                Remaining:
                Remaining Estimate - 5 hours
                5h
                Logged:
                Time Spent - Not Specified
                Not Specified