Sync with 5.4.0
[deliverable/titan.core.git] / function_test / Semantic_Analyser / xer / b64_clash_SE.ttcn
CommitLineData
114d1c9a 1/******************************************************************************
3abe9331 2 * Copyright (c) 2000-2015 Ericsson Telecom AB
114d1c9a
EL
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 ******************************************************************************/
8module b64_clash_SE { //^In TTCN-3 module `b64_clash_SE'://
9
10type universal charstring b_ae //^In type definition// \
11//^error: A type with BASE64 shall not have any of the final encoding instructions ANY-ELEMENT or WHITESPACE// \
12//^error: A type with ANY-ELEMENT may not have any of the following encoding instructions: ATTRIBUTE, BASE64, DEFAULT-FOR-EMPTY, PI-OR-COMMENT, UNTAGGED or WHITESPACE//
13with {
14 variant "XSD:base64Binary";
15 variant "anyElement";
16}
17
18type universal charstring b_w //^In type definition// \
19//^error: A type with BASE64 shall not have any of the final encoding instructions ANY-ELEMENT or WHITESPACE//
20with {
21 variant "XSD:base64Binary";
22 variant "whiteSpace replace";
23}
24
25type record R1 { //^In type definition//
26 universal charstring f_ae //^In record field// \
27 //^error: A type with BASE64 shall not have any of the final encoding instructions ANY-ELEMENT or WHITESPACE// \
28 //^error: A type with ANY-ELEMENT may not have any of the following encoding instructions: ATTRIBUTE, BASE64, DEFAULT-FOR-EMPTY, PI-OR-COMMENT, UNTAGGED or WHITESPACE//
29}
30with {
31 variant (f_ae) "XSD:base64Binary";
32 variant (f_ae) "anyElement";
33}
34
35type union C { //^In type definition//
36 universal charstring f_ae //^In union field// \
37 //^error: A type with BASE64 shall not have any of the final encoding instructions ANY-ELEMENT or WHITESPACE//
38}
39with {
40 variant (f_ae) "XSD:base64Binary";
41 variant (f_ae) "whiteSpace collapse";
42}
43
44}
45with {
46encode "XML";
47}
48
This page took 0.039948 seconds and 5 git commands to generate.