Community
Participate
Working Groups
When I place a transform tag inside a JSP page it has an incorrect error message: isValid == false. The JSP page is this: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> </head> <body> <f:view> <c:import var="rssFeed" url="http://slashdot.org/slashdot.rdf" /> <c:import var="rssToHtml" url="/WEB-INF/xslt/rss2html.xsl" /> <x:transform /> </f:view> </body> </html> STEPS TO DUPLICATE: 1) Create a dynamic web project with JSTL 1.2 and JSF 1.2 2) Create a JSF page 3) Add the code between the f:view tags Expected: valid error messgae Actual: error message for transform seems to not tell what attribute is missing like other tags . The same is true for the JSTL Core tag, c:foreach
"isValid == false" is the default error text from javax.servlet.jsp.tagext.TagExtraInfo#validate(TagData). Our validator can only report missing attributes when the TLD specifies one as required--I don't think that's the case here.
Reopening. Our supplied TagLibraryInfo is incomplete.
Reresolving. x:transform requires the "xslt" attribute to validate properly, but doesn't say so in its TLD file. Perhaps a newer version of the tag/tei will generate a usable validation message.