Hi, I have a jspx file like this:
| <?xml version="1.0"?> | <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" | xmlns:jsp="http://java.sun.com/JSP/Page" | > | <fo:block><fo:inline></fo:block> | <fo:block><![CDATA[<fo:inline>]]></fo:block> | </fo:root> and I try tomcat 5.0.19 & resin 3.0.6, and the output is: | <?xml version="1.0" encoding="UTF-8"?> | <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"><fo:block> | <fo:inline></fo:block><fo:block> | ~~~~~~~~~~~ | <fo:inline></fo:block></fo:root> | ~~~~~~~~~~~ The question is, why do this type docode? I know in XSLT will escaping &, < to "&" "<" to ensures that the output is well-formed XML, and has an attribute "disable-output-escaping" to prevent this escaping, but I have no idea why the jsp processing will docode "<" to < ! what's the advantage of this decode? why make my valid xml file to invalid? another question is about stupid "JSP.6.2.4 JSP Document Validation" why a template engine want do the job xml validator should do? this feature maybe useful in development time, so, is there any way to prevent validate in product? even I want validate the xml, I think I want validate the ouput xml, not the jsp itself? for jsp processing, a well-formed XML file is not enough? how can I add some Entity Declarations in my XML file? Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]