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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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

Reply via email to