Sync with 5.4.0
[deliverable/titan.core.git] / function_test / Semantic_Analyser / xer / b64_wrong_type_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 base64_wrong_type_SE { //^In TTCN-3 module `base64_wrong_type_SE'://
9
10type integer int64 //^In type definition// \
11//^error: BASE64 can only be applied to OCTET STRING, open type or restricted character string type//
12with { variant "XSD:base64Binary" }
13
14type float f64 //^In type definition// \
15//^error: BASE64 can only be applied to OCTET STRING, open type or restricted character string type//
16with { variant "XSD:base64Binary" }
17
18type boolean b64 //^In type definition// \
19//^error: BASE64 can only be applied to OCTET STRING, open type or restricted character string type//
20with { variant "XSD:base64Binary" }
21
22type record r64 {} //^In type definition// \
23//^error: BASE64 can only be applied to OCTET STRING, open type or restricted character string type//
24with { variant "XSD:base64Binary" }
25
26type record rf64 { //^In type definition//
27 integer int64 //^In record field// \
28//^error: BASE64 can only be applied to OCTET STRING, open type or restricted character string type//
29}
30with { variant (int64) "XSD:base64Binary" }
31
32}
33with {
34encode "XML";
35}
This page took 0.025561 seconds and 5 git commands to generate.