dmarston    02/04/26 07:50:45

  Added:       test/tests/conf/namespace namespace137.xsl namespace137.xml
  Log:
  Test case like namespace47 but with copy-of.
  Exposes a bug, see #8473.
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/namespace/namespace137.xsl
  
  Index: namespace137.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: namespace137 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 7.1.2 Creating Elements -->
    <!-- Creator: Santiago Pericas-Geertsen -->
    <!-- Purpose: Test for resetting of an unspecified default namespace by 
copy-of. -->
  
  <xsl:output method="xml" indent="no" encoding="UTF-8"/>
  
  <xsl:template match = "/">
    <!-- create an RTF with no namespace nodes -->
    <xsl:variable name="x"><hello/></xsl:variable>
    <out>
      <xsl:element name="literalName" namespace="http://literalURI";>
        <xsl:copy-of select="$x"/>
      </xsl:element>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/namespace/namespace137.xml
  
  Index: namespace137.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>x</doc>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to