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 18:27:38 UTC

DO NOT REPLY [Bug 17443] New: - Jasper doens't generate an XML declaration as is spec'd under certain conditions.

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=17443>.
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=17443

Jasper doens't generate an XML declaration as is spec'd under certain conditions.

           Summary: Jasper doens't generate an XML declaration as is spec'd
                    under certain conditions.
           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


JSP.5.16 states the following about jsp:output (when omit-xml-declaration is not
specified):

"The default value for a JSP document that has a jsp:root element is 'yes'.  The
default value for JSP documents without a jsp:root element is 'no'.  The default
value for a tag file in XML syntax is always 'yes'"

In the case where the JSP document has a jsp:root element or a tag file in XML
syntax, if the jsp:output element omits the omit-xml-declaration attribute an
xml declaration is not generated.

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