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/03/06 18:52:44 UTC

cvs commit: xml-xalan/test/tests/conf/output output90.xsl output89.xsl output90.xml output89.xml

dmarston    02/03/06 09:52:43

  Added:       test/tests/conf/output output90.xsl output89.xsl
                        output90.xml output89.xml
  Log:
  Tests for hyphen sequences in xsl:comment that must be
  spaced apart (#6925, #6927, and another for XalanC).
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/output/output90.xsl
  
  Index: output90.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- FileName: output90 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 7.4 Creating Comments -->
    <!-- Creator: David Marston -->
    <!-- Purpose: Check recovery when requested comment string ends with a hyphen -->
    <!-- Discretionary: comment-content-contains-delimiter="add-space" -->
  
  <xsl:output method="xml" encoding="UTF-8"/>
  
  <xsl:template match="/">
    <out>
      <xsl:comment>This needs a space after-</xsl:comment>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/output/output89.xsl
  
  Index: output89.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- FileName: output89 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 7.4 Creating Comments -->
    <!-- Creator: David Marston -->
    <!-- Purpose: Check recovery when requested comment string contains two hyphens together -->
    <!-- Discretionary: comment-content-contains-delimiter="add-space" -->
  
  <xsl:output method="xml" encoding="UTF-8"/>
  
  <xsl:template match="/">
    <out>
      <xsl:comment>This cannot be inserted as--is.</xsl:comment>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/output/output90.xml
  
  Index: output90.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc/>
  
  
  1.1                  xml-xalan/test/tests/conf/output/output89.xml
  
  Index: output89.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc/>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org