QNames and XML Fifth Ed.

We define QNames by reference to the production in the XML+NS specification, which itself in turn made its production since the last edition independent of any edition of XML 1.0, which results to the production being defined by XML Fifth edition if you just click through.

 

When I try to create a QName with the wider range of allow NameStart characters of the fifth edition, then sometimes this succeeds and sometimes it fails, depending on processor, version and construct.

 

Under the QName section (under Section 2) we do not state the dependency of XML editions, in fact we directly link to the latest edition in the production, as opposed to the appendix.

 

My question therefore is: should a QName internally (as a datatype) always support the latest XML edition? And is the normative reference on XML 1.0, which says minimal 3rd edition, only applicable to places where these QNames are materialized, i.e. through fn:serialize, or xsl:output in XSLT? Or does the spec allow leniency here and implementers can choose any XML 1.0 edition (3rd, 4th, 5th) for the value space of QNames?

 

Likewise, if XSD 1.1 is supported, the lexical space is defined by XML 1.1 2nd ed., or XML 1.0 3rd ed. or up, with a clear statement that QNames are dependent on the chosen edition. In XSD 1.0, such a statement is absent and the production for QNames links to the 1999 edition of XML+NS, which in turn links to the Letter production of XML 1.0 latest ed., *not* the Name production, which is problematic, as this is quite a different definition of the Name production in the same document.

 

I realize that this discussion has been done over and over again and I do not wish to start it again, I'm merely trying to get my facts straight in terms of what to support. 

 

Thanks,

Abel

Received on Wednesday, 30 September 2015 10:48:32 UTC