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 2003/02/26 16:58:45 UTC

DO NOT REPLY [Bug 17438] New: - if omit-xml-decl is set to 'no' or 'false' no xml declaration is generated.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17438>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17438

if omit-xml-decl is set to 'no' or 'false' no xml declaration is generated.

           Summary: if omit-xml-decl is set to 'no' or 'false' no xml
                    declaration is generated.
           Product: Tomcat 5
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Ryan.Lubke@Sun.COM


Consider the following:

<?xml version="1.0"?>
<root xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:output omit-xml-declaration="false" />
</root>

Generates the following:

  <root></root>

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