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

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

    Details

      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.

      1. changebundle.txt
        1 kB
        Hanspeter Duennenberger

        Activity

        Hide
        Hanspeter Duennenberger added a comment -

        sorry, this issue should be on impl, not spec-issue. Yan this issue be moved over?

        Show
        Hanspeter Duennenberger added a comment - sorry, this issue should be on impl, not spec-issue. Yan this issue be moved over?
        Hide
        rogerk added a comment -

        This is an impl issue. Filed as: http://java.net/jira/browse/JAVASERVERFACES-2369

        Show
        rogerk added a comment - This is an impl issue. Filed as: http://java.net/jira/browse/JAVASERVERFACES-2369

          People

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

            Dates

            • Created:
              Updated:
              Resolved: