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

ID | Project | Category | View Status | Date Submitted | Last Update
0007470 | Part 09: Using XML with TTCN-3 | Editorial | public | 04-08-2016 11:41 | 13-12-2016 20:54

Reporter | KristÃ³f Szabados |
Assigned To | Gyorgy Rethy |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v4.7.1 (published 2016-07) |
Target Version | v4.8.1 (published 2017-05) | Fixed in Version | v4.8.1 (published 2017-05) |
Clause Reference(s) | 7.5.3, 8.2
For STF discussion |
Source (company - Author) | L.M.Ericsson

Summary | 0007470: editorial: inconsistent namespace names

Description

In the current version of part9 the "http://" [^] prefix is used inconsistently in the examples. This can lead to incorrect examples.
For example in section 7.5.3, example 1 has:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema" [^]
xmlns:ns=http://www.example.org/union [^]
targetNamespace="http://www.example.org/union"> [^]
This is converted into:
(please note the namespace loosing the http:// part)
with {
encode "XML";
variant "namespace as 'www.example.org/union' prefix 'ns'";
variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' [^] prefix 'xsi'";
}
And so the resulting encoding is:
<?xml version="1.0" encoding="UTF-8"?>
<ns:e21namedElement xmlns:ns='www.example.org/union' xmlns:xsd='http://www.w3.org/2001/XMLSchema' [^] xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' [^] xsi:type= 'xsd:integer'>1</ns:e21namedElement>
But 'www.example.org/union' and "http://www.example.org/union" [^] might not be recognized as the same namespace.
I believe this is just an editorial issue.
Having the "http://" [^] present consistently could solve it

Steps To Reproduce |
Additional Information | Please note that in some example the "http://" [^] -less form used correctly. Still, for consistency reasons it would make the standard more readable to have the paths in a consistent form.
Tags | No tags attached.

Relationships

related to | 0007368 | closed | Gyorgy Rethy | Check the use of "may"-s in the standard
related to | 0007520 | closed | Gyorgy Rethy | Error in union example clause 7.5.3

Attached Files |

Issue History
Date Modified | Username | Field | Change
04-08-2016 11:41 | KristÃ³f Szabados | New Issue |
15-08-2016 10:51 | Jens Grabowski | Assigned To | => Axel Rennoch
15-08-2016 10:51 | Jens Grabowski | Status | new => assigned
16-08-2016 16:27 | Axel Rennoch | Relationship added | related to 0007368
19-08-2016 09:24 | Axel Rennoch | Note Added: 0014169 |
19-08-2016 09:24 | Axel Rennoch | Assigned To | Axel Rennoch => KristÃ³f Szabados
19-08-2016 09:24 | Axel Rennoch | Status | assigned => acknowledged
19-08-2016 10:08 | Axel Rennoch | Note Added: 0014174 |
19-08-2016 10:08 | Axel Rennoch | Status | acknowledged => confirmed
19-08-2016 15:21 | KristÃ³f Szabados | Note Added: 0014191 |
19-08-2016 15:21 | KristÃ³f Szabados | Status | confirmed => resolved
19-08-2016 15:21 | KristÃ³f Szabados | Fixed in Version | => v4.9.1 (published 2018-05)
19-08-2016 15:21 | KristÃ³f Szabados | Resolution | open => fixed
19-08-2016 15:21 | KristÃ³f Szabados | Assigned To | KristÃ³f Szabados => Gyorgy Rethy
05-11-2016 17:35 | KristÃ³f Szabados | Relationship added | related to 0007520
13-12-2016 20:54 | Gyorgy Rethy | Status | resolved => closed
13-12-2016 20:54 | Gyorgy Rethy | Fixed in Version | v4.9.1 (published 2018-05) => v4.8.1 (published 2017-05)
13-12-2016 20:54 | Gyorgy Rethy | Target Version | => v4.8.1 (published 2017-05)

Notes

(0014169)
Axel Rennoch
19-08-2016 09:24

please see proposed resolution in CR7368

(0014174)
Axel Rennoch
19-08-2016 10:08

status correction

(0014191)
KristÃ³f Szabados
19-08-2016 15:21

Resolved in CR7368