VirtualBox

source: vbox/trunk/src/libs/libxml2-2.9.14/test/schemas/bug141333.xsd@ 100947

Last change on this file since 100947 was 95312, checked in by vboxsync, 3 years ago

libs/{curl,libxml2}: OSE export fixes, bugref:8515

File size: 616 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette