Logo etsi

ETSI's Bug Tracker

Notice: information submitted on the ETSI issue Tracker may be incorporated in ETSI publication(s) and therefore subject to the ETSI IPR policy.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007427Part 09: Using XML with TTCN-3Technicalpublic24-03-2016 16:3313-12-2016 17:30
ReporterGyorgy Rethy 
Assigned ToGyorgy Rethy 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versionv4.7.1 (published 2016-07) 
Target Versionv4.8.1 (published 2017-05)Fixed in Versionv4.8.1 (published 2017-05) 
Summary0007427: Type substitution is limiting replacing built-in XSD types
DescriptionCurrent text says:
"This clause is invoked if the XSD simpleType or complexType is referenced by the base attribute of the restriction or extension element information item(s) ..."

However this restricts the substitution of elements of built-in XSD types, while XSD/XML allows this. In the attached example the XSD element is defined to be of type integer, while its instance is of the type xsi:integer_deriv; the XML element validates without error.

Proposed solution: change the text to:
"This clause is invoked if the XSD built-in type, simpleType or complexType is referenced by the base attribute of the restriction or extension element information item(s) ..."
TagsNo tags attached.
Clause Reference(s)8.2 paragraph 1
For STF discussion
Source (company - Author)L.M.Ericsson
Attached Files? file icon typesub.xsd [^] (363 bytes) 24-03-2016 16:35
xml file icon typesub.xml [^] (236 bytes) 24-03-2016 16:42
docx file icon CR7427_proposal.docx [^] (144,283 bytes) 16-11-2016 14:28
docx file icon CR7427_proposal_v2.docx [^] (146,263 bytes) 16-11-2016 15:00

- Relationships

-  Notes
(0014265)
Kristóf Szabados (reporter)
16-11-2016 13:22

If I understand correctly simpleType already includes built-in types.

Section 8.2 has a note:
"
NOTE 1: This definition also includes the case when the type of an element is a built-in XSD data type and one or more user-defined types are derived from this built-in type.
"

Also simpleType is described in section 5.0 in Table 1 as:
"
Defines the simplest types. They may be a built-in type, a list or choice of built-in types and they are not allowed to have attributes.
"
(0014272)
Axel Rennoch (developer)
16-11-2016 15:01

small font corrections to the example 1 only
(0014431)
Gyorgy Rethy (reporter)
13-12-2016 17:30

Added to draft V4.7.2

- Issue History
Date Modified Username Field Change
24-03-2016 16:33 Gyorgy Rethy New Issue
24-03-2016 16:34 Gyorgy Rethy File Added: typesub.xml
24-03-2016 16:35 Gyorgy Rethy File Added: typesub.xsd
24-03-2016 16:41 Gyorgy Rethy File Deleted: typesub.xml
24-03-2016 16:42 Gyorgy Rethy File Added: typesub.xml
18-07-2016 10:39 Jens Grabowski Assigned To => Kristóf Szabados
18-07-2016 10:39 Jens Grabowski Status new => assigned
17-08-2016 11:57 Jacob Wieland - Spirent Target Version => v4.8.1 (published 2017-05)
16-11-2016 13:22 Kristóf Szabados Note Added: 0014265
16-11-2016 14:28 Kristóf Szabados File Added: CR7427_proposal.docx
16-11-2016 14:42 Kristóf Szabados Status assigned => confirmed
16-11-2016 14:43 Kristóf Szabados Assigned To Kristóf Szabados => Axel Rennoch
16-11-2016 14:43 Kristóf Szabados Status confirmed => assigned
16-11-2016 15:00 Axel Rennoch File Added: CR7427_proposal_v2.docx
16-11-2016 15:01 Axel Rennoch Note Added: 0014272
16-11-2016 15:02 Axel Rennoch Assigned To Axel Rennoch => Gyorgy Rethy
16-11-2016 15:03 Axel Rennoch Status assigned => resolved
16-11-2016 15:03 Axel Rennoch Resolution open => fixed
13-12-2016 17:30 Gyorgy Rethy Note Added: 0014431
13-12-2016 17:30 Gyorgy Rethy Status resolved => closed
13-12-2016 17:30 Gyorgy Rethy Fixed in Version => v4.8.1 (published 2017-05)


MantisBT 1.2.14 [^]
Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker