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