You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Eric Suen <er...@hotmail.com> on 2004/03/11 14:34:57 UTC

the problem of in XML view page(tomcat 5.0.19)

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, is this a bug?

Regards

Eric




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