1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
libxml2/test/relaxng/558452.rng
Daniel Veillard ec18c96008 558452 fight with reg test and error report
* relaxng.c: tiny fix and provide more context on some errors
* result/relaxng/558452_0* test/relaxng/558452*: add some regression
  tests for the bugs
* Makefile.am runtest.c: fight with the fact streaming error messages
  can differ due to missing node context
2009-08-26 18:37:43 +02:00

22 lines
451 B
XML

<?xml version="1.0"?>
<grammar ns="http://www.example.com/choice"
xmlns="http://relaxng.org/ns/structure/1.0">
<start>
<element name="doc" ns="">
<ref name="elem"/>
<optional>
<ref name="elem"/>
<optional>
<ref name="elem"/>
</optional>
</optional>
</element>
</start>
<define name="elem">
<element name="elem" ns="">
<text/>
</element>
</define>
</grammar>