VirtualBox

source: vbox/trunk/src/libs/libxml2-2.9.14/test/schemas/union_0_0.xsd@ 95629

最後變更 在這個檔案從95629是 95312,由 vboxsync 提交於 3 年 前

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

檔案大小: 1.4 KB
 
1<?xml version="1.0" encoding="ISO-8859-1" ?>
2<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3 targetNamespace="http://foo"
4 xmlns="http://foo"
5 xmlns:a="http://foo">
6
7 <xsd:element name="foo">
8 <xsd:complexType>
9 <xsd:sequence>
10 <xsd:element name="em"
11 type="emType"
12 maxOccurs="unbounded"
13 form="qualified"/>
14 </xsd:sequence>
15 </xsd:complexType>
16 </xsd:element>
17
18 <xsd:simpleType name="emp0001_3Type">
19 <xsd:restriction base="xsd:ID">
20 <xsd:enumeration value="EMP0040"/>
21 <xsd:enumeration value="EMP0003"/>
22 <xsd:enumeration value="EMP0004"/>
23 <xsd:enumeration value="EMP0005"/>
24 </xsd:restriction>
25 </xsd:simpleType>
26
27 <xsd:simpleType name="emp0004_5Type">
28 <xsd:restriction base="xsd:ID">
29 <xsd:enumeration value="EMP0002"/>
30 <xsd:enumeration value="EMP0090"/>
31 <xsd:enumeration value="EMP0007"/>
32 </xsd:restriction>
33 </xsd:simpleType>
34
35 <xsd:simpleType name="unboundedEmType">
36 <xsd:union memberTypes="a:emp0001_3Type emp0004_5Type">
37 <xsd:simpleType>
38 <xsd:restriction base="xsd:ID">
39 <xsd:enumeration value="EMP0099"/>
40 </xsd:restriction>
41 </xsd:simpleType>
42 </xsd:union>
43 </xsd:simpleType>
44
45 <xsd:simpleType name="emType">
46 <xsd:restriction base="unboundedEmType">
47 <xsd:pattern value="EMP[0-9]*"/>
48 </xsd:restriction>
49 </xsd:simpleType>
50
51
52
53</xsd:schema>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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