dmarston    2002/06/18 09:30:19

  Added:       test/tests/conferr/copyerr copyerr08.xsl copyerr08.xml
  Log:
  Protective coverage for now-closed bug #9798.
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conferr/copyerr/copyerr08.xsl
  
  Index: copyerr08.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
  
    <!-- FileName: COPYerr08 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 7.5 -->
    <!-- Creator: David Marston -->
    <!-- Purpose: Try to put an illegal attribute on xsl:copy. -->
    <!-- ExpectedException: "select" attribute is not allowed on the xsl:copy element 
-->
  
  <xsl:output method="xml" encoding="UTF-8"/>
  
  <xsl:template match="/">
    <out>
      <xsl:copy select="doc/a"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conferr/copyerr/copyerr08.xml
  
  Index: copyerr08.xml
  ===================================================================
  <?xml version="1.0"?> 
  <doc>
    <a>
      <b c="attrib-on-b"/>
    </a>
  </doc>
  
  

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

Reply via email to