You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/11/17 00:37:38 UTC
[Bug 55788] New: TagPlugins should key on tag QName rather than
implementation class
https://issues.apache.org/bugzilla/show_bug.cgi?id=55788
Bug ID: 55788
Summary: TagPlugins should key on tag QName rather than
implementation class
Product: Tomcat 8
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Jasper
Assignee: dev@tomcat.apache.org
Reporter: jboynes@apache.org
Tag plugins key off a tag's implementation class, for example:
<tag-plugin>
<tag-class>org.apache.taglibs.standard.tag.rt.core.IfTag</tag-class>
<plugin-class>org.apache.jasper.tagplugins.jstl.core.If</plugin-class>
</tag-plugin>
This is fragile, for example, if the class name changes or if multiple tags
happen to use the same class name. It also means the plugin will not recognize
alternate implementations of the same tag, and cannot be used to adapt
tagfiles.
Instead, the plugin should key off the tag's fully qualified name (TLD URI +
name) such as {http://java.sun.com/jsp/jstl/core, if} for the JSTL <c:if> tag
above.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org