ICEfaces
  1. ICEfaces
  2. ICE-991

<%@taglib is not tolerated, one or more white spaces required.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.5.1
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      parser does not tolerate uncommon format like <%@taglib uri=... Current parser
      requires at least one white space in between. But Netbeans does generate such
      <%@taglib uri= which causes document parsing failure.

      The actual change can be made in JspPageToDocument class. Change the
       static String JSP_TAGLIB_PATTERN = "<%@\\s+taglib\\s+(.*?)%>";
      to
       static String JSP_TAGLIB_PATTERN = "<%@\\s*taglib\\s+(.*?)%>";

      should be ok.

        Activity

        Hide
        Liming Wu added a comment -

        Checked in to both HEAD and 1.5.0 brach

        commit -m "#1011 changed regexp JSP_TAGLIB_PATTERN to allow no-white-space
        between %@ and taglib"
        C:/ICEfacesWorkspace/core/src/com/icesoft/faces/webapp/parser/JspPageToDocument
        .java
        Sending
        ICEfacesWorkspace/core/src/com/icesoft/faces/webapp/parser/JspPageToDocument.ja
        va
        Transmitting file data ...
        Committed revision 12094.

        Show
        Liming Wu added a comment - Checked in to both HEAD and 1.5.0 brach commit -m "#1011 changed regexp JSP_TAGLIB_PATTERN to allow no-white-space between %@ and taglib" C:/ICEfacesWorkspace/core/src/com/icesoft/faces/webapp/parser/JspPageToDocument .java Sending ICEfacesWorkspace/core/src/com/icesoft/faces/webapp/parser/JspPageToDocument.ja va Transmitting file data ... Committed revision 12094.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: