1 /******************************************************************************
2 * Copyright (c) 2000-2016 Ericsson Telecom AB
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
12 ******************************************************************************/
13 module base64_wrong_type_SE { //^In TTCN-3 module `base64_wrong_type_SE'://
15 type integer int64 //^In type definition// \
16 //^error: BASE64 can only be applied to OCTET STRING, open type or restricted character string type//
17 with { variant "XSD:base64Binary" }
19 type float f64 //^In type definition// \
20 //^error: BASE64 can only be applied to OCTET STRING, open type or restricted character string type//
21 with { variant "XSD:base64Binary" }
23 type boolean b64 //^In type definition// \
24 //^error: BASE64 can only be applied to OCTET STRING, open type or restricted character string type//
25 with { variant "XSD:base64Binary" }
27 type record r64 {} //^In type definition// \
28 //^error: BASE64 can only be applied to OCTET STRING, open type or restricted character string type//
29 with { variant "XSD:base64Binary" }
31 type record rf64 { //^In type definition//
32 integer int64 //^In record field// \
33 //^error: BASE64 can only be applied to OCTET STRING, open type or restricted character string type//
35 with { variant (int64) "XSD:base64Binary" }