You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/02/28 16:57:05 UTC

DO NOT REPLY [Bug 6760] New: - does not include doctype attribute values in the output

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

<xsl:output> does not include doctype attribute values in the output

           Summary: <xsl:output> does not include doctype attribute values
                    in the output
           Product: XalanJ2
           Version: 2.2.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: jejoseph@patternsolutions.com
                CC: pushkarsrivastava@discoverfinancial.com


I am trying to get a compiled stylesheet to include a DTD in the resulting 
output by providing values for the doctype-system and doctype-public attributes 
for <xsl:output>.  Here's what I am including in my stylesheet:

<xsl:output
   method="xml" 
   media-type="text/vnd.wap.wml"
   omit-xml-declaration="no" indent="yes"
   doctype-public="-//WAPFORUM//DTD WML 1.1//EN"
   doctype-system=""http://www.wapforum.org/DTD/wml_1.1.xml">  

When I run the stylesheet through Xalan without using XSLTC it does generate 
the DOCTYPE reference in the output.  But when using XSLTC the DOCTYPE 
reference is not included in the output.

John