File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / libxml2 / test / schemas / bug141333.xsd
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:37:59 2012 UTC (12 years, 7 months ago) by misho
Branches: libxml2, MAIN
CVS tags: v2_9_1p0, v2_9_1, v2_8_0p0, v2_8_0, v2_7_8, HEAD
libxml2

    1: <?xml version="1.0" encoding="ISO-8859-1"?>
    2: <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified">
    3: 
    4: 	<xs:element name="foo" type="baseType"/>
    5: 
    6: 	<xs:complexType name="baseType">
    7: 		<xs:all>
    8: 			<xs:element name="bar" type="derivedType" minOccurs="0"/>
    9: 		</xs:all>
   10: 		<xs:attribute name="attrA" type="xs:string" use="required"/>
   11: 	</xs:complexType>
   12: 
   13: 	<xs:complexType name="derivedType">
   14: 		<xs:complexContent>
   15: 			<xs:extension base="baseType">
   16: 				<xs:attribute name="attrB" type="xs:string" use="required"/>
   17: 			</xs:extension>
   18: 		</xs:complexContent>
   19: 	</xs:complexType>
   20: 	
   21: </xs:schema>
   22: 
   23: 
   24: 
   25: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>