3abe9331 |
1 | /******************************************************************************* |
2 | * Copyright (c) 2000-2015 Ericsson Telecom AB |
3 | * |
4 | * XSD to TTCN-3 Translator version: CRL 113 200/5 R1A |
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_example_org_self_recursion_e.ttcn |
13 | // Description: |
14 | // References: |
15 | // Rev: |
16 | // Prodnr: |
17 | // Updated: Wed Sep 6 11:11:31 2014 |
18 | // Contact: http://ttcn.ericsson.se |
19 | // |
20 | //////////////////////////////////////////////////////////////////////////////// |
21 | // Generated from file(s): |
22 | // - complex_self_recursion.xsd |
23 | // /* xml version = "1.0" encoding = "UTF-8" */ |
24 | // /* targetnamespace = "www.example.org/self/recursion" */ |
25 | //////////////////////////////////////////////////////////////////////////////// |
26 | // Modification header(s): |
27 | //----------------------------------------------------------------------------- |
28 | // Modified by: |
29 | // Modification date: |
30 | // Description: |
31 | // Modification contact: |
32 | //------------------------------------------------------------------------------ |
33 | //////////////////////////////////////////////////////////////////////////////// |
34 | |
35 | |
36 | module www_example_org_self_recursion_e { |
37 | |
38 | |
39 | import from XSD all; |
40 | |
41 | |
42 | type record X |
43 | { |
44 | XSD.String attr2 optional, |
45 | XSD.String x, |
46 | record { |
47 | XSD.String attr1 optional, |
48 | XSD.String attr2 optional, |
49 | XSD.String x, |
50 | X.y y optional, |
51 | XSD.String z |
52 | } y optional |
53 | } |
54 | with { |
3f84031e |
55 | variant (attr2) "attribute"; |
56 | variant (y.attr1) "attribute"; |
57 | variant (y.attr2) "attribute"; |
3abe9331 |
58 | }; |
59 | |
60 | |
61 | } |
62 | with { |
3f84031e |
63 | encode "XML"; |
64 | variant "namespace as 'www.example.org/self/recursion' prefix 'this'"; |
65 | variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'"; |
3abe9331 |
66 | } |