You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dm...@apache.org on 2002/06/18 18:30:20 UTC

cvs commit: xml-xalan/test/tests/conferr/copyerr copyerr08.xsl copyerr08.xml

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: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org