dmarston    01/11/28 11:49:50

  Added:       test/tests/conf/copy copy50.xsl copy50.xml
  Log:
  Test case inspired by a bug report.
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/copy/copy50.xsl
  
  Index: copy50.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: COPY50 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 11.3 -->
    <!-- Creator: Joerg Heinicke ([EMAIL PROTECTED]) -->
    <!-- Purpose: Attribute encountered before first copied node must not be 
copied. -->
    <!-- Discretionary: add-attribute-to-non-element="ignore" -->
  
  <xsl:output method="xml" encoding="UTF-8"/>
  
  <xsl:template match="test">
    <xsl:copy-of select="*|@*"/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/copy/copy50.xml
  
  Index: copy50.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <test test="test">
    <test2 test2="test2">
      <test3 test3="test3"/>
    </test2>
  </test>
  
  

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

Reply via email to