Sync with 5.4.1
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / xsd / anyattrib_single.xsd
CommitLineData
3abe9331 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/anyattrib/single"
5 targetNamespace="www.example.org/anyattrib/single">
6
7
8<xsd:attributeGroup name="attrGroup">
9 <xsd:attribute name="attrInGroup2" type="token"/>
10 <xsd:attribute name="attrInGroup1" type="token"/>
11 <xsd:anyAttribute namespace="##targetNamespace"/>
12</xsd:attributeGroup>
13
14<xsd:complexType name="e25seq">
15 <xsd:sequence>
16 <xsd:element name="titleElemBase" type="xsd:string"/>
17 <xsd:element name="forenameElemBase" type="xsd:string"/>
18 <xsd:element name="surnameElemBase" type="xsd:string"/>
19 </xsd:sequence>
20 <xsd:attributeGroup ref="this:attrGroup"/>
21 <xsd:anyAttribute namespace="http://www.w3.org/1999/xhtml ##targetNamespace"/>
22</xsd:complexType>
23
24<xsd:element name="e45c">
25 <xsd:complexType>
26 <xsd:anyAttribute namespace="##local http://www.example.org/attribute"/>
27 </xsd:complexType>
28</xsd:element>
29
30<xsd:element name="e45d">
31 <xsd:complexType>
32 <xsd:complexContent>
33 <xsd:extension base="this:e45c">
34 <xsd:anyAttribute namespace="##targetNamespace"/>
35 </xsd:extension>
36 </xsd:complexContent>
37 </xsd:complexType>
38 </xsd:element>
39
40
41<xsd:complexType name="ExtBase">
42 <xsd:sequence>
43 <element name="field" type="string"/>
44 </xsd:sequence>
45 <xsd:anyAttribute namespace="##targetNamespace"/>
46</xsd:complexType>
47
48<xsd:element name="MyType">
49 <xsd:complexType>
50 <xsd:complexContent>
51 <xsd:extension base="this:ExtBase">
52 <xsd:attribute name="ding" type="string"/>
53 <xsd:anyAttribute namespace="##any"/>
54 </xsd:extension>
55 </xsd:complexContent>
56 </xsd:complexType>
57</xsd:element>
58
59<xsd:complexType name="ExtBase2">
60 <xsd:sequence>
61 <xsd:element name="field" type="string"/>
62 </xsd:sequence>
63 <xsd:anyAttribute namespace="##other"/>
64</xsd:complexType>
65
66<xsd:element name="MyType2">
67 <xsd:complexType>
68 <xsd:complexContent>
69 <xsd:extension base="this:ExtBase2">
70 <xsd:attribute name="ding" type="string"/>
71 <xsd:anyAttribute namespace="##targetNamespace"/>
72 </xsd:extension>
73 </xsd:complexContent>
74 </xsd:complexType>
75</xsd:element>
76
77</xsd:schema>
This page took 0.027369 seconds and 5 git commands to generate.