mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-27 03:21:26 +03:00
9186a1fdb6
* relaxng.c: fixed bug #157633 in relaxng choice optimization * result/relaxng/choice0* test/relaxng/choice0*: added regression tests about it. * doc/*: rebuilt * testdso.c: removed a warning due to a missing void in signature. Daniel
26 lines
492 B
XML
26 lines
492 B
XML
<?xml version="1.0"?>
|
|
<element xmlns="http://relaxng.org/ns/structure/1.0" name="device">
|
|
<choice>
|
|
<group>
|
|
<attribute name="link">
|
|
<value>ethernet</value>
|
|
</attribute>
|
|
<optional>
|
|
<element name="ethernet-element">
|
|
<text/>
|
|
</element>
|
|
</optional>
|
|
</group>
|
|
<group>
|
|
<attribute name="link">
|
|
<value>serial</value>
|
|
</attribute>
|
|
<optional>
|
|
<element name="serial-element">
|
|
<text/>
|
|
</element>
|
|
</optional>
|
|
</group>
|
|
</choice>
|
|
</element>
|