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

XSLTC: Using Xerces2.x generates invalid XML.

           Summary: XSLTC: Using Xerces2.x generates invalid XML.
           Product: XalanJ2
           Version: 2.3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Using Xerces2.x XSLTC generates invalid attributes (namespace related).  This 
doesn't happen with the latest Xerces1.x release.

Example stylesheet:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
        <xsl:output method="xml" version="1.0" encoding="UTF-8" omit-xml-
declaration="yes"/>
        <xsl:template match="/root">
                <root>
                        <xsl:copy-of select="node()"/>
                </root>
        </xsl:template>
</xsl:stylesheet>


Input doc:
<root>
  <passport>
    <bus:CAM xmlns:bus="http://x"/>
  </passport>
</root>

Output:
<root><passport><bus:CAM xmlns:bus="http://x"; ="http://x"/></passport></root>

Reply via email to