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
Liming Wu
created issue -
Icefaces Administrator
made changes -
Field | Original Value | New Value |
---|---|---|
issue.field.bugzillaimportkey | 1011 | 12260 |
Ken Fyten
made changes -
Affects Version/s | 1.5 [ 10027 ] | |
Affects Version/s | 1.0.1 [ 10025 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |