ISO/IEC JTC 1/SC 34N0871
ISO/IEC JTC 1/SC 34
Information Technology --
Document Description and Processing Languages
|TITLE:||Defect report for ISO/IEC 19757-2:2006, DSDL Part 2: RELAX NG|
|SOURCE:||Dr. MURATA Makoto [FAMILY Given]|
|PROJECT:||IS 19757-2:2003: Document Schema Definition Languages (DSDL) Part 2 - Regular-grammar-based validation - RELAX NG|
|PROJECT EDITOR:||Dr. MURATA Makoto [FAMILY Given]|
|DISTRIBUTION:||SC34 and Liaisons|
Dr. James David Mason
(ISO/IEC JTC 1/SC 34 Secretariat - Standards Council of Canada)
Crane Softwrights Ltd.
Kars, ON K0A-2E0 CANADA
Telephone: +1 613 489-0999
Facsimile: +1 613 489-0995
Network: [email protected]
Defect Report on ISO/IEC 19757-2:2006, DSDL Part 2: RELAX NG
MURATA Makoto (FAMILY Given)
27 May, 2007
1) The definition of NCName references to W3C XML Schema Part 2 rather than "Namespaces in XML".
A non-terminal symbol NCName occurs in the EBNF for the compact syntax in C.2 (which is added by Amd1). This non-terminal is defined using W3C XML Schema Part 2. However, it should be defined using "Namespaces in XML" (W3C Recommendation), since NCName as defined in W3C XML Schema allows leading/trailing whitespace. Such leading/trailing whitespace cause significant problems to the definition of quotedIdentifier, CName, and nsName, which rely on NCName.
Note: In the OASIS committee specification for the RELAX NG compact syntax, the definition of NCName relies on "Namespaces in XML".
2) ISO/IEC 10646 is not referenced.
Since the compact syntax has an escape mechanism for ISO/IEC 10646 characters, ISO/IEC 10646 should be cited as a normative reference but it is not.
3) It does not make sense to mention an alternative syntax in Clause 5.
The last sentence of Clause 5 (which is added by Amd1) is "An alternative compact syntax is described in Annex C." However, Since Clause 5 of 19757-2 is "Data model", this sentence should appear at the end of Clause 6, which is "Full syntax".
4) The media type for the compact syntax has already been registered.
C.7 (added by Amd1) says that the media type for RNC is "being reviewed by the IESG". However, it has been already registered at IANA.
5) W3C XML and W3C XML-Names do not have to be added.
 W3C XML and  W3C XML-Names were introduced by Amendment 1, but they are normative references of 19757-2 already.