From 7f9d32f6c5d5e40eb38730e62a258c8124dc5ab2 Mon Sep 17 00:00:00 2001
From: Adrien Kirjak <adrien.kirjak@ericsson.com>
Date: Mon, 3 Oct 2016 15:44:26 +0200
Subject: [PATCH] Corrected negative tests

Signed-off-by: Adrien Kirjak <adrien.kirjak@ericsson.com>
---
 .../negative_tests/06_types_and_values.script | 10 ++--
 .../negative_test/neg_xml_tests.script        | 48 +++++++++----------
 2 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/conformance_test/core_language_tests/negative_tests/06_types_and_values.script b/conformance_test/core_language_tests/negative_tests/06_types_and_values.script
index 9195c4ef5..444c6e409 100644
--- a/conformance_test/core_language_tests/negative_tests/06_types_and_values.script
+++ b/conformance_test/core_language_tests/negative_tests/06_types_and_values.script
@@ -2136,7 +2136,7 @@ module NegSem_06010205_StringPattern_001 {
 <END_MODULE>
 
 <RESULT COUNT 1>
-error: "abcyz" is not a valid value for type `charstring' which has subtype pattern\(\?bc\*xyz\)
+error: "abcyz" is not a valid value for type `charstring' which has subtype pattern \(\?bc\*xyz\)
 <END_RESULT>
 
 <END_TC>
@@ -2175,7 +2175,7 @@ module NegSyn_06010205_StringPattern_001 {
 <END_MODULE>
 
 <RESULT COUNT 1>
-error: "ABc1234xYz" is not a valid value for type `charstring' which has subtype pattern\(abc\*xyz\)
+error: "ABc1234xYz" is not a valid value for type `charstring' which has subtype pattern \(abc\*xyz\)
 <END_RESULT>
 
 <END_TC>
@@ -2214,7 +2214,7 @@ module NegSyn_06010205_StringPattern_002 {
 <END_MODULE>
 
 <RESULT COUNT 1>
-error: char\(0, 0, 0, 197\) & char\(0, 0, 0, 180\) \& "abc" is not a valid value for type `charstring' which has subtype pattern\(\\q\{0,0,1,116\}abc\)
+error: char\(0, 0, 0, 197\) & char\(0, 0, 0, 180\) \& "abc" is not a valid value for type `charstring' which has subtype pattern \(\\q\{0,0,1,116\}abc\)
 <END_RESULT>
 
 <END_TC>
@@ -2328,7 +2328,7 @@ module NegSem_0601020602_StringMixing_001 {
 <END_MODULE>
 
 <RESULT COUNT 1>
-error: "abcyz" is not a valid value for type `charstring' which has subtype \(pattern\(\?bc\*xyz\) intersection length\(5..8\)\)
+error: "abcyz" is not a valid value for type `charstring' which has subtype \(pattern \(\?bc\*xyz\) intersection length\(5..8\)\)
 <END_RESULT>
 
 <END_TC>
@@ -2366,7 +2366,7 @@ module NegSem_0601020602_StringMixing_002 {
 <END_MODULE>
 
 <RESULT COUNT 1>
-error: "abc123xyz" is not a valid value for type `charstring' which has subtype \(pattern\(\?bc\*xyz\) intersection length\(5..8\)\)
+error: "abc123xyz" is not a valid value for type `charstring' which has subtype \(pattern \(\?bc\*xyz\) intersection length\(5..8\)\)
 <END_RESULT>
 
 <END_TC>
diff --git a/conformance_test/xml_tests/negative_test/neg_xml_tests.script b/conformance_test/xml_tests/negative_test/neg_xml_tests.script
index c3b328c1a..e5b19a62c 100644
--- a/conformance_test/xml_tests/negative_test/neg_xml_tests.script
+++ b/conformance_test/xml_tests/negative_test/neg_xml_tests.script
@@ -2132,7 +2132,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "2014-04-17T13:59" is not a valid value for type `charstring' which has subtype pattern\(\(-\(\[1-9\]\[0-9\]#\(0,\)\)#\(,1\)\)#\(,1\)\[0-9\]#4-\(0\[1-9\]\|1\[0-2\]\)-\(0\[1-9\]\|\[12\]\[0-9\]\|3\[01\]\)T\(\(\[01\]\[0-9\]\|2\[0-3\]\):\(\[0-5\]\[0-9\]\):\(\[0-5\]\[0-9\]\)\(.\[0-9\]#\(1,\)\)#\(,1\)\|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "2014-04-17T13:59" is not a valid value for type `charstring' which has subtype pattern \(\(-\([1-9][0-9]#\(0,\)\)#\(,1\)\)#\(,1\)[0-9]#4-\(0[1-9]|1[0-2]\)-\(0[1-9]|[12][0-9]|3[01]\)T\(\([01][0-9]|2[0-3]\):\([0-5][0-9]\):\([0-5][0-9]\)\(.[0-9]#\(1,\)\)#\(,1\)|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -2271,7 +2271,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "2014-04-1713:59" is not a valid value for type `charstring' which has subtype pattern\(\(-\(\[1-9\]\[0-9\]#\(0,\)\)#\(,1\)\)#\(,1\)\[0-9\]#4-\(0\[1-9\]\|1\[0-2\]\)-\(0\[1-9\]\|\[12\]\[0-9\]\|3\[01\]\)T\(\(\[01\]\[0-9\]\|2\[0-3\]\):\(\[0-5\]\[0-9\]\):\(\[0-5\]\[0-9\]\)\(.\[0-9\]#\(1,\)\)#\(,1\)\|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "2014-04-1713:59" is not a valid value for type `charstring' which has subtype pattern \(\(-\([1-9][0-9]#\(0,\)\)#\(,1\)\)#\(,1\)[0-9]#4-\(0[1-9]|1[0-2]\)-\(0[1-9]|[12][0-9]|3[01]\)T\(\([01][0-9]|2[0-3]\):\([0-5][0-9]\):\([0-5][0-9]\)\(.[0-9]#\(1,\)\)#\(,1\)|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -2409,7 +2409,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "99-04-17T13:59" is not a valid value for type `charstring' which has subtype pattern\(\(-\(\[1-9\]\[0-9\]#\(0,\)\)#\(,1\)\)#\(,1\)\[0-9\]#4-\(0\[1-9\]\|1\[0-2\]\)-\(0\[1-9\]\|\[12\]\[0-9\]\|3\[01\]\)T\(\(\[01\]\[0-9\]\|2\[0-3\]\):\(\[0-5\]\[0-9\]\):\(\[0-5\]\[0-9\]\)\(.\[0-9\]#\(1,\)\)#\(,1\)\|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "99-04-17T13:59" is not a valid value for type `charstring' which has subtype pattern \(\(-\([1-9][0-9]#\(0,\)\)#\(,1\)\)#\(,1\)[0-9]#4-\(0[1-9]|1[0-2]\)-\(0[1-9]|[12][0-9]|3[01]\)T\(\([01][0-9]|2[0-3]\):\([0-5][0-9]\):\([0-5][0-9]\)\(.[0-9]#\(1,\)\)#\(,1\)|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -2548,7 +2548,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "2014-04-17" is not a valid value for type `charstring' which has subtype pattern\(\(-\(\[1-9\]\[0-9\]#\(0,\)\)#\(,1\)\)#\(,1\)\[0-9\]#4-\(0\[1-9\]\|1\[0-2\]\)-\(0\[1-9\]\|\[12\]\[0-9\]\|3\[01\]\)T\(\(\[01\]\[0-9\]\|2\[0-3\]\):\(\[0-5\]\[0-9\]\):\(\[0-5\]\[0-9\]\)\(.\[0-9\]#\(1,\)\)#\(,1\)\|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "2014-04-17" is not a valid value for type `charstring' which has subtype pattern \(\(-\([1-9][0-9]#\(0,\)\)#\(,1\)\)#\(,1\)[0-9]#4-\(0[1-9]|1[0-2]\)-\(0[1-9]|[12][0-9]|3[01]\)T\(\([01][0-9]|2[0-3]\):\([0-5][0-9]\):\([0-5][0-9]\)\(.[0-9]#\(1,\)\)#\(,1\)|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -2686,7 +2686,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "99-04-12" is not a valid value for type `charstring' which has subtype pattern\(\(-\(\[1-9\]\[0-9\]#\(0,\)\)#\(,1\)\)#\(,1\)\[0-9\]#4-\(0\[1-9\]\|1\[0-2\]\)-\(0\[1-9\]\|\[12\]\[0-9\]\|3\[01\]\)T\(\(\[01\]\[0-9\]\|2\[0-3\]\):\(\[0-5\]\[0-9\]\):\(\[0-5\]\[0-9\]\)\(.\[0-9\]#\(1,\)\)#\(,1\)\|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "99-04-12" is not a valid value for type `charstring' which has subtype pattern \(\(-\([1-9][0-9]#\(0,\)\)#\(,1\)\)#\(,1\)[0-9]#4-\(0[1-9]|1[0-2]\)-\(0[1-9]|[12][0-9]|3[01]\)T\(\([01][0-9]|2[0-3]\):\([0-5][0-9]\):\([0-5][0-9]\)\(.[0-9]#\(1,\)\)#\(,1\)|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -2823,7 +2823,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "2014-4-2" is not a valid value for type `charstring' which has subtype pattern\(\(-\(\[1-9\]\[0-9\]#\(0,\)\)#\(,1\)\)#\(,1\)\[0-9\]#4-\(0\[1-9\]\|1\[0-2\]\)-\(0\[1-9\]\|\[12\]\[0-9\]\|3\[01\]\)T\(\(\[01\]\[0-9\]\|2\[0-3\]\):\(\[0-5\]\[0-9\]\):\(\[0-5\]\[0-9\]\)\(.\[0-9\]#\(1,\)\)#\(,1\)\|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "2014-4-2" is not a valid value for type `charstring' which has subtype pattern \(\(-\([1-9][0-9]#\(0,\)\)#\(,1\)\)#\(,1\)[0-9]#4-\(0[1-9]|1[0-2]\)-\(0[1-9]|[12][0-9]|3[01]\)T\(\([01][0-9]|2[0-3]\):\([0-5][0-9]\):\([0-5][0-9]\)\(.[0-9]#\(1,\)\)#\(,1\)|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -2961,7 +2961,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "2014/04/02" is not a valid value for type `charstring' which has subtype pattern\(\(-\(\[1-9\]\[0-9\]#\(0,\)\)#\(,1\)\)#\(,1\)\[0-9\]#4-\(0\[1-9\]\|1\[0-2\]\)-\(0\[1-9\]\|\[12\]\[0-9\]\|3\[01\]\)T\(\(\[01\]\[0-9\]\|2\[0-3\]\):\(\[0-5\]\[0-9\]\):\(\[0-5\]\[0-9\]\)\(.\[0-9\]#\(1,\)\)#\(,1\)\|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "2014/04/02" is not a valid value for type `charstring' which has subtype pattern \(\(-\([1-9][0-9]#\(0,\)\)#\(,1\)\)#\(,1\)[0-9]#4-\(0[1-9]|1[0-2]\)-\(0[1-9]|[12][0-9]|3[01]\)T\(\([01][0-9]|2[0-3]\):\([0-5][0-9]\):\([0-5][0-9]\)\(.[0-9]#\(1,\)\)#\(,1\)|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -3099,7 +3099,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "04-12-2014" is not a valid value for type `charstring' which has subtype pattern\(\(-\(\[1-9\]\[0-9\]#\(0,\)\)#\(,1\)\)#\(,1\)\[0-9\]#4-\(0\[1-9\]\|1\[0-2\]\)-\(0\[1-9\]\|\[12\]\[0-9\]\|3\[01\]\)T\(\(\[01\]\[0-9\]\|2\[0-3\]\):\(\[0-5\]\[0-9\]\):\(\[0-5\]\[0-9\]\)\(.\[0-9\]#\(1,\)\)#\(,1\)\|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "04-12-2014" is not a valid value for type `charstring' which has subtype pattern \(\(-\([1-9][0-9]#\(0,\)\)#\(,1\)\)#\(,1\)[0-9]#4-\(0[1-9]|1[0-2]\)-\(0[1-9]|[12][0-9]|3[01]\)T\(\([01][0-9]|2[0-3]\):\([0-5][0-9]\):\([0-5][0-9]\)\(.[0-9]#\(1,\)\)#\(,1\)|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -3238,7 +3238,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "99-04" is not a valid value for type `charstring' which has subtype pattern\(\(-\(\[1-9\]\[0-9\]#\(0,\)\)#\(,1\)\)#\(,1\)\[0-9\]#4-\(0\[1-9\]\|1\[0-2\]\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "99-04" is not a valid value for type `charstring' which has subtype pattern \(\(-\([1-9][0-9]#\(0,\)\)#\(,1\)\)#\(,1\)[0-9]#4-\(0[1-9]|1[0-2]\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -3376,7 +3376,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "2014" is not a valid value for type `charstring' which has subtype pattern\(\(-\(\[1-9\]\[0-9\]#\(0,\)\)#\(,1\)\)#\(,1\)\[0-9\]#4-\(0\[1-9\]\|1\[0-2\]\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "2014" is not a valid value for type `charstring' which has subtype pattern \(\(-\([1-9][0-9]#\(0,\)\)#\(,1\)\)#\(,1\)[0-9]#4-\(0[1-9]|1[0-2]\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -3514,7 +3514,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "2004-4" is not a valid value for type `charstring' which has subtype pattern\(\(-\(\[1-9\]\[0-9\]#\(0,\)\)#\(,1\)\)#\(,1\)\[0-9\]#4-\(0\[1-9\]\|1\[0-2\]\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "2004-4" is not a valid value for type `charstring' which has subtype pattern \(\(-\([1-9][0-9]#\(0,\)\)#\(,1\)\)#\(,1\)[0-9]#4-\(0[1-9]|1[0-2]\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -3652,7 +3652,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "2004-13" is not a valid value for type `charstring' which has subtype pattern\(\(-\(\[1-9\]\[0-9\]#\(0,\)\)#\(,1\)\)#\(,1\)\[0-9\]#4-\(0\[1-9\]\|1\[0-2\]\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "2004-13" is not a valid value for type `charstring' which has subtype pattern \(\(-\([1-9][0-9]#\(0,\)\)#\(,1\)\)#\(,1\)[0-9]#4-\(0[1-9]|1[0-2]\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -3790,7 +3790,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "99" is not a valid value for type `charstring' which has subtype pattern\(\(-\(\[1-9\]\[0-9\]#\(0,\)\)#\(,1\)\)#\(,1\)\[0-9\]#4\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "99" is not a valid value for type `charstring' which has subtype pattern \(\(-\([1-9][0-9]#\(0,\)\)#\(,1\)\)#\(,1\)[0-9]#4\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -5977,7 +5977,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "TTCN 3" is not a valid value for type `charstring' which has subtype pattern\(\[a-zA-Z\]#\(1,8\)\(-\\w#\(1,8\)\)#\(0,\)\)
+error: "TTCN 3" is not a valid value for type `charstring' which has subtype pattern \(\[a-zA-Z\]#\(1,8\)\(-\\w#\(1,8\)\)#\(0,\)\)
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\)\(M\([0-9]#\(1,\)\(S|.[0-9]#\(1,\)S\)\)#\(,1\)|.[0-9]#\(1,\)S|S\)\)#\(,1\)|M\([0-9]#\(1,\)\(S|.[0-9]#\(1,\)S\)|.[0-9]#\(1,\)M\)#\(,1\)|S|.[0-9]#\(1,\)S\)\)#\(,1\)\)|D\(T[0-9]#\(1,\)\(H\([0-9]#\(1,\)\(M\([0-9]#\(1,\)\(S|.[0-9]#\(1,\)S\)\)#\(,1\)|.[0-9]#\(1,\)S|S\)\)#\(,1\)|M\([0-9]#\(1,\)\(S|.[0-9]#\(1,\)S\)|.[0-9]#\(1,\)M\)#\(,1\)|S|.[0-9]#\(1,\)S\)\)#\(,1\)\)|\(T[0-9]#\(1,\)\(H\([0-9]#\(1,\)\(M\([0-9]#\(1,\)\(S|.[0-9]#\(1,\)S\)\)#\(,1\)|.[0-9]#\(1,\)S|S\)\)#\(,1\)|M\([0-9]#\(1,\)\(S|.[0-9]#\(1,\)S\)|.[0-9]#\(1,\)M\)#\(,1\)|S|.[0-9]#\(1,\)S\)\)\)\)
 <END_RESULT>
 
 <END_TC>
@@ -6889,7 +6889,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "14-12-12-12:00:00" is not a valid value for type `charstring' which has subtype pattern\(\(-\(\[1-9\]\[0-9\]#\(0,\)\)#\(,1\)\)#\(,1\)\[0-9\]#4-\(0\[1-9\]\|1\[0-2\]\)-\(0\[1-9\]\|\[12\]\[0-9\]\|3\[01\]\)T\(\(\[01\]\[0-9\]\|2\[0-3\]\):\(\[0-5\]\[0-9\]\):\(\[0-5\]\[0-9\]\)\(.\[0-9\]#\(1,\)\)#\(,1\)\|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "14-12-12-12:00:00" is not a valid value for type `charstring' which has subtype pattern \(\(-\([1-9][0-9]#\(0,\)\)#\(,1\)\)#\(,1\)[0-9]#4-\(0[1-9]|1[0-2]\)-\(0[1-9]|[12][0-9]|3[01]\)T\(\([01][0-9]|2[0-3]\):\([0-5][0-9]\):\([0-5][0-9]\)\(.[0-9]#\(1,\)\)#\(,1\)|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -6946,7 +6946,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "66:66" is not a valid value for type `charstring' which has subtype pattern\(\(\(\[01\]\[0-9\]\|2\[0-3\]\):\(\[0-5\]\[0-9\]\):\(\[0-5\]\[0-9\]\)\(.\[0-9\]#\(1,\)\)#\(,1\)\|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "66:66" is not a valid value for type `charstring' which has subtype pattern \(\(\([01][0-9]|2[0-3]\):\([0-5][0-9]\):\([0-5][0-9]\)\(.[0-9]#\(1,\)\)#\(,1\)|24:00:00\(.0#\(1,\)\)#\(,1\)\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -6957,7 +6957,7 @@ error: "66:66" is not a valid value for type `charstring' which has subtype patt
 .*---------------------------------------------------------------------*
 :xmp tab=0.
 
-<TC - Ensure the builtin XSD type Time allows only valid values >
+<TC - Ensure the builtin XSD type Date allows only valid values >
 
 <COMPILE>
 
@@ -7003,7 +7003,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "14.13.13" is not a valid value for type `charstring' which has subtype pattern\(\(-\(\[1-9\]\[0-9\]#\(0,\)\)#\(,1\)\)#\(,1\)\[0-9\]#4-\(0\[1-9\]\|1\[0-2\]\)-\(0\[1-9\]\|\[12\]\[0-9\]\|3\[01\]\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "14.13.13" is not a valid value for type `charstring' which has subtype pattern \(\(-\([1-9][0-9]#\(0,\)\)#\(,1\)\)#\(,1\)[0-9]#4-\(0[1-9]|1[0-2]\)-\(0[1-9]|[12][0-9]|3[01]\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -7060,7 +7060,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "14-13" is not a valid value for type `charstring' which has subtype pattern\(\(-\(\[1-9\]\[0-9\]#\(0,\)\)#\(,1\)\)#\(,1\)\[0-9\]#4-\(0\[1-9\]\|1\[0-2\]\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "14-13" is not a valid value for type `charstring' which has subtype pattern \(\(-\([1-9][0-9]#\(0,\)\)#\(,1\)\)#\(,1\)[0-9]#4-\(0[1-9]|1[0-2]\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -7117,7 +7117,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "14" is not a valid value for type `charstring' which has subtype pattern\(\(-\(\[1-9\]\[0-9\]#\(0,\)\)#\(,1\)\)#\(,1\)\[0-9\]#4\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "14" is not a valid value for type `charstring' which has subtype pattern \(\(-\([1-9][0-9]#\(0,\)\)#\(,1\)\)#\(,1\)[0-9]#4\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -7174,7 +7174,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "12-18" is not a valid value for type `charstring' which has subtype pattern\(--\(0\[1-9\]\|1\[0-2\]\)-\(0\[1-9\]\|\[12\]\[0-9\]\|3\[01\]\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "12-18" is not a valid value for type `charstring' which has subtype pattern \(--\(0[1-9]|1[0-2]\)-\(0[1-9]|[12][0-9]|3[01]\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -7231,7 +7231,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "18" is not a valid value for type `charstring' which has subtype pattern\(---\(0\[1-9\]\|\[12\]\[0-9\]\|3\[01\]\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "18" is not a valid value for type `charstring' which has subtype pattern \(---\(0[1-9]|[12][0-9]|3[01]\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
@@ -7288,7 +7288,7 @@ usefultypes_tmp_keyword
 <END_MODULE>
 
 <RESULT COUNT>
-error: "12" is not a valid value for type `charstring' which has subtype pattern\(--\(0\[1-9\]\|1\[0-2\]\)\(Z\|\[\+-\]\(\(0\[0-9\]\|1\[0-3\]\):\[0-5\]\[0-9\]\|14:00\)\)#\(,1\)\)
+error: "12" is not a valid value for type `charstring' which has subtype pattern \(--\(0[1-9]|1[0-2]\)\(Z|[+-]\(\(0[0-9]|1[0-3]\):[0-5][0-9]|14:00\)\)#\(,1\)\)
 <END_RESULT>
 
 <END_TC>
-- 
GitLab