W3C home > Mailing lists > Public > www-xml-query-comments@w3.org > July 2001

Does the XPath 2.0 data model support "well-balanced" XML?

From: Micah Dubinko <MDubinko@cardiff.com>
Date: Tue, 24 Jul 2001 14:03:27 -0700
Message-ID: <E840F0B7E6189547BDB91DA8BF2228AB28BC1C@csmail.cardiff.com>
To: "'www-xml-query-comments@w3.org'" <www-xml-query-comments@w3.org>
I note the following in section 3.3 of the XQuery 1.0 and XPath 2.0 Data

The data model supports the following classes of XML documents:
 * Schema-validated documents, i.e., those validated with respect to a
 * DTD-valid documents, i.e., those documents validated with respect to a
DTD, and
 * Well-formed documents with no corresponding DTD or schema.

This list would seem to exclude so-called "well-balanced" [1] XML content,
that which corresponds to the content of an external general parsed entity,
and which is allowed in the XPath 1.0 Data Model.

The definition of DocumentNode farther down seems to indicate that multiple
ElementNodes (among others) are allowed, so forgive me if I am missing
something obvious.

Recent Working Drafts of XForms [2] use the XPath Data Model, and in fact in
some cases use this structure which, in the absence of other context, isn't
strictly well-formed.

Thus my confusion. Could you please clarify?



[1] http://www.w3.org/TR/WD-xml-fragment This CR defines the term
[2] http://www.w3.org/TR/xforms/
Received on Tuesday, 24 July 2001 17:10:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:21:13 UTC