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 2001/11/16 00:17:09 UTC

DO NOT REPLY [Bug 4906] New: - xsltc ingoring the standalone="no" attribute in output method

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

xsltc ingoring the standalone="no" attribute in output method

           Summary: xsltc ingoring the standalone="no" attribute in output
                    method
           Product: XalanJ2
           Version: CurrentCVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: tom.amiro@sun.com


xsltc fails conf test output66 because it ignores the standalone="no"
attribute on the xsl:output method="xml" standalone="no" instruction.
The xml declaration should have standalone="no" in it.

Running xalan on output66
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<root>Standalone set to no</root>


Running XSLTC with Xerces Parser on output66
<?xml version="1.0" encoding="UTF-8" ?>
<root>Standalone set to no</root>

output66.xsl
------------
<?xml version="1.0"?> 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

  <!-- FileName: outp66 -->
  <!-- Document: http://www.w3.org/TR/xslt -->
  <!-- DocVersion: 19991116 -->
  <!-- Section: 16.1 XML Output Method -->
  <!-- Purpose: Verify standalone attribute set to "no". -->

<xsl:output method="xml" standalone="no"/>

<xsl:template match="doc">
      <root>
        <xsl:value-of select="node"/>
      </root>
</xsl:template>

</xsl:stylesheet>