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/03/07 17:06:55 UTC
DO NOT REPLY [Bug 6961] New: -
XSLTC: Using Xerces2.x generates invalid XML.
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: xalan-dev@xml.apache.org
ReportedBy: derek.sayeau@cognos.com
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>