From 0ffc2d82b5f733d5931515c3480c54b7621a1b8d Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Sun, 30 Apr 2023 20:28:47 +0200 Subject: runtest: Skip element name in schema error messages This makes sure that memory and streaming tests will report the same messages. --- result/schemas/579746_0_3.err | 2 +- result/schemas/579746_0_5.err | 2 +- result/schemas/579746_1_3.err | 2 +- result/schemas/579746_1_5.err | 2 +- result/schemas/all_0_3.err | 2 +- result/schemas/all_0_4.err | 2 +- result/schemas/all_0_5.err | 2 +- result/schemas/all_0_6.err | 2 +- result/schemas/all_0_7.err | 2 +- result/schemas/all_1_3.err | 2 +- result/schemas/all_1_5.err | 2 +- result/schemas/all_1_6.err | 2 +- result/schemas/all_1_7.err | 2 +- result/schemas/all_2_0.err | 2 +- result/schemas/all_2_1.err | 2 +- result/schemas/all_2_2.err | 2 +- result/schemas/all_2_4.err | 2 +- result/schemas/all_2_5.err | 2 +- result/schemas/allsg_0_3.err | 2 +- result/schemas/allsg_0_4.err | 2 +- result/schemas/allsg_0_5.err | 2 +- result/schemas/any3_0_0.err | 2 +- result/schemas/any5_0_0.err | 2 +- result/schemas/any5_0_1.err | 2 +- result/schemas/any5_0_2.err | 2 +- result/schemas/any5_0_4.err | 2 +- result/schemas/any5_0_5.err | 2 +- result/schemas/any5_0_6.err | 2 +- result/schemas/any5_1_0.err | 2 +- result/schemas/any5_1_1.err | 2 +- result/schemas/any5_1_3.err | 2 +- result/schemas/any5_1_4.err | 2 +- result/schemas/any5_1_6.err | 2 +- result/schemas/any7_1_0.err | 2 +- result/schemas/any7_1_1.err | 2 +- result/schemas/any7_2_0.err | 2 +- result/schemas/any7_2_1.err | 2 +- result/schemas/anyAttr-processContents-err1_0_0.err | 4 ++-- result/schemas/attruse_0_1.err | 2 +- result/schemas/attruse_0_2.err | 2 +- result/schemas/bug323510_1_0.err | 2 +- result/schemas/changelog093_1_0.err | 2 +- result/schemas/choice_0_2.err | 2 +- result/schemas/choice_0_3.err | 2 +- result/schemas/choice_0_4.err | 2 +- result/schemas/choice_0_5.err | 2 +- result/schemas/choice_0_6.err | 2 +- result/schemas/choice_1_2.err | 2 +- result/schemas/choice_1_3.err | 2 +- result/schemas/choice_1_5.err | 2 +- result/schemas/choice_1_6.err | 2 +- result/schemas/choice_2_4.err | 2 +- result/schemas/choice_2_6.err | 2 +- result/schemas/cos-st-restricts-1-2-err_0_0.err | 4 ++-- result/schemas/decimal-1_1_0.err | 16 ++++++++-------- result/schemas/decimal-2_1_0.err | 4 ++-- result/schemas/decimal-3_1_0.err | 8 ++++---- result/schemas/extension1_0_1.err | 2 +- result/schemas/extension1_0_2.err | 2 +- result/schemas/facet-unionST-err1_0_0.err | 2 +- result/schemas/hexbinary_0_1.err | 14 +++++++------- result/schemas/list0_0_1.err | 2 +- result/schemas/list0_1_0.err | 2 +- result/schemas/list0_1_1.err | 2 +- result/schemas/ns0_0_2.err | 2 +- result/schemas/ns0_0_3.err | 2 +- result/schemas/ns0_0_4.err | 2 +- result/schemas/ns0_1_0.err | 2 +- result/schemas/ns0_1_1.err | 2 +- result/schemas/ns0_1_2.err | 2 +- result/schemas/restriction-enum-1_1_0.err | 2 +- result/schemas/union2_1_1.err | 2 +- result/schemas/vdv-first4_0_1.err | 2 +- result/schemas/vdv-first4_0_2.err | 2 +- runtest.c | 6 +++++- 75 files changed, 98 insertions(+), 94 deletions(-) diff --git a/result/schemas/579746_0_3.err b/result/schemas/579746_0_3.err index 5e4c25ea..5b544ba6 100644 --- a/result/schemas/579746_0_3.err +++ b/result/schemas/579746_0_3.err @@ -1 +1 @@ -./test/schemas/579746_3.xml:5: element customer: Schemas validity error : Element 'customer': This element is not expected. +./test/schemas/579746_3.xml:5: Schemas validity error : Element 'customer': This element is not expected. diff --git a/result/schemas/579746_0_5.err b/result/schemas/579746_0_5.err index 1e5680d1..e71f94bb 100644 --- a/result/schemas/579746_0_5.err +++ b/result/schemas/579746_0_5.err @@ -1 +1 @@ -./test/schemas/579746_5.xml:5: element comment: Schemas validity error : Element 'comment': This element is not expected. +./test/schemas/579746_5.xml:5: Schemas validity error : Element 'comment': This element is not expected. diff --git a/result/schemas/579746_1_3.err b/result/schemas/579746_1_3.err index 5e4c25ea..5b544ba6 100644 --- a/result/schemas/579746_1_3.err +++ b/result/schemas/579746_1_3.err @@ -1 +1 @@ -./test/schemas/579746_3.xml:5: element customer: Schemas validity error : Element 'customer': This element is not expected. +./test/schemas/579746_3.xml:5: Schemas validity error : Element 'customer': This element is not expected. diff --git a/result/schemas/579746_1_5.err b/result/schemas/579746_1_5.err index 1e5680d1..e71f94bb 100644 --- a/result/schemas/579746_1_5.err +++ b/result/schemas/579746_1_5.err @@ -1 +1 @@ -./test/schemas/579746_5.xml:5: element comment: Schemas validity error : Element 'comment': This element is not expected. +./test/schemas/579746_5.xml:5: Schemas validity error : Element 'comment': This element is not expected. diff --git a/result/schemas/all_0_3.err b/result/schemas/all_0_3.err index 6933fb7b..1d422a5f 100644 --- a/result/schemas/all_0_3.err +++ b/result/schemas/all_0_3.err @@ -1 +1 @@ -./test/schemas/all_3.xml:1: element doc: Schemas validity error : Element 'doc': Missing child element(s). Expected is ( c ). +./test/schemas/all_3.xml:1: Schemas validity error : Element 'doc': Missing child element(s). Expected is ( c ). diff --git a/result/schemas/all_0_4.err b/result/schemas/all_0_4.err index f846d15c..94065392 100644 --- a/result/schemas/all_0_4.err +++ b/result/schemas/all_0_4.err @@ -1 +1 @@ -./test/schemas/all_4.xml:1: element doc: Schemas validity error : Element 'doc': Missing child element(s). Expected is one of ( a, b, c ). +./test/schemas/all_4.xml:1: Schemas validity error : Element 'doc': Missing child element(s). Expected is one of ( a, b, c ). diff --git a/result/schemas/all_0_5.err b/result/schemas/all_0_5.err index d8ca9a7e..183c3094 100644 --- a/result/schemas/all_0_5.err +++ b/result/schemas/all_0_5.err @@ -1 +1 @@ -./test/schemas/all_5.xml:1: element a: Schemas validity error : Element 'a': This element is not expected. Expected is ( c ). +./test/schemas/all_5.xml:1: Schemas validity error : Element 'a': This element is not expected. Expected is ( c ). diff --git a/result/schemas/all_0_6.err b/result/schemas/all_0_6.err index c31d91b8..7a74825e 100644 --- a/result/schemas/all_0_6.err +++ b/result/schemas/all_0_6.err @@ -1 +1 @@ -./test/schemas/all_6.xml:1: element doc: Schemas validity error : Element 'doc': Missing child element(s). Expected is one of ( b, c ). +./test/schemas/all_6.xml:1: Schemas validity error : Element 'doc': Missing child element(s). Expected is one of ( b, c ). diff --git a/result/schemas/all_0_7.err b/result/schemas/all_0_7.err index d5c54287..2f4c53f1 100644 --- a/result/schemas/all_0_7.err +++ b/result/schemas/all_0_7.err @@ -1 +1 @@ -./test/schemas/all_7.xml:1: element doc: Schemas validity error : Element 'doc': Missing child element(s). Expected is ( c ). +./test/schemas/all_7.xml:1: Schemas validity error : Element 'doc': Missing child element(s). Expected is ( c ). diff --git a/result/schemas/all_1_3.err b/result/schemas/all_1_3.err index 6933fb7b..1d422a5f 100644 --- a/result/schemas/all_1_3.err +++ b/result/schemas/all_1_3.err @@ -1 +1 @@ -./test/schemas/all_3.xml:1: element doc: Schemas validity error : Element 'doc': Missing child element(s). Expected is ( c ). +./test/schemas/all_3.xml:1: Schemas validity error : Element 'doc': Missing child element(s). Expected is ( c ). diff --git a/result/schemas/all_1_5.err b/result/schemas/all_1_5.err index d8ca9a7e..183c3094 100644 --- a/result/schemas/all_1_5.err +++ b/result/schemas/all_1_5.err @@ -1 +1 @@ -./test/schemas/all_5.xml:1: element a: Schemas validity error : Element 'a': This element is not expected. Expected is ( c ). +./test/schemas/all_5.xml:1: Schemas validity error : Element 'a': This element is not expected. Expected is ( c ). diff --git a/result/schemas/all_1_6.err b/result/schemas/all_1_6.err index c31d91b8..7a74825e 100644 --- a/result/schemas/all_1_6.err +++ b/result/schemas/all_1_6.err @@ -1 +1 @@ -./test/schemas/all_6.xml:1: element doc: Schemas validity error : Element 'doc': Missing child element(s). Expected is one of ( b, c ). +./test/schemas/all_6.xml:1: Schemas validity error : Element 'doc': Missing child element(s). Expected is one of ( b, c ). diff --git a/result/schemas/all_1_7.err b/result/schemas/all_1_7.err index d5c54287..2f4c53f1 100644 --- a/result/schemas/all_1_7.err +++ b/result/schemas/all_1_7.err @@ -1 +1 @@ -./test/schemas/all_7.xml:1: element doc: Schemas validity error : Element 'doc': Missing child element(s). Expected is ( c ). +./test/schemas/all_7.xml:1: Schemas validity error : Element 'doc': Missing child element(s). Expected is ( c ). diff --git a/result/schemas/all_2_0.err b/result/schemas/all_2_0.err index 6ef8590b..bf439446 100644 --- a/result/schemas/all_2_0.err +++ b/result/schemas/all_2_0.err @@ -1 +1 @@ -./test/schemas/all_0.xml:1: element c: Schemas validity error : Element 'c': This element is not expected. +./test/schemas/all_0.xml:1: Schemas validity error : Element 'c': This element is not expected. diff --git a/result/schemas/all_2_1.err b/result/schemas/all_2_1.err index fd8cb482..fc12152e 100644 --- a/result/schemas/all_2_1.err +++ b/result/schemas/all_2_1.err @@ -1 +1 @@ -./test/schemas/all_1.xml:1: element c: Schemas validity error : Element 'c': This element is not expected. Expected is ( a ). +./test/schemas/all_1.xml:1: Schemas validity error : Element 'c': This element is not expected. Expected is ( a ). diff --git a/result/schemas/all_2_2.err b/result/schemas/all_2_2.err index 1f044620..8e56a78b 100644 --- a/result/schemas/all_2_2.err +++ b/result/schemas/all_2_2.err @@ -1 +1 @@ -./test/schemas/all_2.xml:1: element c: Schemas validity error : Element 'c': This element is not expected. +./test/schemas/all_2.xml:1: Schemas validity error : Element 'c': This element is not expected. diff --git a/result/schemas/all_2_4.err b/result/schemas/all_2_4.err index 31dcf125..717e0428 100644 --- a/result/schemas/all_2_4.err +++ b/result/schemas/all_2_4.err @@ -1 +1 @@ -./test/schemas/all_4.xml:1: element doc: Schemas validity error : Element 'doc': Missing child element(s). Expected is one of ( a, b ). +./test/schemas/all_4.xml:1: Schemas validity error : Element 'doc': Missing child element(s). Expected is one of ( a, b ). diff --git a/result/schemas/all_2_5.err b/result/schemas/all_2_5.err index e859ebd2..42ea79a2 100644 --- a/result/schemas/all_2_5.err +++ b/result/schemas/all_2_5.err @@ -1 +1 @@ -./test/schemas/all_5.xml:1: element a: Schemas validity error : Element 'a': This element is not expected. +./test/schemas/all_5.xml:1: Schemas validity error : Element 'a': This element is not expected. diff --git a/result/schemas/allsg_0_3.err b/result/schemas/allsg_0_3.err index 628a3606..57dd594b 100644 --- a/result/schemas/allsg_0_3.err +++ b/result/schemas/allsg_0_3.err @@ -1 +1 @@ -./test/schemas/allsg_3.xml:6: element gm-B-1: Schemas validity error : Element '{urn:test:foo}gm-B-1': This element is not expected. Expected is one of ( {urn:test:foo}gh-A, {urn:test:foo}gm-A-1, {urn:test:foo}gm-A-2 ). +./test/schemas/allsg_3.xml:6: Schemas validity error : Element '{urn:test:foo}gm-B-1': This element is not expected. Expected is one of ( {urn:test:foo}gh-A, {urn:test:foo}gm-A-1, {urn:test:foo}gm-A-2 ). diff --git a/result/schemas/allsg_0_4.err b/result/schemas/allsg_0_4.err index e72288d1..558f9846 100644 --- a/result/schemas/allsg_0_4.err +++ b/result/schemas/allsg_0_4.err @@ -1 +1 @@ -./test/schemas/allsg_4.xml:6: element gm-A-1: Schemas validity error : Element '{urn:test:foo}gm-A-1': This element is not expected. Expected is one of ( {urn:test:foo}gh-B, {urn:test:foo}gm-B-1, {urn:test:foo}gm-B-2 ). +./test/schemas/allsg_4.xml:6: Schemas validity error : Element '{urn:test:foo}gm-A-1': This element is not expected. Expected is one of ( {urn:test:foo}gh-B, {urn:test:foo}gm-B-1, {urn:test:foo}gm-B-2 ). diff --git a/result/schemas/allsg_0_5.err b/result/schemas/allsg_0_5.err index 26a14461..f428fd64 100644 --- a/result/schemas/allsg_0_5.err +++ b/result/schemas/allsg_0_5.err @@ -1 +1 @@ -./test/schemas/allsg_5.xml:7: element gm-B-2: Schemas validity error : Element '{urn:test:foo}gm-B-2': This element is not expected. +./test/schemas/allsg_5.xml:7: Schemas validity error : Element '{urn:test:foo}gm-B-2': This element is not expected. diff --git a/result/schemas/any3_0_0.err b/result/schemas/any3_0_0.err index 49ce5813..ee4ca24b 100644 --- a/result/schemas/any3_0_0.err +++ b/result/schemas/any3_0_0.err @@ -1 +1 @@ -./test/schemas/any3_0.xml:12: element bar.A: Schemas validity error : Element 'bar.A': This element is not expected. Expected is ( ##other{http://FOO}* ). +./test/schemas/any3_0.xml:12: Schemas validity error : Element 'bar.A': This element is not expected. Expected is ( ##other{http://FOO}* ). diff --git a/result/schemas/any5_0_0.err b/result/schemas/any5_0_0.err index b69fd575..72b39a9e 100644 --- a/result/schemas/any5_0_0.err +++ b/result/schemas/any5_0_0.err @@ -1 +1 @@ -./test/schemas/any5_0.xml:6: element boo: Schemas validity error : Element '{urn:test:foo}boo': This element is not expected. Expected is ( ##other{urn:test:foo}* ). +./test/schemas/any5_0.xml:6: Schemas validity error : Element '{urn:test:foo}boo': This element is not expected. Expected is ( ##other{urn:test:foo}* ). diff --git a/result/schemas/any5_0_1.err b/result/schemas/any5_0_1.err index 79d7e35b..52c53a84 100644 --- a/result/schemas/any5_0_1.err +++ b/result/schemas/any5_0_1.err @@ -1 +1 @@ -./test/schemas/any5_1.xml:11: element boo: Schemas validity error : Element '{urn:test:bar}boo': This element is not expected. +./test/schemas/any5_1.xml:11: Schemas validity error : Element '{urn:test:bar}boo': This element is not expected. diff --git a/result/schemas/any5_0_2.err b/result/schemas/any5_0_2.err index a5bf4c08..cd23a02e 100644 --- a/result/schemas/any5_0_2.err +++ b/result/schemas/any5_0_2.err @@ -1 +1 @@ -./test/schemas/any5_2.xml:7: element boo: Schemas validity error : Element '{urn:test:foo}boo': This element is not expected. +./test/schemas/any5_2.xml:7: Schemas validity error : Element '{urn:test:foo}boo': This element is not expected. diff --git a/result/schemas/any5_0_4.err b/result/schemas/any5_0_4.err index 74a6bda1..6ec962c0 100644 --- a/result/schemas/any5_0_4.err +++ b/result/schemas/any5_0_4.err @@ -1 +1 @@ -./test/schemas/any5_4.xml:11: element boo: Schemas validity error : Element '{urn:test:bar}boo': This element is not expected. +./test/schemas/any5_4.xml:11: Schemas validity error : Element '{urn:test:bar}boo': This element is not expected. diff --git a/result/schemas/any5_0_5.err b/result/schemas/any5_0_5.err index e50113f4..e777721a 100644 --- a/result/schemas/any5_0_5.err +++ b/result/schemas/any5_0_5.err @@ -1 +1 @@ -./test/schemas/any5_5.xml:11: element boo: Schemas validity error : Element '{urn:test:foo}boo': This element is not expected. +./test/schemas/any5_5.xml:11: Schemas validity error : Element '{urn:test:foo}boo': This element is not expected. diff --git a/result/schemas/any5_0_6.err b/result/schemas/any5_0_6.err index b64cd4fb..4998a4ef 100644 --- a/result/schemas/any5_0_6.err +++ b/result/schemas/any5_0_6.err @@ -1 +1 @@ -./test/schemas/any5_6.xml:11: element boo: Schemas validity error : Element '{urn:test:bar}boo': This element is not expected. +./test/schemas/any5_6.xml:11: Schemas validity error : Element '{urn:test:bar}boo': This element is not expected. diff --git a/result/schemas/any5_1_0.err b/result/schemas/any5_1_0.err index b69fd575..72b39a9e 100644 --- a/result/schemas/any5_1_0.err +++ b/result/schemas/any5_1_0.err @@ -1 +1 @@ -./test/schemas/any5_0.xml:6: element boo: Schemas validity error : Element '{urn:test:foo}boo': This element is not expected. Expected is ( ##other{urn:test:foo}* ). +./test/schemas/any5_0.xml:6: Schemas validity error : Element '{urn:test:foo}boo': This element is not expected. Expected is ( ##other{urn:test:foo}* ). diff --git a/result/schemas/any5_1_1.err b/result/schemas/any5_1_1.err index bbfccb44..9a17c9ea 100644 --- a/result/schemas/any5_1_1.err +++ b/result/schemas/any5_1_1.err @@ -1 +1 @@ -./test/schemas/any5_1.xml:11: element boo: Schemas validity error : Element '{urn:test:bar}boo': This element is not expected. Expected is ( {urn:test:foo}boo ). +./test/schemas/any5_1.xml:11: Schemas validity error : Element '{urn:test:bar}boo': This element is not expected. Expected is ( {urn:test:foo}boo ). diff --git a/result/schemas/any5_1_3.err b/result/schemas/any5_1_3.err index e6c07b28..f823ee37 100644 --- a/result/schemas/any5_1_3.err +++ b/result/schemas/any5_1_3.err @@ -1 +1 @@ -./test/schemas/any5_3.xml:4: element foo: Schemas validity error : Element '{urn:test:foo}foo': Missing child element(s). +./test/schemas/any5_3.xml:4: Schemas validity error : Element '{urn:test:foo}foo': Missing child element(s). diff --git a/result/schemas/any5_1_4.err b/result/schemas/any5_1_4.err index 6d89773d..9f02329a 100644 --- a/result/schemas/any5_1_4.err +++ b/result/schemas/any5_1_4.err @@ -1 +1 @@ -./test/schemas/any5_4.xml:11: element boo: Schemas validity error : Element '{urn:test:bar}boo': This element is not expected. Expected is ( {urn:test:foo}boo ). +./test/schemas/any5_4.xml:11: Schemas validity error : Element '{urn:test:bar}boo': This element is not expected. Expected is ( {urn:test:foo}boo ). diff --git a/result/schemas/any5_1_6.err b/result/schemas/any5_1_6.err index 8c3f020a..e090bc35 100644 --- a/result/schemas/any5_1_6.err +++ b/result/schemas/any5_1_6.err @@ -1 +1 @@ -./test/schemas/any5_6.xml:11: element boo: Schemas validity error : Element '{urn:test:bar}boo': This element is not expected. Expected is ( {urn:test:foo}boo ). +./test/schemas/any5_6.xml:11: Schemas validity error : Element '{urn:test:bar}boo': This element is not expected. Expected is ( {urn:test:foo}boo ). diff --git a/result/schemas/any7_1_0.err b/result/schemas/any7_1_0.err index a4274f89..208c8a6f 100644 --- a/result/schemas/any7_1_0.err +++ b/result/schemas/any7_1_0.err @@ -1 +1 @@ -./test/schemas/any7_0.xml:18: element moo: Schemas validity error : Element 'moo': This element is not expected. Expected is ( ##other{urn:test:foo}* ). +./test/schemas/any7_0.xml:18: Schemas validity error : Element 'moo': This element is not expected. Expected is ( ##other{urn:test:foo}* ). diff --git a/result/schemas/any7_1_1.err b/result/schemas/any7_1_1.err index 8745468a..440d6a58 100644 --- a/result/schemas/any7_1_1.err +++ b/result/schemas/any7_1_1.err @@ -1 +1 @@ -./test/schemas/any7_1.xml:17: element bar: Schemas validity error : Element '{urn:test:foo}bar': This element is not expected. Expected is ( ##other{urn:test:foo}* ). +./test/schemas/any7_1.xml:17: Schemas validity error : Element '{urn:test:foo}bar': This element is not expected. Expected is ( ##other{urn:test:foo}* ). diff --git a/result/schemas/any7_2_0.err b/result/schemas/any7_2_0.err index a4274f89..208c8a6f 100644 --- a/result/schemas/any7_2_0.err +++ b/result/schemas/any7_2_0.err @@ -1 +1 @@ -./test/schemas/any7_0.xml:18: element moo: Schemas validity error : Element 'moo': This element is not expected. Expected is ( ##other{urn:test:foo}* ). +./test/schemas/any7_0.xml:18: Schemas validity error : Element 'moo': This element is not expected. Expected is ( ##other{urn:test:foo}* ). diff --git a/result/schemas/any7_2_1.err b/result/schemas/any7_2_1.err index 8745468a..440d6a58 100644 --- a/result/schemas/any7_2_1.err +++ b/result/schemas/any7_2_1.err @@ -1 +1 @@ -./test/schemas/any7_1.xml:17: element bar: Schemas validity error : Element '{urn:test:foo}bar': This element is not expected. Expected is ( ##other{urn:test:foo}* ). +./test/schemas/any7_1.xml:17: Schemas validity error : Element '{urn:test:foo}bar': This element is not expected. Expected is ( ##other{urn:test:foo}* ). diff --git a/result/schemas/anyAttr-processContents-err1_0_0.err b/result/schemas/anyAttr-processContents-err1_0_0.err index dc4766b7..f1a6023b 100644 --- a/result/schemas/anyAttr-processContents-err1_0_0.err +++ b/result/schemas/anyAttr-processContents-err1_0_0.err @@ -1,2 +1,2 @@ -./test/schemas/anyAttr-processContents-err1_0.xml:8: element elem.lax: Schemas validity error : Element '{http://FOO}elem.lax', attribute '{http://FOO}bar': 'o o' is not a valid value of the atomic type 'xs:language'. -./test/schemas/anyAttr-processContents-err1_0.xml:9: element elem.strict: Schemas validity error : Element '{http://FOO}elem.strict', attribute '{http://FOO}barB': No matching global attribute declaration available, but demanded by the strict wildcard. +./test/schemas/anyAttr-processContents-err1_0.xml:8: Schemas validity error : Element '{http://FOO}elem.lax', attribute '{http://FOO}bar': 'o o' is not a valid value of the atomic type 'xs:language'. +./test/schemas/anyAttr-processContents-err1_0.xml:9: Schemas validity error : Element '{http://FOO}elem.strict', attribute '{http://FOO}barB': No matching global attribute declaration available, but demanded by the strict wildcard. diff --git a/result/schemas/attruse_0_1.err b/result/schemas/attruse_0_1.err index 5dd4fb16..6795f8f2 100644 --- a/result/schemas/attruse_0_1.err +++ b/result/schemas/attruse_0_1.err @@ -1 +1 @@ -./test/schemas/attruse_0_1.xml:3: element barA: Schemas validity error : Element 'barA': The attribute 'attr' is required but missing. +./test/schemas/attruse_0_1.xml:3: Schemas validity error : Element 'barA': The attribute 'attr' is required but missing. diff --git a/result/schemas/attruse_0_2.err b/result/schemas/attruse_0_2.err index 01cf822a..d09a2ae9 100644 --- a/result/schemas/attruse_0_2.err +++ b/result/schemas/attruse_0_2.err @@ -1 +1 @@ -./test/schemas/attruse_0_2.xml:6: element barC: Schemas validity error : Element 'barC', attribute 'attr': The attribute 'attr' is not allowed. +./test/schemas/attruse_0_2.xml:6: Schemas validity error : Element 'barC', attribute 'attr': The attribute 'attr' is not allowed. diff --git a/result/schemas/bug323510_1_0.err b/result/schemas/bug323510_1_0.err index 1655070c..0488ef81 100644 --- a/result/schemas/bug323510_1_0.err +++ b/result/schemas/bug323510_1_0.err @@ -1 +1 @@ -./test/schemas/bug323510_0.xml:2: element foo: Schemas validity error : Element 'foo': Missing child element(s). Expected is ( bar ). +./test/schemas/bug323510_0.xml:2: Schemas validity error : Element 'foo': Missing child element(s). Expected is ( bar ). diff --git a/result/schemas/changelog093_1_0.err b/result/schemas/changelog093_1_0.err index ef0b1ec5..344a156f 100644 --- a/result/schemas/changelog093_1_0.err +++ b/result/schemas/changelog093_1_0.err @@ -1 +1 @@ -./test/schemas/changelog093_0.xml:7: element description: Schemas validity error : Element '{http://www.blackperl.com/XML/ChangeLog}description': Duplicate key-sequence ['PL'] in unique identity-constraint '{http://www.blackperl.com/XML/ChangeLog}changelogDescriptionLangConstraint'. +./test/schemas/changelog093_0.xml:7: Schemas validity error : Element '{http://www.blackperl.com/XML/ChangeLog}description': Duplicate key-sequence ['PL'] in unique identity-constraint '{http://www.blackperl.com/XML/ChangeLog}changelogDescriptionLangConstraint'. diff --git a/result/schemas/choice_0_2.err b/result/schemas/choice_0_2.err index 51414458..37344b1b 100644 --- a/result/schemas/choice_0_2.err +++ b/result/schemas/choice_0_2.err @@ -1 +1 @@ -./test/schemas/choice_2.xml:3: element b: Schemas validity error : Element 'b': This element is not expected. +./test/schemas/choice_2.xml:3: Schemas validity error : Element 'b': This element is not expected. diff --git a/result/schemas/choice_0_3.err b/result/schemas/choice_0_3.err index ece5d69f..57d3728a 100644 --- a/result/schemas/choice_0_3.err +++ b/result/schemas/choice_0_3.err @@ -1 +1 @@ -./test/schemas/choice_3.xml:3: element a: Schemas validity error : Element 'a': This element is not expected. +./test/schemas/choice_3.xml:3: Schemas validity error : Element 'a': This element is not expected. diff --git a/result/schemas/choice_0_4.err b/result/schemas/choice_0_4.err index 3d3af59f..273f170e 100644 --- a/result/schemas/choice_0_4.err +++ b/result/schemas/choice_0_4.err @@ -1 +1 @@ -./test/schemas/choice_4.xml:1: element doc: Schemas validity error : Element 'doc': Missing child element(s). Expected is one of ( a, b ). +./test/schemas/choice_4.xml:1: Schemas validity error : Element 'doc': Missing child element(s). Expected is one of ( a, b ). diff --git a/result/schemas/choice_0_5.err b/result/schemas/choice_0_5.err index 39d413cd..3a0f40ac 100644 --- a/result/schemas/choice_0_5.err +++ b/result/schemas/choice_0_5.err @@ -1 +1 @@ -./test/schemas/choice_5.xml:3: element b: Schemas validity error : Element 'b': This element is not expected. +./test/schemas/choice_5.xml:3: Schemas validity error : Element 'b': This element is not expected. diff --git a/result/schemas/choice_0_6.err b/result/schemas/choice_0_6.err index 414d1e29..270c1fff 100644 --- a/result/schemas/choice_0_6.err +++ b/result/schemas/choice_0_6.err @@ -1 +1 @@ -./test/schemas/choice_6.xml:3: element b: Schemas validity error : Element 'b': This element is not expected. +./test/schemas/choice_6.xml:3: Schemas validity error : Element 'b': This element is not expected. diff --git a/result/schemas/choice_1_2.err b/result/schemas/choice_1_2.err index 51414458..37344b1b 100644 --- a/result/schemas/choice_1_2.err +++ b/result/schemas/choice_1_2.err @@ -1 +1 @@ -./test/schemas/choice_2.xml:3: element b: Schemas validity error : Element 'b': This element is not expected. +./test/schemas/choice_2.xml:3: Schemas validity error : Element 'b': This element is not expected. diff --git a/result/schemas/choice_1_3.err b/result/schemas/choice_1_3.err index ece5d69f..57d3728a 100644 --- a/result/schemas/choice_1_3.err +++ b/result/schemas/choice_1_3.err @@ -1 +1 @@ -./test/schemas/choice_3.xml:3: element a: Schemas validity error : Element 'a': This element is not expected. +./test/schemas/choice_3.xml:3: Schemas validity error : Element 'a': This element is not expected. diff --git a/result/schemas/choice_1_5.err b/result/schemas/choice_1_5.err index 39d413cd..3a0f40ac 100644 --- a/result/schemas/choice_1_5.err +++ b/result/schemas/choice_1_5.err @@ -1 +1 @@ -./test/schemas/choice_5.xml:3: element b: Schemas validity error : Element 'b': This element is not expected. +./test/schemas/choice_5.xml:3: Schemas validity error : Element 'b': This element is not expected. diff --git a/result/schemas/choice_1_6.err b/result/schemas/choice_1_6.err index 414d1e29..270c1fff 100644 --- a/result/schemas/choice_1_6.err +++ b/result/schemas/choice_1_6.err @@ -1 +1 @@ -./test/schemas/choice_6.xml:3: element b: Schemas validity error : Element 'b': This element is not expected. +./test/schemas/choice_6.xml:3: Schemas validity error : Element 'b': This element is not expected. diff --git a/result/schemas/choice_2_4.err b/result/schemas/choice_2_4.err index 3d3af59f..273f170e 100644 --- a/result/schemas/choice_2_4.err +++ b/result/schemas/choice_2_4.err @@ -1 +1 @@ -./test/schemas/choice_4.xml:1: element doc: Schemas validity error : Element 'doc': Missing child element(s). Expected is one of ( a, b ). +./test/schemas/choice_4.xml:1: Schemas validity error : Element 'doc': Missing child element(s). Expected is one of ( a, b ). diff --git a/result/schemas/choice_2_6.err b/result/schemas/choice_2_6.err index bef56da0..b6ae4a73 100644 --- a/result/schemas/choice_2_6.err +++ b/result/schemas/choice_2_6.err @@ -1 +1 @@ -./test/schemas/choice_6.xml:5: element a: Schemas validity error : Element 'a': This element is not expected. +./test/schemas/choice_6.xml:5: Schemas validity error : Element 'a': This element is not expected. diff --git a/result/schemas/cos-st-restricts-1-2-err_0_0.err b/result/schemas/cos-st-restricts-1-2-err_0_0.err index ccc12b66..32e389b2 100644 --- a/result/schemas/cos-st-restricts-1-2-err_0_0.err +++ b/result/schemas/cos-st-restricts-1-2-err_0_0.err @@ -1,2 +1,2 @@ -./test/schemas/cos-st-restricts-1-2-err_0.xml:3: element foo: Schemas validity error : Element '{http://FOO}foo': [facet 'length'] The value has a length of '2'; this differs from the allowed length of '3'. -./test/schemas/cos-st-restricts-1-2-err_0.xml:3: element foo: Schemas validity error : Element '{http://FOO}foo': '1 2' is not a valid value of the list type '{http://FOO}type.A'. +./test/schemas/cos-st-restricts-1-2-err_0.xml:3: Schemas validity error : Element '{http://FOO}foo': [facet 'length'] The value has a length of '2'; this differs from the allowed length of '3'. +./test/schemas/cos-st-restricts-1-2-err_0.xml:3: Schemas validity error : Element '{http://FOO}foo': '1 2' is not a valid value of the list type '{http://FOO}type.A'. diff --git a/result/schemas/decimal-1_1_0.err b/result/schemas/decimal-1_1_0.err index 7f4fa9cc..62ca9de1 100644 --- a/result/schemas/decimal-1_1_0.err +++ b/result/schemas/decimal-1_1_0.err @@ -1,8 +1,8 @@ -./test/schemas/decimal-1_0.xml:16: element val: Schemas validity error : Element 'val': '.' is not a valid value of the atomic type 'myDecimal'. -./test/schemas/decimal-1_0.xml:17: element val: Schemas validity error : Element 'val': '-' is not a valid value of the atomic type 'myDecimal'. -./test/schemas/decimal-1_0.xml:18: element val: Schemas validity error : Element 'val': '+' is not a valid value of the atomic type 'myDecimal'. -./test/schemas/decimal-1_0.xml:19: element val: Schemas validity error : Element 'val': '*' is not a valid value of the atomic type 'myDecimal'. -./test/schemas/decimal-1_0.xml:20: element val: Schemas validity error : Element 'val': '- 1' is not a valid value of the atomic type 'myDecimal'. -./test/schemas/decimal-1_0.xml:21: element val: Schemas validity error : Element 'val': '+ 1' is not a valid value of the atomic type 'myDecimal'. -./test/schemas/decimal-1_0.xml:22: element val: Schemas validity error : Element 'val': '+ 0' is not a valid value of the atomic type 'myDecimal'. -./test/schemas/decimal-1_0.xml:23: element val: Schemas validity error : Element 'val': '- 0' is not a valid value of the atomic type 'myDecimal'. +./test/schemas/decimal-1_0.xml:16: Schemas validity error : Element 'val': '.' is not a valid value of the atomic type 'myDecimal'. +./test/schemas/decimal-1_0.xml:17: Schemas validity error : Element 'val': '-' is not a valid value of the atomic type 'myDecimal'. +./test/schemas/decimal-1_0.xml:18: Schemas validity error : Element 'val': '+' is not a valid value of the atomic type 'myDecimal'. +./test/schemas/decimal-1_0.xml:19: Schemas validity error : Element 'val': '*' is not a valid value of the atomic type 'myDecimal'. +./test/schemas/decimal-1_0.xml:20: Schemas validity error : Element 'val': '- 1' is not a valid value of the atomic type 'myDecimal'. +./test/schemas/decimal-1_0.xml:21: Schemas validity error : Element 'val': '+ 1' is not a valid value of the atomic type 'myDecimal'. +./test/schemas/decimal-1_0.xml:22: Schemas validity error : Element 'val': '+ 0' is not a valid value of the atomic type 'myDecimal'. +./test/schemas/decimal-1_0.xml:23: Schemas validity error : Element 'val': '- 0' is not a valid value of the atomic type 'myDecimal'. diff --git a/result/schemas/decimal-2_1_0.err b/result/schemas/decimal-2_1_0.err index bda17a54..89dcb2d7 100644 --- a/result/schemas/decimal-2_1_0.err +++ b/result/schemas/decimal-2_1_0.err @@ -1,2 +1,2 @@ -./test/schemas/decimal-2_0.xml:12: element val: Schemas validity error : Element 'val': [facet 'minInclusive'] The value '-0.1' is less than the minimum value allowed ('0'). -./test/schemas/decimal-2_0.xml:13: element val: Schemas validity error : Element 'val': [facet 'minInclusive'] The value '-1' is less than the minimum value allowed ('0'). +./test/schemas/decimal-2_0.xml:12: Schemas validity error : Element 'val': [facet 'minInclusive'] The value '-0.1' is less than the minimum value allowed ('0'). +./test/schemas/decimal-2_0.xml:13: Schemas validity error : Element 'val': [facet 'minInclusive'] The value '-1' is less than the minimum value allowed ('0'). diff --git a/result/schemas/decimal-3_1_0.err b/result/schemas/decimal-3_1_0.err index f37a2009..64be5538 100644 --- a/result/schemas/decimal-3_1_0.err +++ b/result/schemas/decimal-3_1_0.err @@ -1,4 +1,4 @@ -./test/schemas/decimal-3_0.xml:12: element val: Schemas validity error : Element 'val': [facet 'totalDigits'] The value '0.123' has more digits than are allowed ('2'). -./test/schemas/decimal-3_0.xml:13: element val: Schemas validity error : Element 'val': [facet 'totalDigits'] The value '0.023' has more digits than are allowed ('2'). -./test/schemas/decimal-3_0.xml:14: element val: Schemas validity error : Element 'val': [facet 'totalDigits'] The value '123' has more digits than are allowed ('2'). -./test/schemas/decimal-3_0.xml:15: element val: Schemas validity error : Element 'val': [facet 'totalDigits'] The value '12.3' has more digits than are allowed ('2'). +./test/schemas/decimal-3_0.xml:12: Schemas validity error : Element 'val': [facet 'totalDigits'] The value '0.123' has more digits than are allowed ('2'). +./test/schemas/decimal-3_0.xml:13: Schemas validity error : Element 'val': [facet 'totalDigits'] The value '0.023' has more digits than are allowed ('2'). +./test/schemas/decimal-3_0.xml:14: Schemas validity error : Element 'val': [facet 'totalDigits'] The value '123' has more digits than are allowed ('2'). +./test/schemas/decimal-3_0.xml:15: Schemas validity error : Element 'val': [facet 'totalDigits'] The value '12.3' has more digits than are allowed ('2'). diff --git a/result/schemas/extension1_0_1.err b/result/schemas/extension1_0_1.err index bb5b0473..25e93f7d 100644 --- a/result/schemas/extension1_0_1.err +++ b/result/schemas/extension1_0_1.err @@ -1 +1 @@ -./test/schemas/extension1_1.xml:1: element title: Schemas validity error : Element 'title', attribute 'langue': The attribute 'langue' is not allowed. +./test/schemas/extension1_1.xml:1: Schemas validity error : Element 'title', attribute 'langue': The attribute 'langue' is not allowed. diff --git a/result/schemas/extension1_0_2.err b/result/schemas/extension1_0_2.err index 161fe9ef..2268f38e 100644 --- a/result/schemas/extension1_0_2.err +++ b/result/schemas/extension1_0_2.err @@ -1 +1 @@ -./test/schemas/extension1_2.xml:1: element title: Schemas validity error : Element 'title': Element content is not allowed, because the content type is a simple type definition. +./test/schemas/extension1_2.xml:1: Schemas validity error : Element 'title': Element content is not allowed, because the content type is a simple type definition. diff --git a/result/schemas/facet-unionST-err1_0_0.err b/result/schemas/facet-unionST-err1_0_0.err index 392dbe5b..dbaa113f 100644 --- a/result/schemas/facet-unionST-err1_0_0.err +++ b/result/schemas/facet-unionST-err1_0_0.err @@ -1 +1 @@ -./test/schemas/facet-unionST-err1_0.xml:3: element foo: Schemas validity error : Element '{http://FOO}foo': 'tiny' is not a valid value of the union type '{http://FOO}fooType.B'. +./test/schemas/facet-unionST-err1_0.xml:3: Schemas validity error : Element '{http://FOO}foo': 'tiny' is not a valid value of the union type '{http://FOO}fooType.B'. diff --git a/result/schemas/hexbinary_0_1.err b/result/schemas/hexbinary_0_1.err index f43ef338..15ce34d7 100644 --- a/result/schemas/hexbinary_0_1.err +++ b/result/schemas/hexbinary_0_1.err @@ -1,7 +1,7 @@ -./test/schemas/hexbinary_1.xml:6: element hex: Schemas validity error : Element 'hex': '0' is not a valid value of the atomic type 'xs:hexBinary'. -./test/schemas/hexbinary_1.xml:7: element hex: Schemas validity error : Element 'hex': '0123456789ABCDEFGH' is not a valid value of the atomic type 'xs:hexBinary'. -./test/schemas/hexbinary_1.xml:8: element hex: Schemas validity error : Element 'hex': '+abcdef0123456789' is not a valid value of the atomic type 'xs:hexBinary'. -./test/schemas/hexbinary_1.xml:9: element hex: Schemas validity error : Element 'hex': '-0123456789abcdef' is not a valid value of the atomic type 'xs:hexBinary'. -./test/schemas/hexbinary_1.xml:11: element hex2: Schemas validity error : Element 'hex2': [facet 'maxLength'] The value has a length of '9'; this exceeds the allowed maximum length of '8'. -./test/schemas/hexbinary_1.xml:13: element hex3: Schemas validity error : Element 'hex3': [facet 'length'] The value has a length of '1'; this differs from the allowed length of '2'. -./test/schemas/hexbinary_1.xml:14: element hex3: Schemas validity error : Element 'hex3': [facet 'length'] The value has a length of '3'; this differs from the allowed length of '2'. +./test/schemas/hexbinary_1.xml:6: Schemas validity error : Element 'hex': '0' is not a valid value of the atomic type 'xs:hexBinary'. +./test/schemas/hexbinary_1.xml:7: Schemas validity error : Element 'hex': '0123456789ABCDEFGH' is not a valid value of the atomic type 'xs:hexBinary'. +./test/schemas/hexbinary_1.xml:8: Schemas validity error : Element 'hex': '+abcdef0123456789' is not a valid value of the atomic type 'xs:hexBinary'. +./test/schemas/hexbinary_1.xml:9: Schemas validity error : Element 'hex': '-0123456789abcdef' is not a valid value of the atomic type 'xs:hexBinary'. +./test/schemas/hexbinary_1.xml:11: Schemas validity error : Element 'hex2': [facet 'maxLength'] The value has a length of '9'; this exceeds the allowed maximum length of '8'. +./test/schemas/hexbinary_1.xml:13: Schemas validity error : Element 'hex3': [facet 'length'] The value has a length of '1'; this differs from the allowed length of '2'. +./test/schemas/hexbinary_1.xml:14: Schemas validity error : Element 'hex3': [facet 'length'] The value has a length of '3'; this differs from the allowed length of '2'. diff --git a/result/schemas/list0_0_1.err b/result/schemas/list0_0_1.err index 7a3b63bf..8d25f8ad 100644 --- a/result/schemas/list0_0_1.err +++ b/result/schemas/list0_0_1.err @@ -1 +1 @@ -./test/schemas/list0_1.xml:1: element test: Schemas validity error : Element 'test': Missing child element(s). Expected is ( string ). +./test/schemas/list0_1.xml:1: Schemas validity error : Element 'test': Missing child element(s). Expected is ( string ). diff --git a/result/schemas/list0_1_0.err b/result/schemas/list0_1_0.err index 0bc3c8a5..ae915c42 100644 --- a/result/schemas/list0_1_0.err +++ b/result/schemas/list0_1_0.err @@ -1 +1 @@ -./test/schemas/list0_0.xml:5: element string: Schemas validity error : Element 'string': This element is not expected. +./test/schemas/list0_0.xml:5: Schemas validity error : Element 'string': This element is not expected. diff --git a/result/schemas/list0_1_1.err b/result/schemas/list0_1_1.err index 7a3b63bf..8d25f8ad 100644 --- a/result/schemas/list0_1_1.err +++ b/result/schemas/list0_1_1.err @@ -1 +1 @@ -./test/schemas/list0_1.xml:1: element test: Schemas validity error : Element 'test': Missing child element(s). Expected is ( string ). +./test/schemas/list0_1.xml:1: Schemas validity error : Element 'test': Missing child element(s). Expected is ( string ). diff --git a/result/schemas/ns0_0_2.err b/result/schemas/ns0_0_2.err index 346af267..315553c1 100644 --- a/result/schemas/ns0_0_2.err +++ b/result/schemas/ns0_0_2.err @@ -1 +1 @@ -./test/schemas/ns0_2.xml:1: element foo: Schemas validity error : Element 'foo': No matching global declaration available for the validation root. +./test/schemas/ns0_2.xml:1: Schemas validity error : Element 'foo': No matching global declaration available for the validation root. diff --git a/result/schemas/ns0_0_3.err b/result/schemas/ns0_0_3.err index fd1cbd51..7953234c 100644 --- a/result/schemas/ns0_0_3.err +++ b/result/schemas/ns0_0_3.err @@ -1 +1 @@ -./test/schemas/ns0_3.xml:1: element foo: Schemas validity error : Element '{http://example.com/xsd/ns}foo', attribute '{http://example.com/xsd/ns}id': The attribute '{http://example.com/xsd/ns}id' is not allowed. +./test/schemas/ns0_3.xml:1: Schemas validity error : Element '{http://example.com/xsd/ns}foo', attribute '{http://example.com/xsd/ns}id': The attribute '{http://example.com/xsd/ns}id' is not allowed. diff --git a/result/schemas/ns0_0_4.err b/result/schemas/ns0_0_4.err index 2512e8db..f491e145 100644 --- a/result/schemas/ns0_0_4.err +++ b/result/schemas/ns0_0_4.err @@ -1 +1 @@ -./test/schemas/ns0_4.xml:2: element foo: Schemas validity error : Element '{http://example.com/xsd/ns}foo', attribute '{http://example.com/xsd/ns}id': The attribute '{http://example.com/xsd/ns}id' is not allowed. +./test/schemas/ns0_4.xml:2: Schemas validity error : Element '{http://example.com/xsd/ns}foo', attribute '{http://example.com/xsd/ns}id': The attribute '{http://example.com/xsd/ns}id' is not allowed. diff --git a/result/schemas/ns0_1_0.err b/result/schemas/ns0_1_0.err index 12828881..3a24c8ca 100644 --- a/result/schemas/ns0_1_0.err +++ b/result/schemas/ns0_1_0.err @@ -1 +1 @@ -./test/schemas/ns0_0.xml:1: element foo: Schemas validity error : Element '{http://example.com/xsd/ns}foo', attribute 'id': The attribute 'id' is not allowed. +./test/schemas/ns0_0.xml:1: Schemas validity error : Element '{http://example.com/xsd/ns}foo', attribute 'id': The attribute 'id' is not allowed. diff --git a/result/schemas/ns0_1_1.err b/result/schemas/ns0_1_1.err index 99b28800..6c259ad5 100644 --- a/result/schemas/ns0_1_1.err +++ b/result/schemas/ns0_1_1.err @@ -1 +1 @@ -./test/schemas/ns0_1.xml:1: element foo: Schemas validity error : Element '{http://example.com/xsd/ns}foo', attribute 'id': The attribute 'id' is not allowed. +./test/schemas/ns0_1.xml:1: Schemas validity error : Element '{http://example.com/xsd/ns}foo', attribute 'id': The attribute 'id' is not allowed. diff --git a/result/schemas/ns0_1_2.err b/result/schemas/ns0_1_2.err index 346af267..315553c1 100644 --- a/result/schemas/ns0_1_2.err +++ b/result/schemas/ns0_1_2.err @@ -1 +1 @@ -./test/schemas/ns0_2.xml:1: element foo: Schemas validity error : Element 'foo': No matching global declaration available for the validation root. +./test/schemas/ns0_2.xml:1: Schemas validity error : Element 'foo': No matching global declaration available for the validation root. diff --git a/result/schemas/restriction-enum-1_1_0.err b/result/schemas/restriction-enum-1_1_0.err index 42dee61a..c6ab50d5 100644 --- a/result/schemas/restriction-enum-1_1_0.err +++ b/result/schemas/restriction-enum-1_1_0.err @@ -1 +1 @@ -./test/schemas/restriction-enum-1_0.xml:7: element foo: Schemas validity error : Element 'foo': [facet 'enumeration'] The value 'c' is not an element of the set {'a', 'b', 'd'}. +./test/schemas/restriction-enum-1_0.xml:7: Schemas validity error : Element 'foo': [facet 'enumeration'] The value 'c' is not an element of the set {'a', 'b', 'd'}. diff --git a/result/schemas/union2_1_1.err b/result/schemas/union2_1_1.err index a66ad593..9fffc2cf 100644 --- a/result/schemas/union2_1_1.err +++ b/result/schemas/union2_1_1.err @@ -1,3 +1,3 @@ -./test/schemas/union2_1.xml:4: element ELEMENTS: Schemas validity error : Element '{urn:test:foo}ELEMENTS': ' +./test/schemas/union2_1.xml:4: Schemas validity error : Element '{urn:test:foo}ELEMENTS': ' 5 ' is not a valid value of the local union type. diff --git a/result/schemas/vdv-first4_0_1.err b/result/schemas/vdv-first4_0_1.err index 1b964b2c..4a176469 100644 --- a/result/schemas/vdv-first4_0_1.err +++ b/result/schemas/vdv-first4_0_1.err @@ -1 +1 @@ -./test/schemas/vdv-first4_1.xml:14: element born: Schemas validity error : Element 'born': '196T6-08-22' is not a valid value of the atomic type 'date'. +./test/schemas/vdv-first4_1.xml:14: Schemas validity error : Element 'born': '196T6-08-22' is not a valid value of the atomic type 'date'. diff --git a/result/schemas/vdv-first4_0_2.err b/result/schemas/vdv-first4_0_2.err index 0a49faac..fe405f76 100644 --- a/result/schemas/vdv-first4_0_2.err +++ b/result/schemas/vdv-first4_0_2.err @@ -1 +1 @@ -./test/schemas/vdv-first4_2.xml:24: element born: Schemas validity error : Element 'born': [facet 'pattern'] The value '2000-01-20Z' is not accepted by the pattern '[^:Z]*'. +./test/schemas/vdv-first4_2.xml:24: Schemas validity error : Element 'born': [facet 'pattern'] The value '2000-01-20Z' is not accepted by the pattern '[^:Z]*'. diff --git a/runtest.c b/runtest.c index c279d113..ecac702a 100644 --- a/runtest.c +++ b/runtest.c @@ -419,7 +419,11 @@ testStructuredErrorHandler(void *ctx ATTRIBUTE_UNUSED, xmlErrorPtr err) { else if ((line != 0) && (domain == XML_FROM_PARSER)) channel(data, "Entity: line %d: ", line); } - if (name != NULL) { + /* + * Skip element name when testing schemas to make memory and streaming + * output match. + */ + if ((domain != XML_FROM_SCHEMASV) && (name != NULL)) { channel(data, "element %s: ", name); } if (code == XML_ERR_OK) -- cgit v1.2.1