javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-1084

FaceletTaglibConfigProcessor.java fails to interpret el-function method signature when XML formatting the taglib.xml caused newline within the method signature

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 2.1, 2.2
    • Fix Version/s: None
    • Labels:
      None

      Description

      as summary says. Formatting taglib.xml might lead to newlines within method signature like this:

      <function>
      <function-name>resolveCodeVariant</function-name>
      <function-class>com.csg.jsf.el.Functions</function-class>
      <function-signature>java.lang.String
      resolveCodeVariant(java.lang.String, java.lang.String, java.lang.String)</function-signature>
      </function>

      Currently FaceletTaglibConfigProcessor will only use the first line to lookup the method and of course fail.

      Proposed change is to replace any whitespace with space char - see attached changebundle.

      Originally filed as spec issue: http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1083
      It's an impl issue not a spec issue.

        Activity

        Hide
        rogerk added a comment -

        impl issue not spec issue.

        Show
        rogerk added a comment - impl issue not spec issue.

          People

          • Assignee:
            rogerk
            Reporter:
            rogerk
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: