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=27767>. 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=27767 Bugs about jsp XML syntax and CDATA ? Summary: Bugs about jsp XML syntax and CDATA ? Product: Tomcat 5 Version: 5.0.19 Platform: Other OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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, is this the bugs of jsp engine, or the spec need to do this type decoding? How can I get "<![CDATA[...]]>" as output? and how to prevent engine decode "<" to "<", use "&"? seems the engine make the simple things complicated? Should this decode only happend when context in <jsp:text> element? I have post this at tomcat user list and sun jsp forum, but get no answer, so, I assume this is a bug. Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]