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_XmlTest_org_string_withOverDefinition.ttcn | |
13 | // Description: | |
14 | // References: | |
15 | // Rev: | |
16 | // Prodnr: | |
17 | // Updated: Mon Oct 26 19:03:53 2009 | |
18 | // Contact: http://ttcn.ericsson.se | |
19 | // | |
20 | //////////////////////////////////////////////////////////////////////////////// | |
21 | // | |
22 | // Generated from file(s): | |
23 | // | |
24 | // - XmlTest_string_withOverDefinition.xsd | |
25 | // /* xml version = "1.0" */ | |
26 | // /* targetnamespace = "www.XmlTest.org/string_withOverDefinition" */ | |
27 | // | |
28 | //////////////////////////////////////////////////////////////////////////////// | |
29 | ||
30 | ||
31 | module www_XmlTest_org_string_withOverDefinition_e { | |
32 | ||
33 | ||
34 | import from XSD all; | |
35 | ||
36 | ||
37 | /* This documentum tests based on | |
38 | XML Schema Part 0: Primer Second Edition, | |
39 | 2.3 Simple Types and | |
40 | Appendix B | |
41 | ||
42 | Naming conflict expected */ | |
43 | ||
44 | ||
45 | type XSD.String Mystring length(4 .. infinity); | |
46 | ||
47 | ||
48 | type XSD.String Mystring_1 length(4 .. infinity) | |
49 | with { | |
3f84031e | 50 | variant "name as 'Mystring'"; |
970ed795 EL |
51 | }; |
52 | ||
53 | ||
54 | } | |
55 | with { | |
3f84031e | 56 | encode "XML"; |
57 | variant "namespace as 'www.XmlTest.org/string_withOverDefinition' prefix 'ns7'"; | |
58 | variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'"; | |
970ed795 | 59 | } |