You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by cu...@apache.org on 2001/01/19 22:09:44 UTC

cvs commit: xml-xalan/test/tests/api/xalanj1 ProblemListenerTest1.xml ProblemListenerTest1.xsl

curcuru     01/01/19 13:09:44

  Added:       test/tests/api/xalanj1 ProblemListenerTest1.xml
                        ProblemListenerTest1.xsl
  Log:
  Stylesheet tests for ProblemListenerTest
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/api/xalanj1/ProblemListenerTest1.xml
  
  Index: ProblemListenerTest1.xml
  ===================================================================
  <?xml version="1.0"?> 
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/api/xalanj1/ProblemListenerTest1.xsl
  
  Index: ProblemListenerTest1.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- FileName: MESSAGEerr01 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 13 Messages -->
    <!-- Creator: David Marston -->
    <!-- Purpose: Put xsl:message at top level, which is illegal. -->
    <!-- ExpectedException: (StylesheetHandler) xsl:message not allowed inside a stylesheet! -->
    <!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: (StylesheetHandler) xsl:message not allowed inside a stylesheet! -->
  
  <xsl:message terminate="no">This should not appear</xsl:message>
  
  <xsl:template match="/">
   <out>This should fail</out>
  </xsl:template>
  
  </xsl:stylesheet>