W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2003

RE: Additiaonl XML Core comment on XPath data model

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Wed, 2 Jul 2003 23:18:55 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E62106073DCFB7@daemsg02.software-ag.de>
To: Paul Grosso <pgrosso@arbortext.com>, public-qt-comments@w3.org

> Apologies for the tardiness of this extra comment from
> XML Core WG (mostly by François Yergeau).
> Missing version property on document nodes
> ------------------------------------------
> [4.2.1] says that Document nodes have only base-uri, children, 
> unparsed-entities and document-uri properties.  But there is at 
> least one function in F&O which will behave differently depending 
> on the XML version (fn:codepoints-to-string raises an error if a 
> code point is not a "legal XML character").  Therefore it would 
> seem that documents also need a version property reflecting the 
> infoset one.

A version property on a document node would not help the
codepoints-to-string function, which has no knowledge of any document.

On the working assumption that the XSLT/XQuery specifications will support
XML 1.1, the aim is that the data model will support the union of what is
permissible under 1.0 and 1.1, and that serialization (or infoset mapping)
will have to sort out fallback to cover any differences.

Michael Kay 
Received on Wednesday, 2 July 2003 17:19:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:48 UTC