mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
Adding test file, Daniel
This commit is contained in:
parent
fa0d094ae3
commit
be58a0a319
@ -2,6 +2,8 @@ Fri Oct 13 18:30:55 CEST 2006 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* relaxng.c: fix a Relax-NG bug related to element content processing,
|
||||
fixes bug #302836
|
||||
* test/relaxng/302836.rng test/relaxng/302836_0.xml
|
||||
result/relaxng/302836*: added to regression tests
|
||||
|
||||
Fri Oct 13 14:42:44 CEST 2006 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
|
0
result/relaxng/302836_0
Normal file
0
result/relaxng/302836_0
Normal file
1
result/relaxng/302836_0.err
Normal file
1
result/relaxng/302836_0.err
Normal file
@ -0,0 +1 @@
|
||||
./test/relaxng/302836_0.xml validates
|
1
result/relaxng/302836_err
Normal file
1
result/relaxng/302836_err
Normal file
@ -0,0 +1 @@
|
||||
./test/relaxng/302836.rng validates
|
0
result/relaxng/302836_valid
Normal file
0
result/relaxng/302836_valid
Normal file
35
test/relaxng/302836.rng
Normal file
35
test/relaxng/302836.rng
Normal file
@ -0,0 +1,35 @@
|
||||
<element name="base"
|
||||
xmlns="http://relaxng.org/ns/structure/1.0">
|
||||
<choice>
|
||||
<group>
|
||||
<element name="data">
|
||||
<value>firstValue</value>
|
||||
</element>
|
||||
<oneOrMore>
|
||||
<element name="option">
|
||||
<element name="value">
|
||||
<text/>
|
||||
</element>
|
||||
<element name="label">
|
||||
<text/>
|
||||
</element>
|
||||
</element>
|
||||
</oneOrMore>
|
||||
</group>
|
||||
<group>
|
||||
<element name="data">
|
||||
<value>secondValue</value>
|
||||
</element>
|
||||
<oneOrMore>
|
||||
<element name="option">
|
||||
<element name="value">
|
||||
<text/>
|
||||
</element>
|
||||
<element name="label">
|
||||
<text/>
|
||||
</element>
|
||||
</element>
|
||||
</oneOrMore>
|
||||
</group>
|
||||
</choice>
|
||||
</element>
|
12
test/relaxng/302836_0.xml
Normal file
12
test/relaxng/302836_0.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" ?>
|
||||
<base>
|
||||
<data>secondValue</data>
|
||||
<option>
|
||||
<value>how</value>
|
||||
<label>some</label>
|
||||
</option>
|
||||
<option>
|
||||
<value>this</value>
|
||||
<label>more</label>
|
||||
</option>
|
||||
</base>
|
Loading…
x
Reference in New Issue
Block a user