WD-query-datamodel-20010607: 3 Concepts: 3.2 Document Order

WD-query-datamodel-20010607: 3 Concepts: 3.2 Document Order:

the following passage appears:

A document order is defined on all the nodes in a document. It
corresponds to the order in which the first character of the XML
representation of each node occurs in the XML representation of the
document after expansion of general entities. Thus, the document node is
the first node. Element nodes occur before their children. Thus,
document order means that element nodes occur in the order of their
start-tag in the XML (after expansion of entities). The namespace nodes
of an element occur before its attribute nodes, and the element's
attribute nodes occur before its children. The relative order of
namespace nodes and the relative order of attribute nodes are
implementation-dependent. Reverse document order is the reverse of
document order.


The two sentences:

[The document order] corresponds to the order in which the first
character of the XML representation of each node occurs in the XML
representation of the document after expansion of general entities.

and

The namespace nodes of an element occur before its attribute nodes, ...

would appear to constitute a contradiction. An initial perusal of this
document yielded no constraints on the encoding of namespace bindings in
conformant documents and I was unaware of any specified by REC-names.

Has the situation changed?

...

Received on Tuesday, 26 June 2001 05:43:32 UTC