- From: Jonathan Robie <jonathan.robie@datadirect.com>
- Date: Wed, 13 Oct 2004 12:53:37 -0400
- To: XML Query Comments <public-qt-comments@w3.org>, Martin Duerst <duerst@w3.org>, w3c-i18n-wg@w3.org
Hi Martin, This is an official response from the W3C XML Query Working Group. In [1], you said: [12] 3.7.3.4: Why is there a need for a 'text' node constructor. What's the difference between this and a string (there should be none, or as few as possible). XQuery has a constructor for every node in our data model. The text node constructor exists because we have text nodes. A text node is untyped (has type xdt:untypedAtomic), and like all nodes, has identity. XQuery also provides constructors for atomic values, and for strings, there are string literals, which have the type xs:string. A node and an atomic value are necessarily different things. The types differ because XML content, unless validated, is untyped. Please let us know if this response is not satisfactory. Jonathan On behalf of the XML Query WG
Received on Wednesday, 13 October 2004 16:54:12 UTC