1 /*******************************************************************************
2 * Copyright Ericsson Telecom AB
4 * XSD to TTCN-3 Translator
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 *******************************************************************************/
12 // File: www_XmlTest_org_complex_simpleContent.ttcn
17 // Updated: Thu Sep 5 17:35:03 2013
18 // Contact: http://ttcn.ericsson.se
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - XmlTest_complex_simpleContent.xsd
23 // /* xml version = "1.0" */
24 // /* targetnamespace = "www.XmlTest.org/complex_simpleContent" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
36 module www_XmlTest_org_complex_simpleContent_e {
42 /* This documentum tests based on
43 XML Schema Part 1: Structures Second Edition, */
46 type record ComplexTypeWithSimpleContent1
48 XSD.String idCard optional,
49 XSD.String passportId optional,
53 variant (idCard) "name as capitalized";
54 variant (idCard) "attribute";
55 variant (passportId) "name as capitalized";
56 variant (passportId) "attribute";
57 variant (base) "untagged";
61 type record ComplexTypeWithSimpleContent2
63 XSD.String idCard optional,
64 XSD.String passportId optional,
65 XSD.String base length(4)
68 variant (idCard) "name as capitalized";
69 variant (idCard) "attribute";
70 variant (passportId) "name as capitalized";
71 variant (passportId) "attribute";
72 variant (base) "untagged";
79 variant "namespace as 'www.XmlTest.org/complex_simpleContent_e' prefix 'ns35'";
80 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";