You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by xa...@xml.apache.org on 2004/09/20 21:41:38 UTC

[jira] Commented: (XALANJ-1959) Failure to copy namespace nodes

The following comment has been added to this issue:

     Author: David Bertoni
    Created: Mon, 20 Sep 2004 12:41 PM
       Body:
Xalan-C, Saxon 6.5.2, and MSXSL all produce the OASIS expected output.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XALANJ-1959?page=comments#action_53249

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XALANJ-1959

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XALANJ-1959
    Summary: Failure to copy namespace nodes
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: XalanJ2
 Components: 
             Xalan-interpretive parser
   Versions:
             2.6

   Assignee: 
   Reporter: elharo

    Created: Mon, 20 Sep 2004 12:33 PM
    Updated: Mon, 20 Sep 2004 12:41 PM

Description:
Another OASIS test suite discrepancy. This time libxslt agrres with Xalan, but on reflection I think the test case is correct and Xalan and libxslt are wrong.

The test case is:

xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <!-- Purpose: Test case for bug 70935 -->

    <xsl:output method="xml" encoding="UTF-8" omit-xml-declaration="yes" indent="yes"/>

    <xsl:template match="/">
        <test><xsl:copy-of select="document('')/xsl:stylesheet/namespace::xsl"/></test>
    </xsl:template>

</xsl:stylesheet>


The expected output is:

<test xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
</test>


The actual output is

<test>
</test>

The namespace node has not been copied. 


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org