Edit

kc3-lang/libxml2/test/schemas/bug167754_0.xsd

Branch :

  • Show log

    Commit

  • Author : Kasimier T. Buchcik
    Date : 2005-02-18 11:47:38
    Hash : 0c347767
    Message : Added the regression test of Frans Englich for bug #167754. * test/schemas/bug167754_0*: Added the regression test of Frans Englich for bug #167754.

  • test/schemas/bug167754_0.xsd
  • <?xml version="1.0"?>
    <xsd:schema  
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"  
            xmlns:target="http://www.example.com/Test"  
            targetNamespace="http://www.example.com/Test"  
            version="1.0"  
            elementFormDefault="qualified" >  
        
            <xsd:element name="foo" />  
            <xsd:element name="bar" />  
            <xsd:element name="joe" />  
      
            <xsd:complexType name="dominik">  
                    <xsd:all>  
                            <xsd:element minOccurs="0" ref="target:foo" />  
                            <xsd:element minOccurs="0" ref="target:bar" />  
                            <xsd:element minOccurs="0" ref="target:joe" />  
                    </xsd:all>  
            </xsd:complexType>  
      
            <xsd:element name="test">  
                    <xsd:complexType>  
                            <xsd:sequence>  
                                    <xsd:element maxOccurs="unbounded" name="child" type="target:dominik" />  
                            </xsd:sequence>  
                    </xsd:complexType>  
            </xsd:element>  
      
    </xsd:schema>