/******************************************************************************* * Copyright Ericsson Telecom AB 2015 * * XSD to TTCN-3 Translator version: CRL 113 200/5 R3A * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html *******************************************************************************/ // // File: www_example_org_regex_square_brackets.ttcn // Description: // References: // Rev: // Prodnr: // Updated: Wed Jun 17 13:42:09 2015 // Contact: http://ttcn.ericsson.se // //////////////////////////////////////////////////////////////////////////////// // Generated from file(s): // - regex_square_brackets.xsd // /* xml version = "1.0" encoding = "UTF-8" */ // /* targetnamespace = "www.example.org/regex/square/brackets" */ //////////////////////////////////////////////////////////////////////////////// // Modification header(s): //----------------------------------------------------------------------------- // Modified by: // Modification date: // Description: // Modification contact: //------------------------------------------------------------------------------ //////////////////////////////////////////////////////////////////////////////// module www_example_org_regex_square_brackets { import from XSD all; type XSD.String Pattern1 (pattern "}[\(@\)\{1,5\}\{\}|\\.\[\]]#(3,)") with { variant "name as uncapitalized"; }; type XSD.String Pattern2 (pattern "\{[?.a-zA-Z\(@\)\{1,3\},\[\]/\^\{\}]#(0,1)") with { variant "name as uncapitalized"; }; 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)") with { variant "name as uncapitalized"; }; } with { encode "XML"; variant "namespace as 'www.example.org/regex/square/brackets'"; variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'"; }