Last sync 2016.04.01
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_XmlTest_org_string_withWhitespace_e.ttcn
1 /******************************************************************************
2 * Copyright (c) 2000-2016 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 * Contributors:
12 * Balasko, Jeno
13 * Lovassy, Arpad
14 * Raduly, Csaba
15 * Szabo, Bence Janos
16 *
17 ******************************************************************************/
18 //
19 // File: www_XmlTest_org_string_withWhitespace_e.ttcn
20 // Description:
21 // References:
22 // Rev:
23 // Prodnr:
24 // Updated: Thu Sep 5 17:34:59 2013
25 // Contact: http://ttcn.ericsson.se
26 //
27 ////////////////////////////////////////////////////////////////////////////////
28 // Generated from file(s):
29 // - XmlTest_string_withWhitespace.xsd
30 // /* xml version = "1.0" */
31 // /* targetnamespace = "http://www.XmlTest.org/string_withWhitespace" */
32 ////////////////////////////////////////////////////////////////////////////////
33 // Modification header(s):
34 //-----------------------------------------------------------------------------
35 // Modified by:
36 // Modification date:
37 // Description:
38 // Modification contact:
39 //------------------------------------------------------------------------------
40 ////////////////////////////////////////////////////////////////////////////////
41
42
43 module www_XmlTest_org_string_withWhitespace_e {
44
45
46 import from XSD all;
47
48
49 /* This documentum tests based on
50 XML Schema Part 0: Primer Second Edition,
51 2.3 Simple Types and
52 Appendix B
53 XML Schema Part 2: Datatypes Second Edition
54 3 Built-in Datatypes */
55
56
57 /* For WhiteSpace see
58 XML Schema Part 2: Datatypes Second Edition 4.3.6
59 i.e http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#rf-whiteSpace
60 and
61 ETSI ES 201 873-9 V4.1.2 / Ch 6.1.5 */
62
63
64 type XSD.String StringWhiteSpaceP
65 with {
66 variant "whiteSpace preserve";
67 };
68
69
70 type XSD.String StringWhiteSpaceR
71 with {
72 variant "whiteSpace replace";
73 };
74
75
76 type XSD.String StringWhiteSpaceC
77 with {
78 variant "whiteSpace collapse";
79 };
80
81
82 }
83 with {
84 encode "XML";
85 variant "namespace as 'http://www.XmlTest.org/string_withWhitespace' prefix 'wws'";
86 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
87 }
This page took 0.032927 seconds and 5 git commands to generate.