Last sync 2016.04.01
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / www_example_org_self_recursion_e.ttcn
CommitLineData
d44e3c4f 1/******************************************************************************
2* Copyright (c) 2000-2016 Ericsson Telecom AB
3abe9331 3*
d44e3c4f 4* XSD to TTCN-3 Translator
3abe9331 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
d44e3c4f 10*
11* Contributors:
12* Balasko, Jeno
13* Szabo, Bence Janos
14*
15******************************************************************************/
3abe9331 16//
17// File: www_example_org_self_recursion_e.ttcn
18// Description:
19// References:
20// Rev:
21// Prodnr:
22// Updated: Wed Sep 6 11:11:31 2014
23// Contact: http://ttcn.ericsson.se
24//
25////////////////////////////////////////////////////////////////////////////////
26// Generated from file(s):
27// - complex_self_recursion.xsd
28// /* xml version = "1.0" encoding = "UTF-8" */
29// /* targetnamespace = "www.example.org/self/recursion" */
30////////////////////////////////////////////////////////////////////////////////
31// Modification header(s):
32//-----------------------------------------------------------------------------
33// Modified by:
34// Modification date:
35// Description:
36// Modification contact:
37//------------------------------------------------------------------------------
38////////////////////////////////////////////////////////////////////////////////
39
40
41module www_example_org_self_recursion_e {
42
43
44import from XSD all;
45
46
47type record X
48{
49 XSD.String attr2 optional,
50 XSD.String x,
51 record {
52 XSD.String attr1 optional,
53 XSD.String attr2 optional,
54 XSD.String x,
55 X.y y optional,
56 XSD.String z
57 } y optional
58}
59with {
3f84031e 60 variant (attr2) "attribute";
61 variant (y.attr1) "attribute";
62 variant (y.attr2) "attribute";
3abe9331 63};
64
65
66}
67with {
3f84031e 68 encode "XML";
69 variant "namespace as 'www.example.org/self/recursion' prefix 'this'";
70 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
3abe9331 71}
This page took 0.027512 seconds and 5 git commands to generate.