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 2004/03/12 09:45:44 UTC
DO NOT REPLY [Bug 27623] New: -
in XML view page product too many XML Decl
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=27623>.
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=27623
<jsp:include /> in XML view page product too many XML Decl
Summary: <jsp:include /> in XML view page product too many XML
Decl
Product: Tomcat 5
Version: 5.0.19
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: Other
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: eric_suen_cn@hotmail.com
I have two file hello.jspx & world.jspx like:
hello.jspx:
| <?xml version="1.0"?>
| <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
| xmlns:jsp="http://java.sun.com/JSP/Page">
| <jsp:include page="world.jspx"/>
| </fo:root>
world.jspx:
| <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
| Hello World
| </fo:block>
and the result is:
| <?xml version="1.0" encoding="UTF-8"?>
| <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
| <?xml version="1.0" encoding="UTF-8"?>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
| Hello World</fo:block></fo:root>
and tomcat product too much XML decl.
My env: Windows XP, jdk1.4.2_04, tomcat 5.0.19
Regards
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org