Edit

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

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2004-08-10 14:17:33
    Hash : c0826a77
    Message : applied Schemas patches from Kasimier Buchcik lot of new tests for things * configure.in xmlregexp.c xmlschemas.c xmlschemastypes.c include/libxml/schemasInternals.h include/libxml/xmlerror.h include/libxml/xmlschemastypes.h: applied Schemas patches from Kasimier Buchcik * test/ result/ bug141333* annot-err* any[1-4]* bug145246* element-err* element-minmax-err* include1* restrict-CT-attr-ref*: lot of new tests for things fixed by the patch Daniel

  • test/schemas/include1_0.xsd
  • <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    	targetNamespace="http://FOO"
    	xmlns:foo="http://FOO" version="">
    	<xsd:include schemaLocation="include1_0.inc" />
    	<xsd:element name="foo">
    		<xsd:complexType>
    			<xsd:sequence>
    				<xsd:element ref="foo:bar"/>
    				<xsd:element name="boo" type="xsd:string"/>
    			</xsd:sequence>	
    			<xsd:attribute name="req" use="required" form="qualified"/>		
    		</xsd:complexType>
    	</xsd:element>
    </xsd:schema>