1 /******************************************************************************
2 * Copyright (c) 2000-2016 Ericsson Telecom AB
4 * XSD to TTCN-3 Translator
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
15 ******************************************************************************/
17 // File: www_example_org_regex_square_brackets.ttcn
22 // Updated: Wed Jun 17 13:42:09 2015
23 // Contact: http://ttcn.ericsson.se
25 ////////////////////////////////////////////////////////////////////////////////
26 // Generated from file(s):
27 // - regex_square_brackets.xsd
28 // /* xml version = "1.0" encoding = "UTF-8" */
29 // /* targetnamespace = "www.example.org/regex/square/brackets" */
30 ////////////////////////////////////////////////////////////////////////////////
31 // Modification header(s):
32 //-----------------------------------------------------------------------------
36 // Modification contact:
37 //------------------------------------------------------------------------------
38 ////////////////////////////////////////////////////////////////////////////////
41 module www_example_org_regex_square_brackets {
47 type XSD.String Pattern1 (pattern "}[\(@\)\{1,5\}\{\}|\\.\[\]]#(3,)")
49 variant "name as uncapitalized";
53 type XSD.String Pattern2 (pattern "\{[?.a-zA-Z\(@\)\{1,3\},\[\]/\^\{\}]#(0,1)")
55 variant "name as uncapitalized";
59 type XSD.String Pattern3 (pattern "(sip:(^[a-zA-Z0-9+\-_]*(!?*!)#(0,1)[\(@\)\{1\}a-zA-Z0-9.\-_])#(1,71))|tel:\+([\-.\(\)0-9]*(!?*!)#(0,1))#(4,71)")
61 variant "name as uncapitalized";
68 variant "namespace as 'www.example.org/regex/square/brackets'";
69 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";