DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39247>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39247 Summary: XSD for jspx and tagx Product: Tomcat 5 Version: Unknown Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Servlet & JSP API AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] a) I was looking for an XSD schema for "XML view" JSP pages, and the only schema I found was jspxml.xsd from http://svn.apache.org/viewcvs.cgi/tomcat/servletapi/servlet2.4-jsp2.0-tc5.x/jsr154/src/share/dtd/ Interestingly, there isn't a schema in the Sun's JSP 2.0 spec jsp-2_0-fr-spec.pdf. http://www.google.ca/search?q=jsp-2_0-fr-spec.pdf+%2Bsite%3Asun.com I removed a couple hitches before I started using jspxml.xsd for validation of my *.jspx pages. i. The definition for the "directive.page/@pageEncoding" attribute value needs to be fixed: -<!ENTITY ValidPageEncoding "&AsciiName;/&AsciiName;"> +<!ENTITY ValidPageEncoding "&AsciiName;"> ii. Then there are spaces sprinkled liberally around the equal signs. I wasn't sure if that affected the validity of the schema itself. iii. I couldn't find a definition for the "output" element. It should be allowed according to the JSP 2.0 spec: JSP.6.3.3 The jsp:output Element The jsp:output element can be used in JSP documents and in tag files in XML syntax. b) There isn't an "attribute" element definition for JSP tag files in XML syntax (JSP.8.6). The spec doesn't enforce even a root element for tag files in XML view. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]