Sync with 5.4.0
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / xsd / any_anyAttribute.xsd
CommitLineData
970ed795
EL
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3abe9331 3 Copyright (c) 2000-2015 Ericsson Telecom AB
970ed795
EL
4
5 All rights reserved. This program and the accompanying materials
6 are made available under the terms of the Eclipse Public License v1.0
7 which accompanies this distribution, and is available at
8 http://www.eclipse.org/legal/epl-v10.html
9 -->
10<schema xmlns="http://www.w3.org/2001/XMLSchema"
11xmlns:xs="http://www.w3.org/2001/XMLSchema"
12xmlns:this="http://www.example.org/ttcn/wildcards"
13targetNamespace="http://www.example.org/ttcn/wildcards">
14
15<group name="Mygroup">
16 <sequence>
17 <any id="MyAny" namespace="##targetNamespace"/>
18 </sequence>
19</group>
20
21<annotation><documentation xml:lang="EN">anyAttribute examples</documentation></annotation>
22
23<xs:complexType name="e45">
24 <xs:anyAttribute namespace="##any"/>
25</xs:complexType>
26
27<xs:complexType name="e45a">
28 <xs:anyAttribute namespace="##other"/>
29</xs:complexType>
30
31
32<xs:complexType name="e45b">
33 <xs:anyAttribute namespace="##targetNamespace"/>
34</xs:complexType>
35
36<xs:complexType name="e45c">
37 <xs:anyAttribute namespace="##local http://www.organization.org/ttcn/attribute"/>
38</xs:complexType>
39
40<xs:complexType name="e45d">
41 <xs:complexContent>
42 <xs:extension base="this:e45c">
43<!-- <xs:element name="attr" type="xs:integer"/> -->
44 <xs:anyAttribute namespace="##targetNamespace"/>
45 </xs:extension>
46 </xs:complexContent>
47</xs:complexType>
48
49<annotation><documentation xml:lang="EN">any examples</documentation></annotation>
50
51<xs:complexType name="e46">
52 <xs:sequence>
53 <xs:any namespace="##any"/>
54 </xs:sequence>
55</xs:complexType>
56
57<xs:complexType name="e46ab">
58 <xs:sequence>
59 <xs:any minOccurs="0" namespace="##other"/>
60 </xs:sequence>
61</xs:complexType>
62
63<xs:complexType name="e46bc">
64 <xs:sequence>
65 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##local"/>
66 </xs:sequence>
67</xs:complexType>
68
69<annotation><documentation xml:lang="EN">minOccurs, maxOccurs</documentation></annotation>
70
71<complexType name="e15">
72 <sequence minOccurs="5" maxOccurs="10">
73 <element name="foo" type="integer"/>
74 <element name="bar" type="float"/>
75 </sequence>
76</complexType>
77
78<complexType name="e15a">
79 <sequence minOccurs="0">
80 <element name="foo" type="integer"/>
81 <element name="bar" type="float"/>
82 </sequence>
83</complexType>
84
85<complexType name="e15b">
86 <sequence minOccurs="0" maxOccurs="1">
87 <element name="foo" type="integer"/>
88 <element name="bar" type="float"/>
89 </sequence>
90</complexType>
91
92<complexType name="e15c">
93 <sequence minOccurs="5" maxOccurs="unbounded">
94 <element name="foo" type="integer"/>
95 <element name="bar" type="float"/>
96 </sequence>
97</complexType>
98
99
3abe9331 100<element name="MyType">
101 <complexType>
102 <simpleContent>
103 <extension base="string">
104 <anyAttribute namespace="##targetNamespace"/>
105 </extension>
106 </simpleContent>
107 </complexType>
108</element>
109
110
111</schema>
This page took 0.035343 seconds and 5 git commands to generate.