mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-27 03:21:26 +03:00
236c8c09f0
* relaxng.c: added check for external reference in xmlRelaxNGGetElements (bug 137718) * test/relaxng/rngbug-001.*, result/relaxng/rngbug-001*: added regression test for above
17 lines
373 B
XML
17 lines
373 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
|
|
<start>
|
|
<ref name="root"/>
|
|
</start>
|
|
<define name="root">
|
|
<element name="root">
|
|
<interleave>
|
|
<element name="e1">
|
|
<text/>
|
|
</element>
|
|
<externalRef href="rngbug-001.ext"/>
|
|
</interleave>
|
|
</element>
|
|
</define>
|
|
</grammar>
|