Details
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.
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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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.