From 12bf5ac15669574ba765cfff6566082249aaaf0d Mon Sep 17 00:00:00 2001 From: David Lichteblau Date: Mon, 24 Mar 2008 15:32:34 +0100 Subject: [PATCH] Test suite: Check doctypes --- TEST | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++------ test.lisp | 11 ++++++++-- 2 files changed, 75 insertions(+), 9 deletions(-) diff --git a/TEST b/TEST index ead137b..1ceb525 100644 --- a/TEST +++ b/TEST @@ -6265,7 +6265,7 @@ PASS output_output12 [XSLT-Result-Tree] Expected output (1): Xalan_Conformance_Tests/output/output_output12.saxon Actual output: Xalan_Conformance_Tests/output/output_output12.xuriella -PASS output_output13 [XSLT-Result-Tree] +FAIL output_output13 [XSLT-Result-Tree]: output doesn't match Stylesheet: Xalan_Conformance_Tests/output/output13.noindent-xsl Data: Xalan_Conformance_Tests/output/output13.xml Expected output (1): Xalan_Conformance_Tests/output/output_output13.saxon @@ -6277,7 +6277,7 @@ PASS output_output14 [XSLT-Result-Tree] Expected output (1): Xalan_Conformance_Tests/output/output_output14.saxon Actual output: Xalan_Conformance_Tests/output/output_output14.xuriella -PASS output_output15 [XSLT-Result-Tree] +FAIL output_output15 [XSLT-Result-Tree]: output doesn't match Stylesheet: Xalan_Conformance_Tests/output/output15.noindent-xsl Data: Xalan_Conformance_Tests/output/output15.xml Expected output (1): Xalan_Conformance_Tests/output/output_output15.saxon @@ -6305,6 +6305,8 @@ WARNING: There is no such encoding: "US-ASCII". WARNING: There is no such encoding: "US-ASCII". WARNING: There is no such encoding: "US-ASCII". WARNING: There is no such encoding: "US-ASCII". +WARNING: There is no such encoding: "US-ASCII". +WARNING: There is no such encoding: "US-ASCII". PASS output_output19 [XSLT-Result-Tree] Stylesheet: Xalan_Conformance_Tests/output/output19.noindent-xsl Data: Xalan_Conformance_Tests/output/output19.xml @@ -6315,6 +6317,8 @@ WARNING: There is no such encoding: "SHIFT_JIS". WARNING: There is no such encoding: "SHIFT_JIS". WARNING: There is no such encoding: "SHIFT_JIS". WARNING: There is no such encoding: "SHIFT_JIS". +WARNING: There is no such encoding: "SHIFT_JIS". +WARNING: There is no such encoding: "SHIFT_JIS". PASS output_output20 [XSLT-Result-Tree] Stylesheet: Xalan_Conformance_Tests/output/output20.noindent-xsl Data: Xalan_Conformance_Tests/output/output20.xml @@ -6325,6 +6329,8 @@ WARNING: There is no such encoding: "BIG5". WARNING: There is no such encoding: "BIG5". WARNING: There is no such encoding: "BIG5". WARNING: There is no such encoding: "BIG5". +WARNING: There is no such encoding: "BIG5". +WARNING: There is no such encoding: "BIG5". PASS output_output21 [XSLT-Result-Tree] Stylesheet: Xalan_Conformance_Tests/output/output21.noindent-xsl Data: Xalan_Conformance_Tests/output/output21.xml @@ -6343,6 +6349,8 @@ WARNING: There is no such encoding: "ISO-2022-JP". WARNING: There is no such encoding: "ISO-2022-JP". WARNING: There is no such encoding: "ISO-2022-JP". WARNING: There is no such encoding: "ISO-2022-JP". +WARNING: There is no such encoding: "ISO-2022-JP". +WARNING: There is no such encoding: "ISO-2022-JP". PASS output_output23 [XSLT-Result-Tree] Stylesheet: Xalan_Conformance_Tests/output/output23.noindent-xsl Data: Xalan_Conformance_Tests/output/output23.xml @@ -6371,6 +6379,8 @@ WARNING: There is no such encoding: "US-ASCII". WARNING: There is no such encoding: "US-ASCII". WARNING: There is no such encoding: "US-ASCII". WARNING: There is no such encoding: "US-ASCII". +WARNING: There is no such encoding: "US-ASCII". +WARNING: There is no such encoding: "US-ASCII". PASS output_output28 [XSLT-Result-Tree] Stylesheet: Xalan_Conformance_Tests/output/output28.noindent-xsl Data: Xalan_Conformance_Tests/output/output28.xml @@ -6591,13 +6601,13 @@ PASS output_output63 [XSLT-Result-Tree] Expected output (1): Xalan_Conformance_Tests/output/output_output63.saxon Actual output: Xalan_Conformance_Tests/output/output_output63.xuriella -PASS output_output64 [XSLT-Result-Tree] +FAIL output_output64 [XSLT-Result-Tree]: output doesn't match Stylesheet: Xalan_Conformance_Tests/output/output64.noindent-xsl Data: Xalan_Conformance_Tests/output/output64.xml Expected output (1): Xalan_Conformance_Tests/output/output_output64.saxon Actual output: Xalan_Conformance_Tests/output/output_output64.xuriella -PASS output_output65 [XSLT-Result-Tree] +FAIL output_output65 [XSLT-Result-Tree]: output doesn't match Stylesheet: Xalan_Conformance_Tests/output/output65.noindent-xsl Data: Xalan_Conformance_Tests/output/output65.xml Expected output (1): Xalan_Conformance_Tests/output/output_output65.saxon @@ -6686,6 +6696,8 @@ WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS output_output80 [XSLT-Result-Tree] Stylesheet: Xalan_Conformance_Tests/output/output80.noindent-xsl Data: Xalan_Conformance_Tests/output/output80.xml @@ -6698,7 +6710,7 @@ PASS output_output81 [XSLT-Result-Tree] Expected output (1): Xalan_Conformance_Tests/output/output_output81.saxon Actual output: Xalan_Conformance_Tests/output/output_output81.xuriella -PASS output_output82 [XSLT-Result-Tree] +FAIL output_output82 [XSLT-Result-Tree]: output doesn't match Stylesheet: Xalan_Conformance_Tests/output/output82.noindent-xsl Data: Xalan_Conformance_Tests/output/output82.xml Expected output (1): Xalan_Conformance_Tests/output/output_output82.saxon @@ -10580,6 +10592,7 @@ PASS Attributes_Attribute_WhitespaceInUseAttributeSets [XSLT-Result-Tree] WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS Attributes_EmptyStringInUseAttribSets [XSLT-Result-Tree] Stylesheet: MSFT_Conformance_Tests/Attributes/xslt_empty_name_in_use_attribute_sets.noindent-xsl Data: MSFT_Conformance_Tests/Attributes/foo.xml @@ -10612,6 +10625,7 @@ FAIL AttributeSets__91036 [XSLT-Result-Tree]: expected error not signalled: WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS AttributeSets__91037 [XSLT-Result-Tree] Stylesheet: MSFT_Conformance_Tests/AttributeSets/91037.noindent-xsl Data: MSFT_Conformance_Tests/AttributeSets/books.xml @@ -10626,6 +10640,7 @@ FAIL AttributeSets__91038 [XSLT-Result-Tree]: saxon error not signalled and offi WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS AttributeSets__91042 [XSLT-Result-Tree] Stylesheet: MSFT_Conformance_Tests/AttributeSets/91042.noindent-xsl Data: MSFT_Conformance_Tests/AttributeSets/books.xml @@ -10634,6 +10649,7 @@ PASS AttributeSets__91042 [XSLT-Result-Tree] WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS AttributeSets__91043 [XSLT-Result-Tree] Stylesheet: MSFT_Conformance_Tests/AttributeSets/91043.noindent-xsl Data: MSFT_Conformance_Tests/AttributeSets/books.xml @@ -10642,6 +10658,7 @@ PASS AttributeSets__91043 [XSLT-Result-Tree] WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS AttributeSets__91045 [XSLT-Result-Tree] Stylesheet: MSFT_Conformance_Tests/AttributeSets/91045.noindent-xsl Data: MSFT_Conformance_Tests/AttributeSets/books.xml @@ -10650,6 +10667,7 @@ PASS AttributeSets__91045 [XSLT-Result-Tree] WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS AttributeSets__91046 [XSLT-Result-Tree] Stylesheet: MSFT_Conformance_Tests/AttributeSets/91046.noindent-xsl Data: MSFT_Conformance_Tests/AttributeSets/books.xml @@ -10658,6 +10676,7 @@ PASS AttributeSets__91046 [XSLT-Result-Tree] WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS AttributeSets__91077 [XSLT-Result-Tree] Stylesheet: MSFT_Conformance_Tests/AttributeSets/91077.noindent-xsl Data: MSFT_Conformance_Tests/AttributeSets/books.xml @@ -10666,6 +10685,7 @@ PASS AttributeSets__91077 [XSLT-Result-Tree] WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS AttributeSets__91078 [XSLT-Result-Tree] Stylesheet: MSFT_Conformance_Tests/AttributeSets/91078.noindent-xsl Data: MSFT_Conformance_Tests/AttributeSets/books.xml @@ -10692,6 +10712,7 @@ FAIL AttributeSets__91083 [XSLT-Result-Tree]: saxon error not signalled and offi WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS AttributeSets__91084 [XSLT-Result-Tree] Stylesheet: MSFT_Conformance_Tests/AttributeSets/91084.noindent-xsl Data: MSFT_Conformance_Tests/AttributeSets/books.xml @@ -10700,6 +10721,7 @@ PASS AttributeSets__91084 [XSLT-Result-Tree] WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS AttributeSets__91085 [XSLT-Result-Tree] Stylesheet: MSFT_Conformance_Tests/AttributeSets/91085.noindent-xsl Data: MSFT_Conformance_Tests/AttributeSets/books.xml @@ -10771,6 +10793,7 @@ FAIL AttributeSets__91101 [XSLT-Result-Tree]: expected error not signalled: WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS AttributeSets__91119 [XSLT-Result-Tree] Stylesheet: MSFT_Conformance_Tests/AttributeSets/91119.noindent-xsl Data: MSFT_Conformance_Tests/AttributeSets/books.xml @@ -12841,7 +12864,7 @@ PASS BVTs_bvt065 [Mixed] Expected output (1): MSFT_Conformance_Tests/BVTs/BVTs_bvt065.saxon Actual output: MSFT_Conformance_Tests/BVTs/BVTs_bvt065.xuriella -PASS BVTs_bvt066 [Mixed] +FAIL BVTs_bvt066 [Mixed]: output doesn't match Stylesheet: MSFT_Conformance_Tests/BVTs/out-default3.noindent-xsl Data: MSFT_Conformance_Tests/BVTs/data.xml Expected output (1): MSFT_Conformance_Tests/BVTs/BVTs_bvt066.saxon @@ -13530,6 +13553,7 @@ PASS Copying__84389 [XSLT-Result-Tree] WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS Copying_Copy-of_CopyOfFromDocumentRoot [XSLT-Result-Tree] Stylesheet: MSFT_Conformance_Tests/Copying/xslt_copyof_CopyOfRootXmlDocToOutput.noindent-xsl Data: MSFT_Conformance_Tests/Copying/xslt_copyof_CopyOfRootXmlDocToOutput.xml @@ -18480,6 +18504,8 @@ PASS Number__84699 [XSLT-Result-Tree] WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". FAIL Number__84700 [XSLT-Result-Tree]: output doesn't match @@ -18496,6 +18522,8 @@ PASS Number__84702 [XSLT-Result-Tree]: raised an xslt-error as expected WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". FAIL Number__84705 [XSLT-Result-Tree]: output doesn't match @@ -18512,6 +18540,8 @@ FAIL Number__84706 [XSLT-Result-Tree]: expected error not signalled: WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". FAIL Number__84714 [XSLT-Result-Tree]: output doesn't match @@ -18528,6 +18558,8 @@ FAIL Number__84715 [XSLT-Result-Tree]: not an NCName: ??????? WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". FAIL Number__84716 [XSLT-Result-Tree]: output doesn't match @@ -18538,6 +18570,8 @@ FAIL Number__84716 [XSLT-Result-Tree]: output doesn't match WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". FAIL Number__84717 [XSLT-Result-Tree]: output doesn't match @@ -18548,6 +18582,8 @@ FAIL Number__84717 [XSLT-Result-Tree]: output doesn't match WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". FAIL Number__84719 [XSLT-Result-Tree]: output doesn't match @@ -18566,6 +18602,8 @@ WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". FAIL Number__84722 [XSLT-Result-Tree]: output doesn't match Stylesheet: MSFT_Conformance_Tests/Number/84722.noindent-xsl Data: MSFT_Conformance_Tests/Number/84722.xml @@ -18574,6 +18612,8 @@ FAIL Number__84722 [XSLT-Result-Tree]: output doesn't match WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". FAIL Number__84723 [XSLT-Result-Tree]: output doesn't match @@ -18584,6 +18624,8 @@ FAIL Number__84723 [XSLT-Result-Tree]: output doesn't match WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". FAIL Number__84724 [XSLT-Result-Tree]: output doesn't match @@ -18594,6 +18636,8 @@ FAIL Number__84724 [XSLT-Result-Tree]: output doesn't match WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". FAIL Number__84725 [XSLT-Result-Tree]: output doesn't match @@ -18604,6 +18648,8 @@ FAIL Number__84725 [XSLT-Result-Tree]: output doesn't match WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". FAIL Number__84726 [XSLT-Result-Tree]: output doesn't match @@ -18790,6 +18836,8 @@ PASS Number__91022 [XSLT-Result-Tree] WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". FAIL Number__91026 [XSLT-Result-Tree]: output doesn't match @@ -18962,6 +19010,7 @@ PASS Output__77935 [XSLT-Output]: raised an xslt-error as expected WARNING: There is no such encoding: "utf-16". WARNING: There is no such encoding: "utf-16". +WARNING: There is no such encoding: "utf-16". PASS Output__77936 [XSLT-Output] Stylesheet: MSFT_Conformance_Tests/Output/xslt29304.noindent-xsl Data: MSFT_Conformance_Tests/Output/testdata.xml @@ -18982,6 +19031,7 @@ FAIL Output__77938 [XSLT-Output]: expected error not signalled: WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS Output__77939 [XSLT-Output] Stylesheet: MSFT_Conformance_Tests/Output/xslt29402.noindent-xsl Data: MSFT_Conformance_Tests/Output/testdata.xml @@ -18990,6 +19040,7 @@ PASS Output__77939 [XSLT-Output] WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS Output__77940 [XSLT-Output] Stylesheet: MSFT_Conformance_Tests/Output/xslt29401.noindent-xsl Data: MSFT_Conformance_Tests/Output/testdata.xml @@ -19041,6 +19092,7 @@ PASS Output__78180 [XSLT-Output] WARNING: There is no such encoding: "unicode". WARNING: There is no such encoding: "unicode". +WARNING: There is no such encoding: "unicode". PASS Output__78182 [XSLT-Output] Stylesheet: MSFT_Conformance_Tests/Output/xslt29007.noindent-xsl Data: MSFT_Conformance_Tests/Output/testdata.xml @@ -19049,6 +19101,7 @@ PASS Output__78182 [XSLT-Output] WARNING: There is no such encoding: "unicode". WARNING: There is no such encoding: "unicode". +WARNING: There is no such encoding: "unicode". PASS Output__78183 [XSLT-Output] Stylesheet: MSFT_Conformance_Tests/Output/xslt29008.noindent-xsl Data: MSFT_Conformance_Tests/Output/testdata.xml @@ -19768,6 +19821,7 @@ PASS Output__84462 [XSLT-Output] WARNING: There is no such encoding: "unicode". WARNING: There is no such encoding: "unicode". +WARNING: There is no such encoding: "unicode". PASS Output__84480 [XSLT-Output] Stylesheet: MSFT_Conformance_Tests/Output/84480.noindent-xsl Data: MSFT_Conformance_Tests/Output/84480.xml @@ -21284,6 +21338,7 @@ PASS Text_ReservedCharsInAttribute [XSLT-Result-Tree] WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS Text_Text_ConvCdataLitResult [XSLT-Result-Tree] Stylesheet: MSFT_Conformance_Tests/Text/xslt_text_ConvCdataLitResult.noindent-xsl Data: MSFT_Conformance_Tests/Text/xslt_text_ConvCdata.xml @@ -21292,6 +21347,7 @@ PASS Text_Text_ConvCdataLitResult [XSLT-Result-Tree] WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS Text_Text_ConvCdataLitResultSpacesOnly [XSLT-Result-Tree] Stylesheet: MSFT_Conformance_Tests/Text/xslt_text_ConvCdataLitSpace.noindent-xsl Data: MSFT_Conformance_Tests/Text/xslt_text_ConvCdata.xml @@ -21300,6 +21356,7 @@ PASS Text_Text_ConvCdataLitResultSpacesOnly [XSLT-Result-Tree] WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS Text_Text_ConvCdataLitResultTextOnly [XSLT-Result-Tree] Stylesheet: MSFT_Conformance_Tests/Text/xslt_text_ConvCdataLitText.noindent-xsl Data: MSFT_Conformance_Tests/Text/xslt_text_ConvCdata.xml @@ -21788,6 +21845,7 @@ PASS Variables_VarDefinedEqualToAnotherVarNotYetDefined [XPath-Data-Model]: rais WARNING: There is no such encoding: "UTF-16". WARNING: There is no such encoding: "UTF-16". +WARNING: There is no such encoding: "UTF-16". PASS Variables_VariableAssignmentAfterIteration [XPath-Data-Model] Stylesheet: MSFT_Conformance_Tests/Variables/xslt_variable_VariableAssignmentInIteration.noindent-xsl Data: MSFT_Conformance_Tests/Variables/xslt_variable_VariableAssignmentInIteration.xml @@ -22521,6 +22579,7 @@ PASS XSLTFunctions_KeyFuncTestDescendantsNodeset [Mixed] WARNING: There is no such encoding: "IBM437". WARNING: There is no such encoding: "IBM437". +WARNING: There is no such encoding: "IBM437". PASS XSLTFunctions_LastFuncAppliedToNodesetBoundToVariable [Mixed] Stylesheet: MSFT_Conformance_Tests/XSLTFunctions/xslt_functions_last_function.noindent-xsl Data: MSFT_Conformance_Tests/XSLTFunctions/data.xml @@ -22595,4 +22654,4 @@ PASS XSLTFunctions_DocumentFuncWithEmptyArg [Mixed] Expected output (1): MSFT_Conformance_Tests/XSLTFunctions/XSLTFunctions_DocumentFuncWithEmptyArg.saxon Actual output: MSFT_Conformance_Tests/XSLTFunctions/XSLTFunctions_DocumentFuncWithEmptyArg.xuriella -Passed 2672/3078 tests. +Passed 2666/3078 tests. diff --git a/test.lisp b/test.lisp index f39ffff..9e74a49 100644 --- a/test.lisp +++ b/test.lisp @@ -528,7 +528,9 @@ (cxml::main-zstream cxml::context)) (:seen-< #\<) (:? #\?) - ((nil :s) nil)))) + ((nil :s) + (setf prev-pos (runes:xstream-position xstream)) + nil)))) (off-by-one-p (or seen-char (eq junk-info :nada))) (new-pos (- prev-pos (if off-by-one-p 1 0)))) ;; copy doctype over @@ -627,7 +629,12 @@ (s (parse-for-comparison q))) (maybe-normalize-test-spaces (stp:document-element r) normalize) (maybe-normalize-test-spaces (stp:document-element s) normalize) - (node= (stp:document-element r) (stp:document-element s)))) + (and (let ((u (stp:document-type r)) + (v (stp:document-type s))) + (if u + (and v (node= u v)) + (null v))) + (node= (stp:document-element r) (stp:document-element s))))) ;; FIXME: don't do this in
 etc.
 (defun normalize-html-whitespace (node)
-- 
2.11.4.GIT