dmarston    01/08/03 07:57:23

  Added:       test/tests/conf/attribset/err attribseterr08.xsl
                        attribseterr08.xml
  Log:
  New error cases: premature attribute
  
  Revision  Changes    Path
  1.1                  
xml-xalan/test/tests/conf/attribset/err/attribseterr08.xsl
  
  Index: attribseterr08.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: attribseterr08 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 7.1.3 -->
    <!-- Creator: David Marston -->
    <!-- ExpectedException: Attempt to write an attribute with no element -->
    <!-- Purpose: Try to create an attribute before there is any element 
produced. -->
  
  <xsl:output method="xml" encoding="UTF-8"/>
  
  <xsl:template match="/">
    <xsl:attribute name="baaad"><xsl:value-of 
select="doc/@top"/></xsl:attribute>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  
xml-xalan/test/tests/conf/attribset/err/attribseterr08.xml
  
  Index: attribseterr08.xml
  ===================================================================
  <?xml version="1.0"?> 
  <doc top="gotcha"></doc>
  
  

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

Reply via email to