Commit fd573f18 authored by Daniel Veillard's avatar Daniel Veillard

switched back to the previous Relax-NG code base, the derivation algorithm

* relaxng.c: switched back to the previous Relax-NG code base,
  the derivation algorithm need severe constraining code to avoid
  combinatorial explosion. Fixed the problem with Sebastian Rahtz
  TEI based example and other bugs
* result/relaxng/*err: updated the results
* test/relaxng/testsuite.xml: started a new test suite
Daniel
parent 1564e6e5
Sun Mar 16 18:45:50 CET 2003 Daniel Veillard <daniel@veillard.com>
* relaxng.c: switched back to the previous Relax-NG code base,
the derivation algorithm need severe constraining code to avoid
combinatorial explosion. Fixed the problem with Sebastian Rahtz
TEI based example and other bugs
* result/relaxng/*err: updated the results
* test/relaxng/testsuite.xml: started a new test suite
Sat Mar 15 22:26:46 CET 2003 Daniel Veillard <daniel@veillard.com>
* relaxng.c include/libxml/relaxng.h: After coming to the conclusion
......
......@@ -67,7 +67,8 @@ typedef enum {
XML_RELAXNG_ERR_VALUE,
XML_RELAXNG_ERR_LIST,
XML_RELAXNG_ERR_NOGRAMMAR,
XML_RELAXNG_ERR_EXTRADATA
XML_RELAXNG_ERR_EXTRADATA,
XML_RELAXNG_ERR_LACKDATA
} xmlRelaxNGValidErr;
/*
......
This diff is collapsed.
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element element, got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element attribute, got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element group, got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element interleave, got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element choice, got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element optional, got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element zeroOrMore, got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element oneOrMore, got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element list, got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element mixed, got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element ref, got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element parentRef, got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element empty, got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element text, got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element value, got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element data, got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element notAllowed, got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element externalRef, got nothing
Expecting an element , got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 7 element documentation
Invalid sequence in interleave
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting an element grammar, got nothing
Expecting an element , got nothing
RNG validity error: file ./test/relaxng/spec1.rng line 7 element documentation
Invalid sequence in interleave
RNG validity error: file ./test/relaxng/spec1.rng line 7 element documentation
Element element failed to validate content
RNG validity error: file ./test/relaxng/spec1.rng line 7 element documentation
Element element has extra content: documentation
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element attribute, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element group, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element interleave, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element choice, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element optional, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element zeroOrMore, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element oneOrMore, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element list, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element mixed, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element ref, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element parentRef, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element empty, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element text, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element value, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element data, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element notAllowed, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element externalRef, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Expecting element grammar, got element
RNG validity error: file ./test/relaxng/spec1.rng line 6 element element
Extra data in the document
RNG validity error: file ./test/relaxng/tutor10_1_4.xml line 1 element foo
Expecting a namespace for element foo
RNG validity error: file ./test/relaxng/tutor10_1_4.xml line 1 element foo
Extra data in the document
RNG validity error: file ./test/relaxng/tutor10_1_5.xml line 1 element foo
Element foo has wrong namespace: expecting http://www.example.com
RNG validity error: file ./test/relaxng/tutor10_1_5.xml line 1 element foo
Extra data in the document
RNG validity error: file ./test/relaxng/tutor10_1_6.xml line 1 element foo
Element foo has wrong namespace: expecting http://www.example.com
RNG validity error: file ./test/relaxng/tutor10_1_6.xml line 1 element foo
Extra data in the document
RNG validity error: file ./test/relaxng/tutor10_2_3.xml line 1 element foo
Expecting no namespace for element foo
RNG validity error: file ./test/relaxng/tutor10_2_3.xml line 1 element foo
Extra data in the document
RNG validity error: file ./test/relaxng/tutor10_2_4.xml line 1 element foo
Expecting no namespace for element foo
RNG validity error: file ./test/relaxng/tutor10_2_4.xml line 1 element foo
Extra data in the document
RNG validity error: file ./test/relaxng/tutor10_7_3.xml line 2 element card
Element card failed to validate attributes
RNG validity error: file ./test/relaxng/tutor10_7_3.xml line 2 element card
Invalid attribute name for element card
RNG validity error: file ./test/relaxng/tutor10_7_3.xml line 2 element card
Invalid attribute email for element card
RNG validity error: file ./test/relaxng/tutor10_7_3.xml line 2 element card
Element addressBook has extra content: card
RNG validity error: file ./test/relaxng/tutor10_8_3.xml line 2 element card
Element card failed to validate attributes
RNG validity error: file ./test/relaxng/tutor10_8_3.xml line 2 element card
Invalid attribute name for element card
RNG validity error: file ./test/relaxng/tutor10_8_3.xml line 2 element card
Invalid attribute email for element card
RNG validity error: file ./test/relaxng/tutor10_8_3.xml line 2 element card
Element addressBook has extra content: card
RNG validity error: file ./test/relaxng/tutor11_2_3.xml line 3 element card
Invalid attribute b for element card
Invalid attribute foo for element card
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting an element , got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 2 element zeroOrMore
Invalid sequence in interleave
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element element, got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element attribute, got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element group, got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element interleave, got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element choice, got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element optional, got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element zeroOrMore, got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element oneOrMore, got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element list, got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element mixed, got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element ref, got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element parentRef, got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element empty, got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element text, got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element value, got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element data, got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element notAllowed, got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element externalRef, got nothing
Expecting an element , got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 4 element documentation
Invalid sequence in interleave
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting an element grammar, got nothing
Expecting an element , got nothing
RNG validity error: file ./test/relaxng/tutor12_1.rng line 4 element documentation
Invalid sequence in interleave
RNG validity error: file ./test/relaxng/tutor12_1.rng line 4 element documentation
Element element failed to validate content
RNG validity error: file ./test/relaxng/tutor12_1.rng line 4 element documentation
Element element has extra content: documentation
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element attribute, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element group, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element interleave, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element choice, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element optional, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element zeroOrMore, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element oneOrMore, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element list, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element mixed, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element ref, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element parentRef, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element empty, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element text, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element value, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element data, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element notAllowed, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element externalRef, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 3 element element
Expecting element grammar, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 2 element zeroOrMore
Invalid sequence in interleave
RNG validity error: file ./test/relaxng/tutor12_1.rng line 2 element zeroOrMore
Element zeroOrMore failed to validate content
RNG validity error: file ./test/relaxng/tutor12_1.rng line 2 element zeroOrMore
Expecting element oneOrMore, got zeroOrMore
RNG validity error: file ./test/relaxng/tutor12_1.rng line 2 element zeroOrMore
Expecting element list, got zeroOrMore
RNG validity error: file ./test/relaxng/tutor12_1.rng line 2 element zeroOrMore
Expecting element mixed, got zeroOrMore
RNG validity error: file ./test/relaxng/tutor12_1.rng line 2 element zeroOrMore
Expecting element ref, got zeroOrMore
RNG validity error: file ./test/relaxng/tutor12_1.rng line 2 element zeroOrMore
Expecting element parentRef, got zeroOrMore
RNG validity error: file ./test/relaxng/tutor12_1.rng line 2 element zeroOrMore
Expecting element empty, got zeroOrMore
RNG validity error: file ./test/relaxng/tutor12_1.rng line 2 element zeroOrMore
Expecting element text, got zeroOrMore
RNG validity error: file ./test/relaxng/tutor12_1.rng line 2 element zeroOrMore
Expecting element value, got zeroOrMore
RNG validity error: file ./test/relaxng/tutor12_1.rng line 2 element zeroOrMore
Expecting element data, got zeroOrMore
RNG validity error: file ./test/relaxng/tutor12_1.rng line 2 element zeroOrMore
Expecting element notAllowed, got zeroOrMore
RNG validity error: file ./test/relaxng/tutor12_1.rng line 2 element zeroOrMore
Expecting element externalRef, got zeroOrMore
RNG validity error: file ./test/relaxng/tutor12_1.rng line 2 element zeroOrMore
Expecting element grammar, got zeroOrMore
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Invalid sequence in interleave
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Element element failed to validate content
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element attribute, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element group, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element interleave, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element choice, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element optional, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element zeroOrMore, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element oneOrMore, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element list, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element mixed, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element ref, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element parentRef, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element empty, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element text, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element value, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element data, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element notAllowed, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element externalRef, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Expecting element grammar, got element
RNG validity error: file ./test/relaxng/tutor12_1.rng line 1 element element
Extra data in the document
......@@ -2,5 +2,3 @@ RNG validity error: file ./test/relaxng/tutor3_2_1.xml line 1 element email
Expecting element name, got email
RNG validity error: file ./test/relaxng/tutor3_2_1.xml line 1 element email
Element card failed to validate content
RNG validity error: file ./test/relaxng/tutor3_2_1.xml line 1 element email
Element card has extra content: email
RNG validity error: file ./test/relaxng/tutor3_5_2.xml line 2 element name
RNG validity error: file ./test/relaxng/tutor3_5_2.xml line 2 element email
Expecting element name, got email
RNG validity error: file ./test/relaxng/tutor3_5_2.xml line 2 element email
Element card failed to validate content
RNG validity error: file ./test/relaxng/tutor3_5_2.xml line 2 element name
Element card has extra content: name
RNG validity error: file ./test/relaxng/tutor3_5_2.xml line 2 element card
Element addressBook has extra content: card
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element element, got nothing
Expecting an element , got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element attribute, got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element group, got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element interleave, got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element choice, got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element optional, got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element zeroOrMore, got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element oneOrMore, got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element list, got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element mixed, got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element ref, got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element parentRef, got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element empty, got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element text, got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element value, got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element data, got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element notAllowed, got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element externalRef, got nothing
Invalid sequence in interleave
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting an element grammar, got nothing
Expecting an element , got nothing
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Invalid sequence in interleave
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Element element failed to validate content
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element attribute, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element group, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element interleave, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element choice, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element optional, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element zeroOrMore, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element oneOrMore, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element list, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element mixed, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element ref, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element parentRef, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element empty, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element text, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element value, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element data, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element notAllowed, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element externalRef, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Expecting element grammar, got element
RNG validity error: file ./test/relaxng/tutor3_7.rng line 1 element element
Extra data in the document
RNG validity error: file ./test/relaxng/tutor6_1_3.xml line 1 element card
Element card failed to validate attributes
RNG validity error: file ./test/relaxng/tutor6_1_3.xml line 1 element card
Invalid attribute preferredFormat for element card
RNG validity error: file ./test/relaxng/tutor6_2_4.xml line 4 element text
Error validating value
RNG validity error: file ./test/relaxng/tutor6_2_4.xml line 4 element text
Error validating value
RNG validity error: file ./test/relaxng/tutor6_2_4.xml line 4 element text
Element preferredFormat failed to validate content
RNG validity error: file ./test/relaxng/tutor6_2_4.xml line 4 element text
Element preferredFormat has extra content: text
RNG validity error: file ./test/relaxng/tutor6_2_4.xml line 1 element card
Element card failed to validate content
RNG validity error: file ./test/relaxng/tutor6_3_1.xml line 1 element card
Element card failed to validate attributes
RNG validity error: file ./test/relaxng/tutor6_3_1.xml line 1 element card
Invalid attribute preferredFormat for element card
......@@ -4,5 +4,3 @@ RNG validity error: file ./test/relaxng/tutor7_1_2.xml line 1 element text
Error validating list
RNG validity error: file ./test/relaxng/tutor7_1_2.xml line 1 element text
Element vector failed to validate content
RNG validity error: file ./test/relaxng/tutor7_1_2.xml line 1 element text
Element vector has extra content: text
......@@ -4,5 +4,3 @@ RNG validity error: file ./test/relaxng/tutor7_1_3.xml line 1 element text
Error validating list
RNG validity error: file ./test/relaxng/tutor7_1_3.xml line 1 element text
Element vector failed to validate content
RNG validity error: file ./test/relaxng/tutor7_1_3.xml line 1 element text
Element vector has extra content: text
......@@ -4,5 +4,3 @@ RNG validity error: file ./test/relaxng/tutor7_3_4.xml line 1 element text
Error validating list
RNG validity error: file ./test/relaxng/tutor7_3_4.xml line 1 element text
Element path failed to validate content
RNG validity error: file ./test/relaxng/tutor7_3_4.xml line 1 element text
Element path has extra content: text
......@@ -4,5 +4,3 @@ RNG validity error: file ./test/relaxng/tutor7_3_5.xml line 1 element text
Error validating list
RNG validity error: file ./test/relaxng/tutor7_3_5.xml line 1 element text
Element path failed to validate content
RNG validity error: file ./test/relaxng/tutor7_3_5.xml line 1 element text
Element path has extra content: text
RNG validity error: file ./test/relaxng/tutor8_2_4.xml line 5 element title
RNG validity error
Extra element title in interleave
RNG validity error: file ./test/relaxng/tutor8_2_4.xml line 5 element title
Element head failed to validate content
RNG validity error: file ./test/relaxng/tutor8_2_4.xml line 5 element title
Element head has extra content: title
RNG validity error: file ./test/relaxng/tutor8_2_6.xml line 4 element base
RNG validity error
Extra element base in interleave
RNG validity error: file ./test/relaxng/tutor8_2_6.xml line 4 element base
Element head failed to validate content
RNG validity error: file ./test/relaxng/tutor8_2_6.xml line 4 element base
Element head has extra content: base
<testSuite>
<author>Daniel Veillard</author>
<email>daniel@veillard.com</email>
<documentation>For libxml2 implementation of Relax NG spec.</documentation>
<testSuite>
<documentation>Test of indeterminism</documentation>
<testCase>
<correct>
<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
<zeroOrMore>
<element name="bar">
<empty/>
</element>
</zeroOrMore>
<element name="baz">
<empty/>
</element>
</element>
</correct>
<invalid>
<foo/>
</invalid>
<valid>
<foo>
<baz/>
</foo>
</valid>
<valid>
<foo>
<bar/>
<baz/>
</foo>
</valid>
<valid>
<foo>
<bar/>
<bar/>
<bar/>
<baz/>
</foo>
</valid>
</testCase>
<testCase>
<correct>
<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
<zeroOrMore>
<element name="bar">
<empty/>
</element>
</zeroOrMore>
<element name="bar">
<empty/>
</element>
</element>
</correct>
<invalid>
<foo/>
</invalid>
<valid>
<foo>
<bar/>
</foo>
</valid>
<valid>
<foo>
<bar/>
<bar/>
</foo>
</valid>
<valid>
<foo>
<bar/>
<bar/>
<bar/>
<bar/>
</foo>
</valid>
</testCase>
<testCase>
<correct>
<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
<group>
<zeroOrMore>
<element name="bar">
<empty/>
</element>
</zeroOrMore>
<element name="baz">
<empty/>
</element>
</group>
</element>
</correct>
<invalid>
<foo/>
</invalid>
<valid>
<foo>
<baz/>
</foo>
</valid>
<valid>
<foo>
<bar/>
<baz/>
</foo>
</valid>
<valid>
<foo>
<bar/>
<bar/>
<bar/>
<baz/>
</foo>
</valid>
</testCase>
<testCase>
<correct>
<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
<group>
<zeroOrMore>
<element name="bar">
<empty/>
</element>
</zeroOrMore>
<element name="bar">
<empty/>
</element>
</group>
</element>
</correct>
<invalid>
<foo/>
</invalid>
<valid>
<foo>
<bar/>
</foo>
</valid>
<valid>
<foo>
<bar/>
<bar/>
</foo>
</valid>
<valid>
<foo>
<bar/>
<bar/>
<bar/>
<bar/>
</foo>
</valid>
</testCase>
<testCase>
<correct>
<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
<choice>
<zeroOrMore>
<element name="bar">
<empty/>
</element>
</zeroOrMore>
<element name="baz">
<empty/>
</element>
</choice>
</element>
</correct>
<valid>
<foo/>
</valid>
<valid>
<foo>
<baz/>
</foo>
</valid>
<valid>
<foo>
<bar/>
<bar/>
<bar/>
</foo>
</valid>
<invalid>
<foo>
<bar/>
<baz/>
</foo>
</invalid>
<invalid>
<foo>
<bar/>
<bar/>
<bar/>
<bar/>
<baz/>
</foo>
</invalid>
</testCase>
<testCase>
<correct>
<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
<choice>
<zeroOrMore>
<element name="bar">
<empty/>
</element>
</zeroOrMore>
<element name="baz">
<empty/>
</element>
</choice>
<element name="baz">
<empty/>
</element>
</element>
</correct>
<invalid>
<foo/>
</invalid>
<valid>
<foo>
<baz/>
</foo>
</valid>
<valid>
<foo>
<baz/>
<baz/>
</foo>
</valid>
<valid>
<foo>
<bar/>
<bar/>
<bar/>
<baz/>
</foo>
</valid>
<invalid>
<foo>
<bar/>
<baz/>
<baz/>
</foo>
</invalid>
<invalid>
<foo>
<baz/>
<bar/>
<baz/>
</foo>
</invalid>
</testCase>
<testCase>
<correct>
<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0">
<choice>
<zeroOrMore>
<element name="bar">
<empty/>
</element>
</zeroOrMore>
<element name="bar">
<empty/>
</element>
</choice>
</element>
</correct>
<valid>
<foo/>
</valid>
<valid>