ETSI's Bug Tracker - Part 09: Using XML with TTCN-3
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0006854 | Part 09: Using XML with TTCN-3 | Editorial | public | 16-12-2014 16:24 | 18-12-2014 11:33

Reporter | Bogdan Stanca-Kaposta |
Assigned To |  |
Priority | normal | Severity | minor | Reproducibility | N/A
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v4.5.1 (published 2013-04) |
Target Version | v4.6.1 (published 2015-06) | Fixed in Version | v4.6.1 (published 2015-06) |
Clause Reference(s) | Annex A
For STF discussion |
Source (company - Author) | STF475

Summary | 0006854: missing semicolon after const declarations

Description

A semicolon is missing at the end of the const declaration (page 96, Annex A).
//ETSI ES 201 873-9 V4.5.1 (2013-04)
//These constants are used in the XSd date/time type definitions
const charstring
dash := "-",
cln := ":",
year := "(0(0(0[1-9]|[1-9][0-9])|[1-9][0-9][0-9])|[1-9][0-9][0-9][0-9])", yearExpansion := "(-([1-9][0-9]#(0,))#(,1))#(,1)",
month := "(0[1-9]|1[0-2])",
dayOfMonth := "(0[1-9]|[12][0-9]|3[01])",
hour := "([01][0-9]|2[0-3])",
minute := "([0-5][0-9])",
second := "([0-5][0-9])",
sFraction := "(.[0-9]#(1,))#(,1)",
endOfDayExt := "24:00:00(.0#(1,))#(,1)",
nums := "[0-9]#(1,)",
ZorTimeZoneExt := "(Z|[\+\-]((0[0-9]|1[0-3]):[0-5][0-9]|14:00))#(,1)", durTime := "(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))"
================ missing semicolon here ================
//anySimpleType

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files |

Issue History
Date Modified | Username | Field | Change
16-12-2014 16:24 | Bogdan Stanca-Kaposta | New Issue |
16-12-2014 16:59 | Bogdan Stanca-Kaposta | Note Added: 0012557 |
16-12-2014 17:01 | Bogdan Stanca-Kaposta | Note Edited: 0012557 | bug_revision_view_page.php?bugnote_id=12557#r104
18-12-2014 11:33 | Gyorgy Rethy | Note Added: 0012562 |
18-12-2014 11:33 | Gyorgy Rethy | Status | new => closed
18-12-2014 11:33 | Gyorgy Rethy | Resolution | open => fixed
18-12-2014 11:33 | Gyorgy Rethy | Fixed in Version | => v4.6.1 (published 2015-06)
18-12-2014 11:33 | Gyorgy Rethy | Target Version | => v4.6.1 (published 2015-06)

Notes

(0012557)
Bogdan Stanca-Kaposta
16-12-2014 16:59 (edited on: 16-12-2014 17:01)

There are also missing semicolons after each of the following declarations (page 99):
//TTCN-3 type definitions supporting the mapping of W3C XML Schema built-in datatypes
type utf8string XMLCompatibleString (
char(0,0,0,9).. char(0,0,0,9), char(0,0,0,10)..char(0,0,0,10), char(0,0,0,13)..char(0,0,0,13),
char(0,0,0,32)..char(0,0,215,255), char(0,0,224,0)..char(0,0,255,253), char(0,1,0,0)..char(0,16,255,253)
)
================ missing semicolon here ================
type utf8string XMLStringWithNoWhitespace (
char(0,0,0,33)..char(0,0,215,255), char(0,0,224,0)..char(0,0,255,253), char(0,1,0,0)..char(0,16,255,253)
)
================ missing semicolon here ================
type utf8string XMLStringWithNoCRLFHT (
char(0,0,0,32)..char(0,0,215,255), char(0,0,224,0)..char(0,0,255,253), char(0,1,0,0)..char(0,16,255,253)
)
================ optional semicolon here ================

(0012562)
Gyorgy Rethy
18-12-2014 11:33

Comments are valid, all are corrected in master draft V4.5.3