tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27623] - <jsp:include /> in XML view page product too many XML Decl
Date Tue, 16 Mar 2004 02:16:31 GMT
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

kin-man.chung@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From kin-man.chung@sun.com  2004-03-16 02:16 -------
Since the dynamically included page is separate page, the inclusion of an xml
decl is to be expected, since it does not know it will be included.  To do what
 you are doing, JSP 2.0 has just the new action to let you omit such decl for
the page.  See JSP.5.16.  Specifically you'll need to rewrite world.jspx as:

<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:output omit-xml-declaration="true" />
      Hello World
</fo:block>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message