File: sampleXMLSchema.xml

package info (click to toggle)
netbeans 8.1%2Bdfsg3-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 816,472 kB
  • ctags: 847,258
  • sloc: java: 5,564,229; xml: 634,273; cpp: 25,695; ansic: 20,104; jsp: 12,621; sh: 10,354; php: 4,204; makefile: 1,456; fortran: 1,200; sql: 1,192; objc: 288; perl: 277; haskell: 120; yacc: 30; awk: 17; lex: 11; asm: 4
file content (156 lines) | stat: -rw-r--r-- 3,128 bytes parent folder | download | duplicates (2)
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<?xml version='1.0'?>

<!-- Commented out for IE5 which doesn't understand :

<!DOCTYPE schema SYSTEM "http://www.w3.org/TR/2000/WD-xmlschema-1-20000225/structures.dtd" >

<messagesList xmlns='urn:bigtrust:bizmess:limits:V0.0'>

	--> 



<!-- Uncomment to format with CSS: <?xml-stylesheet href="limits-mess.css" type="text/css"?> -->





<schema targetNamespace='urn:bigtrust:bizmess:limits:V0.0' version="M.n" 

	xmlns="http://www.w3.org/2001/XMLSchema" 

	xmlns:bm="urn:bigtrust:bizmess:limits:V0.0"

	xmlns:html="http://www.w3.org/1999/xhtml"

	elementFormDefault="qualified"

	attributeFormDefault="qualified" >

    

    <annotation><documentation xmlns:dc="http://www.w3.org/TR/1999/PR-rdf-schema-19990303#" >

	    <html:p>Definition of limit messages for bizmess</html:p>

	    A message of bizmess is simply a list of fields, a field being essentially a pair name-value. For performance across network, the messages are sent in a binary form, in form of a pair index-value. Messages sent are constrained by an initial list of fields and messages coming from the server (or in a config. file). This initial message is itself being defined here. 

	    <dc:Author>J.M. Vanel</dc:Author> 

	    <dc:date>2000-01-18</dc:date> 

	</documentation>

    </annotation>

    

    <!-- Abstract types -->



    <complexType name='genericMessage'><annotation><documentation>Abstract type for all the bizmess messages</documentation></annotation></complexType>

    <complexType name='genericField' type="string" >

	<annotation><documentation>Abstract type for all the fields in bizmess messages</documentation></annotation>

    </complexType>

    

    <!-- fields -->



    <complexType name='InstrumentType' >

	<annotation><documentation><html:b>Type of Instrument</html:b> (bond, etc) ... [any html content]</documentation>

	    <!-- For implementation of binary messages : -->

	    <appinfo><id>0</id>

		<size>32</size>

	</appinfo></annotation>

	<complexContent>

	    <extension base="bm:genericField">

	</extension> </complexContent>

    </complexType>

    

    <complexType name='CounterParty' >

	<complexContent>

	    <extension base="bm:genericField">

		<annotation><documentation><html:b>Counter-party name</html:b> ... [any html content]</documentation>

		    <appinfo><id>1</id>

		    <size>64</size></appinfo>

		</annotation>

	</extension> </complexContent>

    </complexType>

    

    <!-- messages 

		  -->



    <complexType name='enquiry' >

	<complexContent>

	    <extension base='bm:genericMessage' >

		<annotation><documentation><html:b>enquiry</html:b> about ... [any html content]</documentation></annotation>

		<all>

		    <element name='InstrumentType' type='bm:InstrumentType'></element> 

		    <element name='CounterParty' type='bm:CounterParty' ></element> 

		</all>

	</extension> </complexContent>

    </complexType>

    

    <!-- root element -->

    <element name="bizmess">

	<complexType>

	    <all>

		<element name='enquiry' type='bm:enquiry' /> 

		<element name='reference' type='string' /> 

	    </all>

	</complexType>

    </element> 

</schema>