Edit

kc3-lang/libxml2/test/relaxng/307377.rng

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2005-08-10 16:23:57
    Hash : 60faf528
    Message : fixed bug #307377 about validation of choices in list values. added * relaxng.c: fixed bug #307377 about validation of choices in list values. * test/relaxng/307377* result/relaxng/307377* Makefile.am runtest.c: added examples to the regression tests, problem is that streaming version gives slightly more informations. Daniel

  • test/relaxng/307377.rng
  • <element name="number" xmlns="http://relaxng.org/ns/structure/1.0">
       <attribute name="val">
          <list>
             <oneOrMore>
                <choice>
                   <value>1</value>
                   <value>2</value>
                   <value>3</value>
                </choice>
             </oneOrMore>
          </list>
       </attribute>
       <text/>
    </element>