In responding to my inquiry about the W3C DOM allowing two adjacent text nodes, Michael Kay wrote:
> You can construct a DOM programmatically,
> by adding and removing nodes at will. This
> means you can construct a DOM tree that
> does not correspond to any lexical XML
> document.
Ah! Okay, so no element in a lexical XML document will ever get parsed to two adjacent text nodes. It is only after manipulating the in-memory DOM tree that one might see an element containing two adjacent text nodes.
Thanks Michael!
/Roger