Commit | Line | Data |
---|---|---|
970ed795 EL |
1 | /******************************************************************************* |
2 | * Copyright Ericsson Telecom AB | |
3 | * | |
4 | * XSD to TTCN-3 Translator | |
5 | * | |
6 | * All rights reserved. This program and the accompanying materials | |
7 | * are made available under the terms of the Eclipse Public License v1.0 | |
8 | * which accompanies this distribution, and is available at | |
9 | * http://www.eclipse.org/legal/epl-v10.html | |
10 | *******************************************************************************/ | |
11 | // | |
12 | // File: www_w3_org_XML_1998_namespace_e.ttcn | |
13 | // Description: | |
14 | // References: | |
15 | // Rev: | |
16 | // Prodnr: | |
17 | // Updated: Thu Jan 28 15:35:13 2010 | |
18 | // Contact: http://ttcn.ericsson.se | |
19 | // | |
20 | //////////////////////////////////////////////////////////////////////////////// | |
21 | // | |
22 | // Generated from file(s): | |
23 | // | |
24 | // - xml.xsd | |
25 | // /* xml version = "1.0" encoding = "UTF-8" */ | |
26 | // /* targetnamespace = "http://www.w3.org/XML/1998/namespace" */ | |
27 | // | |
28 | //////////////////////////////////////////////////////////////////////////////// | |
29 | ||
30 | ||
31 | module www_w3_org_XML_1998_namespace_e { | |
32 | ||
33 | ||
34 | import from XSD all; | |
35 | ||
36 | ||
37 | type union Lang | |
38 | { | |
39 | XSD.Language language_, | |
40 | enumerated { | |
41 | x | |
42 | } alt_ | |
43 | } | |
44 | with { | |
3f84031e | 45 | variant "name as uncapitalized"; |
46 | variant "useUnion"; | |
47 | variant "attribute"; | |
48 | variant (language_) "name as 'language'"; | |
49 | variant (alt_) "text 'x' as ''"; | |
50 | variant (alt_) "text 'x' as ''"; | |
51 | variant (alt_) "text 'x' as ''"; | |
52 | variant (alt_) "text 'x' as ''"; | |
53 | variant (alt_) "name as ''"; | |
970ed795 EL |
54 | }; |
55 | ||
56 | ||
57 | type enumerated Space | |
58 | { | |
59 | default_, | |
60 | preserve | |
61 | } | |
62 | with { | |
3f84031e | 63 | variant "text 'default_' as 'default'"; |
64 | variant "name as uncapitalized"; | |
65 | variant "attribute"; | |
970ed795 EL |
66 | }; |
67 | ||
68 | ||
69 | type XSD.AnyURI Base | |
70 | with { | |
3f84031e | 71 | variant "name as uncapitalized"; |
72 | variant "attribute"; | |
970ed795 EL |
73 | }; |
74 | ||
75 | ||
76 | type ID Id | |
77 | with { | |
3f84031e | 78 | variant "name as uncapitalized"; |
79 | variant "attribute"; | |
970ed795 EL |
80 | }; |
81 | ||
82 | ||
83 | } | |
84 | with { | |
3f84031e | 85 | encode "XML"; |
86 | variant "namespace as 'http://www.w3.org/XML/1998/namespace' prefix 'exemel'"; | |
87 | variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'"; | |
88 | variant "elementFormQualified"; | |
970ed795 | 89 | } |