Sync with 5.4.1
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / xsd / namespaceas.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
3 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4 xmlns:this="www.example.org/namespaceas"
5 xmlns:other="www.example.org/imported2"
6 targetNamespace="www.example.org/namespaceas">
7 <xsd:import namespace="www.example.org/imported2" schemaLocation="imported2.xsd"/>
8
9 <xsd:element name="SomeType" type="other:foobar"/>
10
11
12
13 <xsd:element name="Type">
14 <xsd:complexType>
15 <xsd:sequence>
16 <xsd:element name="something" type="other:foobar" minOccurs="0" />
17 <xsd:element ref="other:foobar"/>
18 </xsd:sequence>
19 </xsd:complexType>
20 </xsd:element>
21
22 <xsd:complexType name="OtherType">
23 <xsd:sequence>
24 <xsd:element name="billingAccountNumber">
25 <xsd:simpleType>
26 <xsd:restriction base="other:foobar"/>
27 </xsd:simpleType>
28 </xsd:element>
29 <xsd:element name="something">
30 <xsd:complexType><xsd:simpleContent>
31 <xsd:extension base="other:foobar"/>
32 </xsd:simpleContent></xsd:complexType>
33 </xsd:element>
34 <xsd:element name="something2">
35 <xsd:complexType>
36 <xsd:simpleContent>
37 <xsd:extension base="other:bar"/>
38 </xsd:simpleContent>
39 </xsd:complexType>
40 </xsd:element>
41 <xsd:element name="something3">
42 <xsd:complexType>
43 <xsd:complexContent>
44 <xsd:extension base="other:bar"/>
45 </xsd:complexContent>
46 </xsd:complexType>
47 </xsd:element>
48 <xsd:element name="something4">
49 <xsd:complexType>
50 <xsd:complexContent>
51 <xsd:restriction base="other:bar">
52 <xsd:element name="something" type="string" minOccurs="1"/>
53 </xsd:restriction>
54 </xsd:complexContent>
55 </xsd:complexType>
56 </xsd:element>
57 </xsd:sequence>
58 </xsd:complexType>
59
60
61 </xsd:schema>
This page took 0.034075 seconds and 5 git commands to generate.