VirtualBox

source: vbox/trunk/src/libs/libxml2-2.9.14/test/schemas/src-element3_0.xsd@ 101978

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

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

File size: 724 bytes
Line 
1<?xml version="1.0" encoding="ISO-8859-1" ?>
2<!-- 3.2.3 : 3
3 type and either <simpleType> or <complexType> are mutually exclusive
4-->
5<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo">
6
7 <element name="foo" type="foo:someType">
8 <complexType>
9 <sequence>
10 <element name="bar" type="string"/>
11 </sequence>
12 </complexType>
13 </element>
14
15 <element name="bar" type="foo:someType">
16 <simpleType>
17 <restriction base="string">
18 <maxLength value="20"/>
19 </restriction>
20 </simpleType>
21 </element>
22
23 <complexType name="someType">
24 <sequence>
25 <element name="bar" type="string"/>
26 </sequence>
27 </complexType>
28
29</schema>
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