Commit | Line | Data |
---|---|---|
970ed795 EL |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!-- | |
3 | XML Schema for JunitLogger plugin | |
4 | ||
5 | Copyright (c) 2000-2014 Ericsson Telecom AB | |
6 | ||
7 | All rights reserved. This program and the accompanying materials | |
8 | are made available under the terms of the Eclipse Public License v1.0 | |
9 | which accompanies this distribution, and is available at | |
10 | http://www.eclipse.org/legal/epl-v10.html | |
11 | --> | |
12 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> | |
13 | ||
14 | <xs:element name="TITAN_Project_File_Information" type="TopLevelProjectType" /> | |
15 | ||
16 | <xs:complexType name="ConfigurationType"> | |
17 | <!-- | |
18 | Configuration data; also used by TXD's MasterConfiguration. | |
19 | It does not have a "name" attribute. | |
20 | --> | |
21 | <xs:sequence> | |
22 | <xs:element name="ProjectProperties" minOccurs="0" maxOccurs="1"> | |
23 | <xs:complexType> | |
24 | <xs:sequence> | |
25 | <xs:element name="MakefileSettings" minOccurs="0" maxOccurs="1"> | |
26 | <xs:complexType> | |
27 | <xs:sequence> | |
28 | <xs:element name="generateMakefile" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
29 | <xs:element name="generateInternalMakefile" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
30 | <xs:element name="symboliclinklessBuild" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
31 | <xs:element name="useAbsolutePath" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
32 | <xs:element name="GNUMake" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
33 | <xs:element name="incrementalDependencyRefresh" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
34 | <xs:element name="dynamicLinking" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
35 | <xs:element name="functiontestRuntime" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
36 | <xs:element name="singleMode" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
37 | <xs:element name="codeSplitting" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
38 | <xs:element name="defaultTarget" minOccurs="0" maxOccurs="1"> | |
39 | <xs:simpleType> | |
40 | <xs:restriction base="xs:normalizedString"> | |
41 | <xs:enumeration value="executable"/> | |
42 | <xs:enumeration value="library"/> | |
43 | </xs:restriction> | |
44 | </xs:simpleType> | |
45 | </xs:element> | |
46 | <xs:element name="targetExecutable" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
47 | <xs:element name="TTCN3preprocessor" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
48 | <xs:element name="TTCN3preprocessorDefines" minOccurs="0" maxOccurs="1"> | |
49 | <xs:complexType> | |
50 | <xs:sequence> | |
51 | <xs:element name="listItem" minOccurs="1" maxOccurs="unbounded" type="xs:normalizedString" /> | |
52 | </xs:sequence> | |
53 | </xs:complexType> | |
54 | </xs:element> | |
55 | <xs:element name="TTCN3preprocessorUndefines" minOccurs="0" maxOccurs="1"> | |
56 | <xs:complexType> | |
57 | <xs:sequence> | |
58 | <xs:element name="listItem" minOccurs="1" maxOccurs="unbounded" type="xs:normalizedString" /> | |
59 | </xs:sequence> | |
60 | </xs:complexType> | |
61 | </xs:element> | |
62 | <xs:element name="preprocessorDefines" minOccurs="0" maxOccurs="1"> | |
63 | <xs:complexType> | |
64 | <xs:sequence> | |
65 | <xs:element name="listItem" minOccurs="1" maxOccurs="unbounded" type="xs:normalizedString" /> | |
66 | </xs:sequence> | |
67 | </xs:complexType> | |
68 | </xs:element> | |
69 | <xs:element name="preprocessorUndefines" minOccurs="0" maxOccurs="1"> | |
70 | <xs:complexType> | |
71 | <xs:sequence> | |
72 | <xs:element name="listItem" minOccurs="1" maxOccurs="unbounded" type="xs:normalizedString" /> | |
73 | </xs:sequence> | |
74 | </xs:complexType> | |
75 | </xs:element> | |
76 | ||
77 | <xs:element name="TTCN3preprocessorIncludes" minOccurs="0" maxOccurs="1"> | |
78 | <xs:complexType> | |
79 | <xs:sequence> | |
80 | <xs:element name="listItem" minOccurs="0" maxOccurs="unbounded" type="xs:normalizedString" /> | |
81 | </xs:sequence> | |
82 | </xs:complexType> | |
83 | </xs:element> | |
84 | <xs:element name="preprocessorIncludes" minOccurs="0" maxOccurs="1"> | |
85 | <xs:complexType> | |
86 | <xs:sequence> | |
87 | <xs:element name="listItem" minOccurs="0" maxOccurs="unbounded" type="xs:normalizedString" /> | |
88 | </xs:sequence> | |
89 | </xs:complexType> | |
90 | </xs:element> | |
91 | ||
92 | <xs:element name="disableBER" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
93 | <xs:element name="disableRAW" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
94 | <xs:element name="disableTEXT" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
95 | <xs:element name="disableXER" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
96 | <xs:element name="disableJSON" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
97 | <xs:element name="forceXERinASN.1" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
98 | <xs:element name="defaultasOmit" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
99 | <xs:element name="enumHackProperty" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
509718e0 | 100 | <xs:element name="forceOldFuncOutParHandling" minOccurs="0" maxOccurs="1" type="xs:boolean" /> |
970ed795 EL |
101 | <xs:element name="gccMessageFormat" minOccurs="0" maxOccurs="1" type="xs:boolean" /> |
102 | <xs:element name="lineNumbersOnlyInMessages" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
103 | <xs:element name="includeSourceInfo" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
104 | <xs:element name="addSourceLineInfo" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
105 | <xs:element name="suppressWarnings" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
106 | <xs:element name="outParamBoundness" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
107 | <xs:element name="quietly" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
108 | <xs:element name="namingRules" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
109 | <xs:element name="disableSubtypeChecking" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
110 | <xs:element name="CxxCompiler" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
111 | <xs:element name="optimizationLevel" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
112 | <xs:element name="otherOptimizationFlags" minOccurs="0" maxOccurs="1" type="xs:string" /> | |
113 | ||
114 | <xs:element name="SolarisSpecificLibraries" minOccurs="0" maxOccurs="1"> | |
115 | <xs:complexType> | |
116 | <xs:sequence> | |
117 | <xs:element name="listItem" minOccurs="1" maxOccurs="unbounded" type="xs:normalizedString" /> | |
118 | </xs:sequence> | |
119 | </xs:complexType> | |
120 | </xs:element> | |
121 | <xs:element name="Solaris8SpecificLibraries" minOccurs="0" maxOccurs="1"> | |
122 | <xs:complexType> | |
123 | <xs:sequence> | |
124 | <xs:element name="listItem" minOccurs="1" maxOccurs="unbounded" type="xs:normalizedString" /> | |
125 | </xs:sequence> | |
126 | </xs:complexType> | |
127 | </xs:element> | |
128 | <xs:element name="FreeBSDSpecificLibraries" minOccurs="0" maxOccurs="1"> | |
129 | <xs:complexType> | |
130 | <xs:sequence> | |
131 | <xs:element name="listItem" minOccurs="1" maxOccurs="unbounded" type="xs:normalizedString" /> | |
132 | </xs:sequence> | |
133 | </xs:complexType> | |
134 | </xs:element> | |
135 | <xs:element name="LinuxSpecificLibraries" minOccurs="0" maxOccurs="1"> | |
136 | <xs:complexType> | |
137 | <xs:sequence> | |
138 | <xs:element name="listItem" minOccurs="1" maxOccurs="unbounded" type="xs:normalizedString" /> | |
139 | </xs:sequence> | |
140 | </xs:complexType> | |
141 | </xs:element> | |
142 | <xs:element name="Win32SpecificLibraries" minOccurs="0" maxOccurs="1"> | |
143 | <xs:complexType> | |
144 | <xs:sequence> | |
145 | <xs:element name="listItem" minOccurs="1" maxOccurs="unbounded" type="xs:normalizedString" /> | |
146 | </xs:sequence> | |
147 | </xs:complexType> | |
148 | </xs:element> | |
149 | <xs:element name="additionalObjects" minOccurs="0" maxOccurs="1"> | |
150 | <xs:complexType> | |
151 | <xs:sequence> | |
152 | <xs:element name="listItem" minOccurs="1" maxOccurs="unbounded" type="xs:normalizedString" /> | |
153 | </xs:sequence> | |
154 | </xs:complexType> | |
155 | </xs:element> | |
156 | <xs:element name="linkerLibraries" minOccurs="0" maxOccurs="1"> | |
157 | <xs:complexType> | |
158 | <xs:sequence> | |
159 | <xs:element name="listItem" minOccurs="1" maxOccurs="unbounded" type="xs:normalizedString" /> | |
160 | </xs:sequence> | |
161 | </xs:complexType> | |
162 | </xs:element> | |
163 | <xs:element name="linkerLibrarySearchPath" minOccurs="0" maxOccurs="1"> | |
164 | <xs:complexType> | |
165 | <xs:sequence> | |
166 | <xs:element name="listItem" minOccurs="1" maxOccurs="unbounded" type="xs:normalizedString" /> | |
167 | </xs:sequence> | |
168 | </xs:complexType> | |
169 | </xs:element> | |
170 | <xs:element name="disablePredefinedExternalFolder" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
171 | <xs:element name="buildLevel" minOccurs="0" maxOccurs="1" type="xs:string" /> | |
172 | <xs:element name="ProjectSpecificRulesGenerator" minOccurs="0" maxOccurs="1"> | |
173 | <xs:complexType> | |
174 | <xs:sequence> | |
175 | <xs:element name="GeneratorCommand" minOccurs="1" maxOccurs="1" type="xs:string" /> | |
176 | <xs:element name="Targets" minOccurs="0" maxOccurs="1"> | |
177 | <xs:complexType> | |
178 | <xs:sequence> | |
179 | <xs:element name="Target" minOccurs="0" maxOccurs="unbounded"> | |
180 | <xs:complexType> | |
181 | <xs:attribute name="name" type="xs:normalizedString" use="required" /> | |
182 | <xs:attribute name="placement" use="required"> | |
183 | <xs:simpleType> | |
184 | <xs:restriction base="xs:normalizedString"> | |
185 | <xs:enumeration value="PHONY" /> | |
186 | <xs:enumeration value="TTCN3_MODULES" /> | |
187 | <xs:enumeration value="TTCN3_PP_MODULES" /> | |
188 | <xs:enumeration value="TTCN3_INCLUDES" /> | |
189 | <xs:enumeration value="ASN1_MODULES" /> | |
190 | <xs:enumeration value="USER_SOURCES" /> | |
191 | <xs:enumeration value="USER_HEADERS" /> | |
192 | <xs:enumeration value="USER_OBJECTS" /> | |
193 | <xs:enumeration value="OTHER_FILES" /> | |
194 | </xs:restriction> | |
195 | </xs:simpleType> | |
196 | </xs:attribute> | |
197 | </xs:complexType> | |
198 | </xs:element> | |
199 | </xs:sequence> | |
200 | </xs:complexType> | |
201 | </xs:element> | |
202 | </xs:sequence> | |
203 | </xs:complexType> | |
204 | </xs:element> | |
205 | </xs:sequence> | |
206 | </xs:complexType> | |
207 | </xs:element> | |
208 | <xs:element name="LocalBuildSettings" minOccurs="0" maxOccurs="1"> | |
209 | <xs:complexType> | |
210 | <xs:sequence> | |
211 | <xs:element name="MakefileFlags" minOccurs="0" maxOccurs="1" type="xs:string" /> | |
212 | <xs:element name="MakefileScript" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
213 | <xs:element name="workingDirectory" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
214 | </xs:sequence> | |
215 | </xs:complexType> | |
216 | </xs:element> | |
217 | ||
218 | <xs:element name="RemoteBuildProperties" minOccurs="0" maxOccurs="1"> | |
219 | <xs:complexType> | |
220 | <xs:sequence> | |
221 | <xs:element name="RemoteHost" minOccurs="0" maxOccurs="unbounded" > | |
222 | <xs:complexType> | |
223 | <xs:sequence> | |
224 | <xs:element name="Active" minOccurs="1" maxOccurs="1" type="xs:boolean" /> | |
225 | <xs:element name="Name" minOccurs="1" maxOccurs="1" type="xs:string" /> | |
226 | <xs:element name="Command" minOccurs="1" maxOccurs="1" type="xs:string" /> | |
227 | </xs:sequence> | |
228 | </xs:complexType> | |
229 | </xs:element> | |
230 | <xs:element name="ParallelCommandExecution" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
231 | </xs:sequence> | |
232 | </xs:complexType> | |
233 | </xs:element> | |
234 | ||
235 | <xs:element name="NamingCoventions" minOccurs="0" maxOccurs="1"> | |
236 | <xs:complexType> | |
237 | <xs:sequence> | |
238 | <xs:element name="enableProjectSpecificSettings" minOccurs="0" maxOccurs="1" type="xs:string" /> | |
239 | <xs:element name="TTCN3ModuleName" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
240 | <xs:element name="ASN1ModuleName" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
241 | <xs:element name="altstep" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
242 | <xs:element name="globalConstant" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
243 | <xs:element name="externalConstant" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
244 | <xs:element name="function" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
245 | <xs:element name="externalFunction" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
246 | <xs:element name="moduleParameter" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
247 | <xs:element name="globalPort" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
248 | <xs:element name="globalTemplate" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
249 | <xs:element name="testcase" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
250 | <xs:element name="globalTimer" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
251 | <xs:element name="type" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
252 | <xs:element name="group" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
253 | <xs:element name="localConstant" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
254 | <xs:element name="localVariable" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
255 | <xs:element name="localTemplate" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
256 | <xs:element name="localVariableTemplate" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
257 | <xs:element name="localTimer" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
258 | <xs:element name="formalParameter" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
259 | <xs:element name="componentConstant" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
260 | <xs:element name="componentVariable" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
261 | <xs:element name="componentTimer" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
262 | </xs:sequence> | |
263 | </xs:complexType> | |
264 | </xs:element> | |
265 | <xs:element name="ConfigurationRequirements" minOccurs="0" maxOccurs="1"> | |
266 | <xs:complexType> | |
267 | <xs:sequence> | |
268 | <xs:element name="configurationRequirement" minOccurs="0" maxOccurs="unbounded" type="ConfigurationRequirementType" /> | |
269 | </xs:sequence> | |
270 | </xs:complexType> | |
271 | </xs:element> | |
272 | </xs:sequence> | |
273 | </xs:complexType> | |
274 | </xs:element> | |
275 | <xs:element name="FolderProperties" minOccurs="0" maxOccurs="1"> | |
276 | <xs:complexType> | |
277 | <xs:sequence> | |
278 | <xs:element name="FolderResource" maxOccurs="unbounded"> | |
279 | <xs:complexType> | |
280 | <xs:sequence> | |
281 | <xs:element name="FolderPath" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
282 | <xs:element name="FolderProperties" minOccurs="0" maxOccurs="1"> | |
283 | <xs:complexType> | |
284 | <xs:sequence> | |
285 | <xs:element name="ExcludeFromBuild" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
286 | <xs:element name="centralStorage" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
287 | <xs:element name="NamingCoventions" minOccurs="0" maxOccurs="1"> | |
288 | <xs:complexType> | |
289 | <xs:sequence> | |
290 | <xs:element name="enableFolderSpecificSettings" minOccurs="0" maxOccurs="1" type="xs:string" /> | |
291 | <xs:element name="TTCN3ModuleName" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
292 | <xs:element name="ASN1ModuleName" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
293 | <xs:element name="altstep" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
294 | <xs:element name="globalConstant" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
295 | <xs:element name="externalConstant" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
296 | <xs:element name="function" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
297 | <xs:element name="externalFunction" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
298 | <xs:element name="moduleParameter" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
299 | <xs:element name="globalPort" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
300 | <xs:element name="globalTemplate" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
301 | <xs:element name="testcase" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
302 | <xs:element name="globalTimer" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
303 | <xs:element name="type" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
304 | <xs:element name="group" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
305 | <xs:element name="localConstant" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
306 | <xs:element name="localVariable" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
307 | <xs:element name="localTemplate" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
308 | <xs:element name="localVariableTemplate" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
309 | <xs:element name="localTimer" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
310 | <xs:element name="formalParameter" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
311 | <xs:element name="componentConstant" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
312 | <xs:element name="componentVariable" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
313 | <xs:element name="componentTimer" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
314 | </xs:sequence> | |
315 | </xs:complexType> | |
316 | </xs:element> | |
317 | </xs:sequence> | |
318 | </xs:complexType> | |
319 | </xs:element> | |
320 | </xs:sequence> | |
321 | </xs:complexType> | |
322 | </xs:element> | |
323 | </xs:sequence> | |
324 | </xs:complexType> | |
325 | </xs:element> | |
326 | <xs:element name="FileProperties" minOccurs="0" maxOccurs="1"> | |
327 | <xs:complexType> | |
328 | <xs:sequence> | |
329 | <xs:element name="FileResource" maxOccurs="unbounded"> | |
330 | <xs:complexType> | |
331 | <xs:sequence> | |
332 | <xs:element name="FilePath" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
333 | <xs:element name="FileProperties" minOccurs="0" maxOccurs="1"> | |
334 | <xs:complexType> | |
335 | <xs:sequence> | |
336 | <xs:element name="ExcludeFromBuild" minOccurs="0" maxOccurs="1" type="xs:boolean" /> | |
337 | </xs:sequence> | |
338 | </xs:complexType> | |
339 | </xs:element> | |
340 | </xs:sequence> | |
341 | </xs:complexType> | |
342 | </xs:element> | |
343 | </xs:sequence> | |
344 | </xs:complexType> | |
345 | </xs:element> | |
346 | </xs:sequence> | |
347 | </xs:complexType> | |
348 | ||
349 | <xs:complexType name="NamedConfigurationType"> | |
350 | <!-- | |
351 | This is an extra indirection level. It adds the "name" attribute to | |
352 | ConfigurationType. | |
353 | --> | |
354 | <xs:complexContent> | |
355 | <xs:extension base="ConfigurationType"> | |
356 | <xs:attribute name="name" type="xs:normalizedString" use="required" /> | |
357 | </xs:extension> | |
358 | </xs:complexContent> | |
359 | </xs:complexType> | |
360 | ||
361 | <xs:complexType name="ConfigurationRequirementType"> | |
362 | <xs:sequence> | |
363 | <xs:element name="projectName" minOccurs="1" maxOccurs="1"> | |
364 | <xs:simpleType> | |
365 | <xs:restriction base="xs:normalizedString"> | |
366 | <xs:minLength value="1" /> | |
367 | </xs:restriction> | |
368 | </xs:simpleType> | |
369 | </xs:element> | |
af710487 | 370 | <xs:choice> |
371 | <xs:element name="requiredConfiguration" minOccurs="1" maxOccurs="1"> | |
372 | <xs:simpleType> | |
373 | <xs:restriction base="xs:normalizedString"> | |
374 | <xs:minLength value="1" /> | |
375 | </xs:restriction> | |
376 | </xs:simpleType> | |
377 | </xs:element> | |
378 | <xs:element name="rerquiredConfiguration" minOccurs="1" maxOccurs="1"> | |
379 | <xs:simpleType> | |
380 | <xs:restriction base="xs:normalizedString"> | |
381 | <xs:minLength value="1" /> | |
382 | </xs:restriction> | |
383 | </xs:simpleType> | |
384 | </xs:element> | |
385 | </xs:choice> | |
970ed795 EL |
386 | </xs:sequence> |
387 | </xs:complexType> | |
388 | ||
389 | <xs:complexType name="ResourceType"> | |
390 | <xs:attribute name="projectRelativePath" type="xs:normalizedString" use="required" /> | |
391 | <xs:attribute name="relativeURI" type="xs:normalizedString" use="optional" /> | |
392 | <xs:attribute name="rawURI" type="xs:normalizedString" use="optional" /> | |
393 | <!-- FIXME: only one of the above two is allowed! --> | |
394 | </xs:complexType> | |
395 | ||
396 | <xs:complexType name="ProjectType"> | |
397 | <xs:sequence> | |
398 | <xs:element name="ProjectName" minOccurs="1" maxOccurs="1" type="xs:normalizedString" /> | |
399 | ||
400 | <xs:element name="ReferencedProjects" minOccurs="0" maxOccurs="1"> | |
401 | <xs:complexType> | |
402 | <xs:sequence> | |
403 | <xs:element name="ReferencedProject" minOccurs="0" maxOccurs="unbounded"> | |
404 | <xs:complexType> | |
405 | <xs:attribute name="name" type="xs:normalizedString" use="required" /> | |
406 | <xs:attribute name="projectLocationURI" type="xs:normalizedString" use="required" /> | |
407 | </xs:complexType> | |
408 | </xs:element> | |
409 | </xs:sequence> | |
410 | </xs:complexType> | |
411 | </xs:element> | |
412 | ||
413 | <xs:element name="Folders" minOccurs="0" maxOccurs="1"> | |
414 | <xs:complexType> | |
415 | <xs:sequence> | |
416 | <xs:element name="FolderResource" type="ResourceType" maxOccurs="unbounded" /> | |
417 | </xs:sequence> | |
418 | </xs:complexType> | |
419 | </xs:element> | |
420 | ||
421 | <xs:element name="Files" minOccurs="0" maxOccurs="1"> | |
422 | <xs:complexType> | |
423 | <xs:sequence> | |
424 | <xs:element name="FileResource" type="ResourceType" maxOccurs="unbounded" /> | |
425 | </xs:sequence> | |
426 | </xs:complexType> | |
427 | </xs:element> | |
428 | ||
429 | <xs:element name="PathVariables" minOccurs="0" maxOccurs="1"> | |
430 | <xs:complexType> | |
431 | <xs:sequence> | |
432 | <xs:element name="PathVariable" minOccurs="0" maxOccurs="unbounded"> | |
433 | <xs:complexType> | |
434 | <xs:attribute name="name" type="xs:normalizedString" use="required" /> | |
435 | <xs:attribute name="value" type="xs:normalizedString" use="required" /> | |
436 | </xs:complexType> | |
437 | </xs:element> | |
438 | </xs:sequence> | |
439 | </xs:complexType> | |
440 | </xs:element> | |
441 | ||
442 | <xs:element name="ActiveConfiguration" minOccurs="0" maxOccurs="1" type="xs:normalizedString" /> | |
443 | ||
444 | <xs:element name="Configurations" minOccurs="0" maxOccurs="1"> | |
445 | <xs:complexType> | |
446 | <xs:sequence> | |
447 | <xs:element name="Configuration" minOccurs="0" maxOccurs="unbounded" type="NamedConfigurationType"> | |
448 | </xs:element> | |
449 | </xs:sequence> | |
450 | </xs:complexType> | |
451 | </xs:element> | |
452 | ||
453 | </xs:sequence> | |
454 | </xs:complexType> | |
455 | ||
456 | <xs:complexType name="PackedReferencedProjectsType"> | |
457 | <xs:sequence> | |
458 | <xs:element name="PackedReferencedProject" minOccurs="0" maxOccurs="unbounded" type="ProjectType" /> | |
459 | </xs:sequence> | |
460 | </xs:complexType> | |
461 | ||
462 | <xs:complexType name="TopLevelProjectType"> | |
463 | <!-- | |
464 | This is an extra indirection level. It adds the "version" attribute to | |
af710487 | 465 | ProjectType and the optional element "PackedReferencedProjects" |
970ed795 EL |
466 | --> |
467 | <xs:complexContent> | |
468 | <xs:extension base="ProjectType"> | |
469 | <xs:sequence minOccurs="0" maxOccurs="1"> | |
470 | <xs:element name="PackedReferencedProjects" type="PackedReferencedProjectsType" /> | |
471 | </xs:sequence> | |
472 | <xs:attribute name="version" type="xs:decimal" use="required" /> | |
473 | </xs:extension> | |
474 | </xs:complexContent> | |
475 | </xs:complexType> | |
476 | ||
477 | </xs:schema> |