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/10/07 20:20:59 UTC
DO NOT REPLY [Bug 13374] New: -
Redundant xmlns after copy-of
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=13374>.
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=13374
Redundant xmlns after copy-of
Summary: Redundant xmlns after copy-of
Product: XalanJ2
Version: CurrentCVS
Platform: Other
OS/Version: Other
Status: NEW
Severity: Minor
Priority: Other
Component: Xalan
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: grchiu@ca.ibm.com
Redundant namespace nodes after copy-of into an element with similar namespace.
Sample xsl:
<xsl:template match = "/">
<xsl:variable name="x">
<xsl:element name="hello1"/>
<xsl:element name="hello2" namespace="http://literalURI">
<xsl:element name="hiya" namespace=""/>
</xsl:element>
</xsl:variable>
<out>
<xsl:element name="literalName" namespace="http://literalURI">
<xsl:copy-of select="$x"/>
</xsl:element>
</out>
</xsl:template>
Testcase: namespace141