Summary: | PermittedTaglibsTLV does not reject unspecified tags in JSP Documents | ||
---|---|---|---|
Product: | Taglibs | Reporter: | Jeremy Boynes <jboynes> |
Component: | Standard Taglib | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.2.1 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
Jeremy Boynes
2014-12-01 02:28:28 UTC
A simple JSP Document produces the following XML View: <?xml version="1.0" encoding="UTF-8" ?> <jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" jsp:id="0"> <jsp:directive.page jsp:id="1" pageEncoding="UTF-8" contentType="text/xml;charset=UTF-8"/> <o:doc xmlns:d="urn:dump" xmlns:o="urn:out" jsp:id="2"> <x:hello xmlns:x="urn:jsptagdir:/WEB-INF/tags/test" jsp:id="3"/> </o:doc> </jsp:root> In this view, the 'd' and 'x' prefixes refer to tag libraries but the 'o' prefix is part of the output text. Without access TagLibraryInfo I do not see a way determine that 'urn:dump' refers to a taglib but that 'urn:out' does not. Test case added in http://svn.apache.org/r1642801 Documented that this TLV does not detect tags in JSP2.0 Documents. Closing as WONTFIX |