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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to