W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2003

XQuery WG Comments on DOM Level 3

From: Walter Lindsay <wlindsay@contivo.com>
Date: Wed, 6 Aug 2003 11:19:29 -0700
Message-ID: <BD52C6379806D51188DD00508BEEC96C01705997@mail.contivo.com>
To: "'www-dom@w3.org'" <www-dom@w3.org>
Cc: "'w3c-xml-query-wg@w3.org'" <w3c-xml-query-wg@w3.org>

This email is the XQuery Working Group comments on the most recent version
of the DOM Level 3 Core
specification:
<http://www.w3.org/TR/DOM-Level-3-Core/> 

And highlights of changes are available at:
<http://lists.w3.org/Archives/Member/w3c-xml-cg/2003Jul/att-0001/Top_Ten_DOM
_Core_Review_Items.html>

This email satisfies XQuery action A-151-10.


We can see three areas where DOM Level 3 and XQuery could possibly
intersect:

1) an XQuery implementation needs to use a schema file represented in DOM
2) an XQuery implementation needs to process input data represented in DOM
(so needs to convert DOM to the XQuery data model)
3) an XQuery implementation needs to generate output data represented in DOM
(so needs to convert from the XQuery data model to DOM)

A DOM representation of XML data appears functionally equivalent to the
serialized representation.  For example, in all three cases, if the
implementation has access to the DOM Level 3 Load and Save mechanism, then
DOM can be removed from the picture by serializing the DOM (unless the DOM
represents a document fragment that cannot be serialized).  Given that DOM
and the serialized representation appear logically equivalent for our
purposes (e.g. XQuery does not need the internal or external subsets in the
instance document, nor does it need whitespace between elements), we saw no
issues that XQuery needs to address.


Regards,

Walter Lindsay
on behalf of the XQuery Working Group
Received on Wednesday, 6 August 2003 14:26:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:57 GMT