mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-27 03:21:26 +03:00
check all the namespace support was actually correct based on tutorial
* test/relaxng/* result/relaxng/*: check all the namespace support was actually correct based on tutorial section 10. Daniel
This commit is contained in:
parent
e2a5a08b0f
commit
fc1a4503fb
@ -1,3 +1,8 @@
|
||||
Sun Feb 2 17:01:43 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* test/relaxng/* result/relaxng/*: check all the namespace support
|
||||
was actually correct based on tutorial section 10.
|
||||
|
||||
Sun Feb 2 15:33:38 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* relaxng: include seems to work okay now
|
||||
|
1
result/relaxng/tutor10_10_1
Normal file
1
result/relaxng/tutor10_10_1
Normal file
@ -0,0 +1 @@
|
||||
./test/relaxng/tutor10_10_1.xml validates
|
4
result/relaxng/tutor10_10_1.err
Normal file
4
result/relaxng/tutor10_10_1.err
Normal file
@ -0,0 +1,4 @@
|
||||
xmlRelaxNGValidateDefinition(): validated name : 0
|
||||
xmlRelaxNGValidateDefinition(): validated email : 0
|
||||
xmlRelaxNGValidateDefinition(): validated card : 0
|
||||
xmlRelaxNGValidateDefinition(): validated addressBook : 0
|
1
result/relaxng/tutor10_1_1
Normal file
1
result/relaxng/tutor10_1_1
Normal file
@ -0,0 +1 @@
|
||||
./test/relaxng/tutor10_1_1.xml validates
|
2
result/relaxng/tutor10_1_1.err
Normal file
2
result/relaxng/tutor10_1_1.err
Normal file
@ -0,0 +1,2 @@
|
||||
xmlRelaxNGValidateDefinition(): validated empty
|
||||
xmlRelaxNGValidateDefinition(): validated foo : 0
|
1
result/relaxng/tutor10_1_2
Normal file
1
result/relaxng/tutor10_1_2
Normal file
@ -0,0 +1 @@
|
||||
./test/relaxng/tutor10_1_2.xml validates
|
2
result/relaxng/tutor10_1_2.err
Normal file
2
result/relaxng/tutor10_1_2.err
Normal file
@ -0,0 +1,2 @@
|
||||
xmlRelaxNGValidateDefinition(): validated empty
|
||||
xmlRelaxNGValidateDefinition(): validated foo : 0
|
1
result/relaxng/tutor10_1_3
Normal file
1
result/relaxng/tutor10_1_3
Normal file
@ -0,0 +1 @@
|
||||
./test/relaxng/tutor10_1_3.xml validates
|
2
result/relaxng/tutor10_1_3.err
Normal file
2
result/relaxng/tutor10_1_3.err
Normal file
@ -0,0 +1,2 @@
|
||||
xmlRelaxNGValidateDefinition(): validated empty
|
||||
xmlRelaxNGValidateDefinition(): validated foo : 0
|
3
result/relaxng/tutor10_1_4
Normal file
3
result/relaxng/tutor10_1_4
Normal file
@ -0,0 +1,3 @@
|
||||
Expecting a namespace for element foo
|
||||
extra data on the document
|
||||
./test/relaxng/tutor10_1_4.xml validation generated an internal error
|
2
result/relaxng/tutor10_1_4.err
Normal file
2
result/relaxng/tutor10_1_4.err
Normal file
@ -0,0 +1,2 @@
|
||||
error detected at relaxng.c:4741
|
||||
error detected at relaxng.c:5027
|
3
result/relaxng/tutor10_1_5
Normal file
3
result/relaxng/tutor10_1_5
Normal file
@ -0,0 +1,3 @@
|
||||
Expecting element foo has wrong namespace: expecting http://www.example.com
|
||||
extra data on the document
|
||||
./test/relaxng/tutor10_1_5.xml validation generated an internal error
|
2
result/relaxng/tutor10_1_5.err
Normal file
2
result/relaxng/tutor10_1_5.err
Normal file
@ -0,0 +1,2 @@
|
||||
error detected at relaxng.c:4746
|
||||
error detected at relaxng.c:5027
|
3
result/relaxng/tutor10_1_6
Normal file
3
result/relaxng/tutor10_1_6
Normal file
@ -0,0 +1,3 @@
|
||||
Expecting element foo has wrong namespace: expecting http://www.example.com
|
||||
extra data on the document
|
||||
./test/relaxng/tutor10_1_6.xml validation generated an internal error
|
2
result/relaxng/tutor10_1_6.err
Normal file
2
result/relaxng/tutor10_1_6.err
Normal file
@ -0,0 +1,2 @@
|
||||
error detected at relaxng.c:4746
|
||||
error detected at relaxng.c:5027
|
1
result/relaxng/tutor10_2_1
Normal file
1
result/relaxng/tutor10_2_1
Normal file
@ -0,0 +1 @@
|
||||
./test/relaxng/tutor10_2_1.xml validates
|
2
result/relaxng/tutor10_2_1.err
Normal file
2
result/relaxng/tutor10_2_1.err
Normal file
@ -0,0 +1,2 @@
|
||||
xmlRelaxNGValidateDefinition(): validated empty
|
||||
xmlRelaxNGValidateDefinition(): validated foo : 0
|
1
result/relaxng/tutor10_2_2
Normal file
1
result/relaxng/tutor10_2_2
Normal file
@ -0,0 +1 @@
|
||||
./test/relaxng/tutor10_2_2.xml validates
|
2
result/relaxng/tutor10_2_2.err
Normal file
2
result/relaxng/tutor10_2_2.err
Normal file
@ -0,0 +1,2 @@
|
||||
xmlRelaxNGValidateDefinition(): validated empty
|
||||
xmlRelaxNGValidateDefinition(): validated foo : 0
|
3
result/relaxng/tutor10_2_3
Normal file
3
result/relaxng/tutor10_2_3
Normal file
@ -0,0 +1,3 @@
|
||||
Expecting no namespace for element foo
|
||||
extra data on the document
|
||||
./test/relaxng/tutor10_2_3.xml validation generated an internal error
|
2
result/relaxng/tutor10_2_3.err
Normal file
2
result/relaxng/tutor10_2_3.err
Normal file
@ -0,0 +1,2 @@
|
||||
error detected at relaxng.c:4753
|
||||
error detected at relaxng.c:5027
|
3
result/relaxng/tutor10_2_4
Normal file
3
result/relaxng/tutor10_2_4
Normal file
@ -0,0 +1,3 @@
|
||||
Expecting no namespace for element foo
|
||||
extra data on the document
|
||||
./test/relaxng/tutor10_2_4.xml validation generated an internal error
|
2
result/relaxng/tutor10_2_4.err
Normal file
2
result/relaxng/tutor10_2_4.err
Normal file
@ -0,0 +1,2 @@
|
||||
error detected at relaxng.c:4753
|
||||
error detected at relaxng.c:5027
|
1
result/relaxng/tutor10_3_1
Normal file
1
result/relaxng/tutor10_3_1
Normal file
@ -0,0 +1 @@
|
||||
./test/relaxng/tutor10_3_1.xml validates
|
4
result/relaxng/tutor10_3_1.err
Normal file
4
result/relaxng/tutor10_3_1.err
Normal file
@ -0,0 +1,4 @@
|
||||
xmlRelaxNGValidateDefinition(): validated name : 0
|
||||
xmlRelaxNGValidateDefinition(): validated email : 0
|
||||
xmlRelaxNGValidateDefinition(): validated card : 0
|
||||
xmlRelaxNGValidateDefinition(): validated addressBook : 0
|
1
result/relaxng/tutor10_4_1
Normal file
1
result/relaxng/tutor10_4_1
Normal file
@ -0,0 +1 @@
|
||||
./test/relaxng/tutor10_4_1.xml validates
|
4
result/relaxng/tutor10_4_1.err
Normal file
4
result/relaxng/tutor10_4_1.err
Normal file
@ -0,0 +1,4 @@
|
||||
xmlRelaxNGValidateDefinition(): validated name : 0
|
||||
xmlRelaxNGValidateDefinition(): validated email : 0
|
||||
xmlRelaxNGValidateDefinition(): validated card : 0
|
||||
xmlRelaxNGValidateDefinition(): validated addressBook : 0
|
1
result/relaxng/tutor10_5_1
Normal file
1
result/relaxng/tutor10_5_1
Normal file
@ -0,0 +1 @@
|
||||
./test/relaxng/tutor10_5_1.xml validates
|
4
result/relaxng/tutor10_5_1.err
Normal file
4
result/relaxng/tutor10_5_1.err
Normal file
@ -0,0 +1,4 @@
|
||||
xmlRelaxNGValidateDefinition(): validated name : 0
|
||||
xmlRelaxNGValidateDefinition(): validated email : 0
|
||||
xmlRelaxNGValidateDefinition(): validated card : 0
|
||||
xmlRelaxNGValidateDefinition(): validated addressBook : 0
|
1
result/relaxng/tutor10_6_1
Normal file
1
result/relaxng/tutor10_6_1
Normal file
@ -0,0 +1 @@
|
||||
./test/relaxng/tutor10_6_1.xml validates
|
4
result/relaxng/tutor10_6_1.err
Normal file
4
result/relaxng/tutor10_6_1.err
Normal file
@ -0,0 +1,4 @@
|
||||
xmlRelaxNGValidateDefinition(): validated name : 0
|
||||
xmlRelaxNGValidateDefinition(): validated email : 0
|
||||
xmlRelaxNGValidateDefinition(): validated card : 0
|
||||
xmlRelaxNGValidateDefinition(): validated addressBook : 0
|
1
result/relaxng/tutor10_7_1
Normal file
1
result/relaxng/tutor10_7_1
Normal file
@ -0,0 +1 @@
|
||||
./test/relaxng/tutor10_7_1.xml validates
|
4
result/relaxng/tutor10_7_1.err
Normal file
4
result/relaxng/tutor10_7_1.err
Normal file
@ -0,0 +1,4 @@
|
||||
xmlRelaxNGValidateAttribute(email): 0
|
||||
xmlRelaxNGValidateAttribute(name): 0
|
||||
xmlRelaxNGValidateDefinition(): validated card : 0
|
||||
xmlRelaxNGValidateDefinition(): validated addressBook : 0
|
1
result/relaxng/tutor10_7_2
Normal file
1
result/relaxng/tutor10_7_2
Normal file
@ -0,0 +1 @@
|
||||
./test/relaxng/tutor10_7_2.xml validates
|
4
result/relaxng/tutor10_7_2.err
Normal file
4
result/relaxng/tutor10_7_2.err
Normal file
@ -0,0 +1,4 @@
|
||||
xmlRelaxNGValidateAttribute(email): 0
|
||||
xmlRelaxNGValidateAttribute(name): 0
|
||||
xmlRelaxNGValidateDefinition(): validated card : 0
|
||||
xmlRelaxNGValidateDefinition(): validated addressBook : 0
|
2
result/relaxng/tutor10_7_3
Normal file
2
result/relaxng/tutor10_7_3
Normal file
@ -0,0 +1,2 @@
|
||||
Extra content for element addressBook
|
||||
./test/relaxng/tutor10_7_3.xml validation generated an internal error
|
5
result/relaxng/tutor10_7_3.err
Normal file
5
result/relaxng/tutor10_7_3.err
Normal file
@ -0,0 +1,5 @@
|
||||
xmlRelaxNGValidateAttribute(email): -1
|
||||
xmlRelaxNGValidateAttribute(name): -1
|
||||
xmlRelaxNGValidateDefinition(): validated card : -1
|
||||
error detected at relaxng.c:4781
|
||||
xmlRelaxNGValidateDefinition(): validated addressBook : -1
|
1
result/relaxng/tutor10_8_1
Normal file
1
result/relaxng/tutor10_8_1
Normal file
@ -0,0 +1 @@
|
||||
./test/relaxng/tutor10_8_1.xml validates
|
4
result/relaxng/tutor10_8_1.err
Normal file
4
result/relaxng/tutor10_8_1.err
Normal file
@ -0,0 +1,4 @@
|
||||
xmlRelaxNGValidateAttribute(email): 0
|
||||
xmlRelaxNGValidateAttribute(name): 0
|
||||
xmlRelaxNGValidateDefinition(): validated card : 0
|
||||
xmlRelaxNGValidateDefinition(): validated addressBook : 0
|
1
result/relaxng/tutor10_8_2
Normal file
1
result/relaxng/tutor10_8_2
Normal file
@ -0,0 +1 @@
|
||||
./test/relaxng/tutor10_8_2.xml validates
|
4
result/relaxng/tutor10_8_2.err
Normal file
4
result/relaxng/tutor10_8_2.err
Normal file
@ -0,0 +1,4 @@
|
||||
xmlRelaxNGValidateAttribute(email): 0
|
||||
xmlRelaxNGValidateAttribute(name): 0
|
||||
xmlRelaxNGValidateDefinition(): validated card : 0
|
||||
xmlRelaxNGValidateDefinition(): validated addressBook : 0
|
2
result/relaxng/tutor10_8_3
Normal file
2
result/relaxng/tutor10_8_3
Normal file
@ -0,0 +1,2 @@
|
||||
Extra content for element addressBook
|
||||
./test/relaxng/tutor10_8_3.xml validation generated an internal error
|
5
result/relaxng/tutor10_8_3.err
Normal file
5
result/relaxng/tutor10_8_3.err
Normal file
@ -0,0 +1,5 @@
|
||||
xmlRelaxNGValidateAttribute(email): -1
|
||||
xmlRelaxNGValidateAttribute(name): -1
|
||||
xmlRelaxNGValidateDefinition(): validated card : -1
|
||||
error detected at relaxng.c:4781
|
||||
xmlRelaxNGValidateDefinition(): validated addressBook : -1
|
1
result/relaxng/tutor10_9_1
Normal file
1
result/relaxng/tutor10_9_1
Normal file
@ -0,0 +1 @@
|
||||
./test/relaxng/tutor10_9_1.xml validates
|
4
result/relaxng/tutor10_9_1.err
Normal file
4
result/relaxng/tutor10_9_1.err
Normal file
@ -0,0 +1,4 @@
|
||||
xmlRelaxNGValidateDefinition(): validated name : 0
|
||||
xmlRelaxNGValidateDefinition(): validated email : 0
|
||||
xmlRelaxNGValidateDefinition(): validated card : 0
|
||||
xmlRelaxNGValidateDefinition(): validated addressBook : 0
|
4
test/relaxng/tutor10_1.rng
Normal file
4
test/relaxng/tutor10_1.rng
Normal file
@ -0,0 +1,4 @@
|
||||
<element name="foo" ns="http://www.example.com"
|
||||
xmlns="http://relaxng.org/ns/structure/1.0">
|
||||
<empty/>
|
||||
</element>
|
13
test/relaxng/tutor10_10.rng
Normal file
13
test/relaxng/tutor10_10.rng
Normal file
@ -0,0 +1,13 @@
|
||||
<element name="addressBook" ns="http://www.example.com/addressBook"
|
||||
xmlns="http://relaxng.org/ns/structure/1.0">
|
||||
<zeroOrMore>
|
||||
<element name="card" ns="http://www.example.com/addressBook">
|
||||
<element name="name" ns="http://www.example.com/address">
|
||||
<text/>
|
||||
</element>
|
||||
<element name="email" ns="http://www.example.com/address">
|
||||
<text/>
|
||||
</element>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
</element>
|
5
test/relaxng/tutor10_10_1.xml
Normal file
5
test/relaxng/tutor10_10_1.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<a:addressBook xmlns:a="http://www.example.com/addressBook">
|
||||
<a:card xmlns="http://www.example.com/address">
|
||||
<name>foo</name><email>bar</email>
|
||||
</a:card>
|
||||
</a:addressBook>
|
1
test/relaxng/tutor10_1_1.xml
Normal file
1
test/relaxng/tutor10_1_1.xml
Normal file
@ -0,0 +1 @@
|
||||
<foo xmlns="http://www.example.com"/>
|
1
test/relaxng/tutor10_1_2.xml
Normal file
1
test/relaxng/tutor10_1_2.xml
Normal file
@ -0,0 +1 @@
|
||||
<e:foo xmlns:e="http://www.example.com"/>
|
1
test/relaxng/tutor10_1_3.xml
Normal file
1
test/relaxng/tutor10_1_3.xml
Normal file
@ -0,0 +1 @@
|
||||
<example:foo xmlns:example="http://www.example.com"/>
|
1
test/relaxng/tutor10_1_4.xml
Normal file
1
test/relaxng/tutor10_1_4.xml
Normal file
@ -0,0 +1 @@
|
||||
<foo/>
|
1
test/relaxng/tutor10_1_5.xml
Normal file
1
test/relaxng/tutor10_1_5.xml
Normal file
@ -0,0 +1 @@
|
||||
<e:foo xmlns:e="http://WWW.EXAMPLE.COM"/>
|
1
test/relaxng/tutor10_1_6.xml
Normal file
1
test/relaxng/tutor10_1_6.xml
Normal file
@ -0,0 +1 @@
|
||||
<example:foo xmlns:example="http://www.example.net"/>
|
3
test/relaxng/tutor10_2.rng
Normal file
3
test/relaxng/tutor10_2.rng
Normal file
@ -0,0 +1,3 @@
|
||||
<element name="foo" ns="" xmlns="http://relaxng.org/ns/structure/1.0">
|
||||
<empty/>
|
||||
</element>
|
1
test/relaxng/tutor10_2_1.xml
Normal file
1
test/relaxng/tutor10_2_1.xml
Normal file
@ -0,0 +1 @@
|
||||
<foo xmlns=""/>
|
1
test/relaxng/tutor10_2_2.xml
Normal file
1
test/relaxng/tutor10_2_2.xml
Normal file
@ -0,0 +1 @@
|
||||
<foo/>
|
1
test/relaxng/tutor10_2_3.xml
Normal file
1
test/relaxng/tutor10_2_3.xml
Normal file
@ -0,0 +1 @@
|
||||
<foo xmlns="http://www.example.com"/>
|
1
test/relaxng/tutor10_2_4.xml
Normal file
1
test/relaxng/tutor10_2_4.xml
Normal file
@ -0,0 +1 @@
|
||||
<e:foo xmlns:e="http://www.example.com"/>
|
12
test/relaxng/tutor10_3.rng
Normal file
12
test/relaxng/tutor10_3.rng
Normal file
@ -0,0 +1,12 @@
|
||||
<element name="addressBook" xmlns="http://relaxng.org/ns/structure/1.0">
|
||||
<zeroOrMore>
|
||||
<element name="card">
|
||||
<element name="name">
|
||||
<text/>
|
||||
</element>
|
||||
<element name="email">
|
||||
<text/>
|
||||
</element>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
</element>
|
3
test/relaxng/tutor10_3_1.xml
Normal file
3
test/relaxng/tutor10_3_1.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<addressBook>
|
||||
<card><name>foo</name><email>bar</email></card>
|
||||
</addressBook>
|
12
test/relaxng/tutor10_4.rng
Normal file
12
test/relaxng/tutor10_4.rng
Normal file
@ -0,0 +1,12 @@
|
||||
<element name="addressBook" ns="" xmlns="http://relaxng.org/ns/structure/1.0">
|
||||
<zeroOrMore>
|
||||
<element name="card" ns="">
|
||||
<element name="name" ns="">
|
||||
<text/>
|
||||
</element>
|
||||
<element name="email" ns="">
|
||||
<text/>
|
||||
</element>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
</element>
|
3
test/relaxng/tutor10_4_1.xml
Normal file
3
test/relaxng/tutor10_4_1.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<addressBook>
|
||||
<card><name>foo</name><email>bar</email></card>
|
||||
</addressBook>
|
13
test/relaxng/tutor10_5.rng
Normal file
13
test/relaxng/tutor10_5.rng
Normal file
@ -0,0 +1,13 @@
|
||||
<element name="addressBook" ns="http://www.example.com"
|
||||
xmlns="http://relaxng.org/ns/structure/1.0">
|
||||
<zeroOrMore>
|
||||
<element name="card">
|
||||
<element name="name">
|
||||
<text/>
|
||||
</element>
|
||||
<element name="email">
|
||||
<text/>
|
||||
</element>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
</element>
|
3
test/relaxng/tutor10_5_1.xml
Normal file
3
test/relaxng/tutor10_5_1.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<addressBook xmlns="http://www.example.com">
|
||||
<card><name>foo</name><email>bar</email></card>
|
||||
</addressBook>
|
13
test/relaxng/tutor10_6.rng
Normal file
13
test/relaxng/tutor10_6.rng
Normal file
@ -0,0 +1,13 @@
|
||||
<element name="addressBook" ns="http://www.example.com"
|
||||
xmlns="http://relaxng.org/ns/structure/1.0">
|
||||
<zeroOrMore>
|
||||
<element name="card" ns="http://www.example.com">
|
||||
<element name="name" ns="http://www.example.com">
|
||||
<text/>
|
||||
</element>
|
||||
<element name="email" ns="http://www.example.com">
|
||||
<text/>
|
||||
</element>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
</element>
|
3
test/relaxng/tutor10_6_1.xml
Normal file
3
test/relaxng/tutor10_6_1.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<addressBook xmlns="http://www.example.com">
|
||||
<card><name>foo</name><email>bar</email></card>
|
||||
</addressBook>
|
9
test/relaxng/tutor10_7.rng
Normal file
9
test/relaxng/tutor10_7.rng
Normal file
@ -0,0 +1,9 @@
|
||||
<element name="addressBook" ns="http://www.example.com"
|
||||
xmlns="http://relaxng.org/ns/structure/1.0">
|
||||
<zeroOrMore>
|
||||
<element name="card">
|
||||
<attribute name="name"/>
|
||||
<attribute name="email"/>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
</element>
|
3
test/relaxng/tutor10_7_1.xml
Normal file
3
test/relaxng/tutor10_7_1.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<addressBook xmlns="http://www.example.com">
|
||||
<card name="John Smith" email="js@example.com"/>
|
||||
</addressBook>
|
3
test/relaxng/tutor10_7_2.xml
Normal file
3
test/relaxng/tutor10_7_2.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<example:addressBook xmlns:example="http://www.example.com">
|
||||
<example:card name="John Smith" email="js@example.com"/>
|
||||
</example:addressBook>
|
3
test/relaxng/tutor10_7_3.xml
Normal file
3
test/relaxng/tutor10_7_3.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<example:addressBook xmlns:example="http://www.example.com">
|
||||
<example:card example:name="John Smith" example:email="js@example.com"/>
|
||||
</example:addressBook>
|
9
test/relaxng/tutor10_8.rng
Normal file
9
test/relaxng/tutor10_8.rng
Normal file
@ -0,0 +1,9 @@
|
||||
<element name="addressBook" ns="http://www.example.com"
|
||||
xmlns="http://relaxng.org/ns/structure/1.0">
|
||||
<zeroOrMore>
|
||||
<element name="card" ns="http://www.example.com">
|
||||
<attribute name="name" ns=""/>
|
||||
<attribute name="email" ns=""/>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
</element>
|
3
test/relaxng/tutor10_8_1.xml
Normal file
3
test/relaxng/tutor10_8_1.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<addressBook xmlns="http://www.example.com">
|
||||
<card name="John Smith" email="js@example.com"/>
|
||||
</addressBook>
|
3
test/relaxng/tutor10_8_2.xml
Normal file
3
test/relaxng/tutor10_8_2.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<example:addressBook xmlns:example="http://www.example.com">
|
||||
<example:card name="John Smith" email="js@example.com"/>
|
||||
</example:addressBook>
|
3
test/relaxng/tutor10_8_3.xml
Normal file
3
test/relaxng/tutor10_8_3.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<example:addressBook xmlns:example="http://www.example.com">
|
||||
<example:card example:name="John Smith" example:email="js@example.com"/>
|
||||
</example:addressBook>
|
14
test/relaxng/tutor10_9.rng
Normal file
14
test/relaxng/tutor10_9.rng
Normal file
@ -0,0 +1,14 @@
|
||||
<element name="ab:addressBook" xmlns:ab="http://www.example.com/addressBook"
|
||||
xmlns:a="http://www.example.com/address"
|
||||
xmlns="http://relaxng.org/ns/structure/1.0">
|
||||
<zeroOrMore>
|
||||
<element name="ab:card">
|
||||
<element name="a:name">
|
||||
<text/>
|
||||
</element>
|
||||
<element name="a:email">
|
||||
<text/>
|
||||
</element>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
</element>
|
5
test/relaxng/tutor10_9_1.xml
Normal file
5
test/relaxng/tutor10_9_1.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<a:addressBook xmlns:a="http://www.example.com/addressBook">
|
||||
<a:card xmlns="http://www.example.com/address">
|
||||
<name>foo</name><email>bar</email>
|
||||
</a:card>
|
||||
</a:addressBook>
|
Loading…
Reference in New Issue
Block a user