File: chapter_7_1.xsd

package info (click to toggle)
eclipse-titan 6.1.0-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 79,084 kB
  • ctags: 29,092
  • sloc: cpp: 210,764; ansic: 44,862; yacc: 21,034; sh: 12,594; makefile: 12,225; lex: 8,972; xml: 5,348; java: 4,849; perl: 3,780; python: 2,834; php: 175
file content (95 lines) | stat: -rw-r--r-- 2,391 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
 Copyright (c) 2000-2016 Ericsson Telecom AB
 All rights reserved. This program and the accompanying materials
 are made available under the terms of the Eclipse Public License v1.0
 which accompanies this distribution, and is available at
 http://www.eclipse.org/legal/epl-v10.html

 Contributors:
  Balasko, Jeno
  Raduly, Csaba
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema" 
		xmlns:ns71="http://www.chapter_7_1.org"
		targetNamespace="http://www.chapter_7_1.org">


	<complexType name="e15a"> 
		<sequence>
			<element name="foo" type="integer" minOccurs="0"/>
			<element name="bar" type="float"/>
		</sequence>
	</complexType>


	<annotation>
		<documentation xml:lang="EN">
			The unrestricted case:
		</documentation>
	</annotation>


	<complexType name="e15b"> 
		<sequence>
			<element name="foo" type="integer" minOccurs="0" maxOccurs="unbounded"/>
			<element name="bar" type="float"/>
		</sequence>
	</complexType>


	<annotation>	
		<documentation xml:lang="EN">
			The length restricted case:
		</documentation>
	</annotation>


	<complexType name="e15c"> 
		<sequence>
			<element name="foo" type="integer" minOccurs="5" maxOccurs="10"/>
			<element name="bar" type="float"/>
		</sequence>
	</complexType>


	<element name="elementDefault" type="string" default="defaultValue"/> 
	
	
	<element name="elementFixed" type="string" fixed="fixedValue"/> 

	
	<element name="remarkNillable" type="string" nillable="true"/>
		
		
	<complexType name="e16c"> 
		<sequence>
			<element name="foo" type="integer"/>
			<element name="bar" type="string" nillable="true"/>
		</sequence>
	</complexType>
		
		
	<element name="SeqNillable" nillable="true">
		<complexType>
			<sequence>
				<element name="forename" type="string" nillable="true"/>
				<element name="surname" type="string" minOccurs="0" nillable="true"/>
				<element name="bornPlace"	type="string" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
				<element ref="ns71:remarkNillable"/>
			</sequence>
		</complexType>
	</element>


	<complexType name="e17a">
		<sequence>
		</sequence>
		<attribute name="fooLocal" type="float" use="required" />
		<attribute name="barLocal1" type="string" />
		<attribute name="barLocal2" type="string" use="optional" />
		<attribute name="dingLocal" type="integer" use="prohibited" />
	</complexType>


</schema>