1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
libxml2/test/schemas/subst-group-1_1.xml
Kasimier T. Buchcik 92b394fcf3 Fixed bug #341150, reported by Michael Romer. In
* xmlschemas.c: Fixed bug #341150, reported by Michael Romer.
  In xmlSchemaBuildContentModelForSubstGroup(),
  xmlAutomataNewOnceTrans2() was incorrectly used instead of
  xmlAutomataNewTransition2() to mimic a xs:choice for
  substitution-groups.
* test/schemas/subst-group-1_1.xsd
  test/schemas/subst-group-1_0.xml
  result/schemas/subst-group-1_0_1
  result/schemas/subst-group-1_0_1.err: Added regression test
  supplied by Michael Romer for bug #341150.
2006-05-09 19:59:54 +00:00

13 lines
420 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- Test for bug #341150 -->
<TestRoot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="subst-group-1.xsd">
<Events>
<TestEvent>Test 1.</TestEvent>
<!-- Uncomment the following element to cause libxml's xmllint to
fail to validate. -->
<TestEvent>Test 2.</TestEvent>
</Events>
</TestRoot>