Fixes for new docbook tests (to pass catalog validation tests)
authordlockett <debbie@saxonica.com>
Fri, 20 Jul 2018 13:02:15 +0100
changeset 1872 3751c3d903b1
parent 1871 0d7595763032
child 1873 e8c8363b23bc
Fixes for new docbook tests (to pass catalog validation tests)
tests/misc/docbook/_docbook-test-set.xml
tests/type/date/_date-test-set.xml
--- a/tests/misc/docbook/_docbook-test-set.xml	Thu Jul 19 12:44:25 2018 +0100
+++ b/tests/misc/docbook/_docbook-test-set.xml	Fri Jul 20 13:02:15 2018 +0100
@@ -1,18 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <test-set xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns="http://www.w3.org/2012/10/xslt-test-catalog"
-          name="number">
+          name="docbook">
    
    <description>Tests using the docbook stylesheets</description>
  
    <test-case name="docbook-001">
       <description>Transform a docbook article to XHTML</description>
       <created by="Michael Kay" on="2018-08-18"/>
+      <modified by="Debbie Lockett" on="2018-08-20" change="add backwards compatibility dependency"/>
       <environment>
          <source role="." file="prague2016mhk.xml"/>
       </environment>
       <dependencies>
          <spec value="XSLT10+"/>
+         <feature value="backwards_compatibility"/>
       </dependencies>
       <test>
          <stylesheet file="docbook-xsl-1.79.1/xhtml5/docbook.xsl"/>
@@ -29,11 +31,13 @@
    <test-case name="docbook-002">
       <description>Transform a docbook article to XSL-FO</description>
       <created by="Michael Kay" on="2018-08-18"/>
+      <modified by="Debbie Lockett" on="2018-08-20" change="add backwards compatibility dependency"/>
       <environment>
          <source role="." file="prague2016mhk.xml"/>
       </environment>
       <dependencies>
          <spec value="XSLT10+"/>
+         <feature value="backwards_compatibility"/>
       </dependencies>
       <test>
          <stylesheet file="docbook-xsl-1.79.1/fo/docbook.xsl"/>
--- a/tests/type/date/_date-test-set.xml	Thu Jul 19 12:44:25 2018 +0100
+++ b/tests/type/date/_date-test-set.xml	Fri Jul 20 13:02:15 2018 +0100
@@ -2205,6 +2205,74 @@
       </result>
    </test-case>
    
+   <!--<test-case name="date-101">
+      <description>test xs:dateTime comparison with dateTimeStamp </description>
+      <created by="Debbie Lockett" on="2017-07-19"/>
+      <environment ref="date002"/>
+      <dependencies>
+         <spec value="XSLT30+"/>
+         <feature value="XSD_1.1"/>
+      </dependencies>
+      <test>
+         <stylesheet file="date-101.xsl"/>
+         <param name="d" select="'2000-01-01T12:00:00Z'"/>
+      </test>
+      <result>
+         <assert-xml><![CDATA[<out>2000-01-01T12:00:00Z</out>]]></assert-xml>
+      </result>
+   </test-case>
+   
+   <test-case name="date-102">
+      <description>test xs:dateTime comparison with dateTimeStamp </description>
+      <created by="Debbie Lockett" on="2017-07-19"/>
+      <environment ref="date002"/>
+      <dependencies>
+         <spec value="XSLT30+"/>
+         <feature value="XSD_1.1"/>
+      </dependencies>
+      <test>
+         <stylesheet file="date-102.xsl"/>
+         <param name="d" select="'1996-12-12T13:13:00Z'"/>
+      </test>
+      <result>
+         <assert-xml><![CDATA[<out><a>true</a><b>true</b></out>]]></assert-xml>
+      </result>
+   </test-case>
+   
+   <test-case name="date-103">
+      <description>test xs:dateTime casting to dateTimeStamp </description>
+      <created by="Debbie Lockett" on="2017-07-19"/>
+      <environment ref="date002"/>
+      <dependencies>
+         <spec value="XSLT30+"/>
+         <feature value="XSD_1.1"/>
+      </dependencies>
+      <test>
+         <stylesheet file="date-103.xsl"/>
+         <param name="d" select="'1996-12-12T13:13:00Z'"/>
+      </test>
+      <result>
+         <assert-xml><![CDATA[<out><a>true</a><b>true</b></out>]]></assert-xml>
+      </result>
+   </test-case>
+   
+   <test-case name="date-104">
+      <description>test xs:dateTime casting to dateTimeStamp - must have timezone</description>
+      <created by="Debbie Lockett" on="2017-07-19"/>
+      <environment ref="date002"/>
+      <dependencies>
+         <spec value="XSLT30+"/>
+         <feature value="XSD_1.1"/>
+      </dependencies>
+      <test>
+         <stylesheet file="date-104.xsl"/>
+         <param name="d" select="'1996-12-12T13:13:00Z'"/>
+      </test>
+      <result>
+         <error code="FORG0001"/>
+      </result>
+   </test-case>-->
+   
 
 
 </test-set>