Hi again,

I was confused by this little comment in the W3C DOM DocumentNavigator
class:

// FIXME: needs to recurse into
// DocumentFragment and EntityReference
// to use their children.

Now, EntityReference I understand, and have dealt with. However, my
understanding of the DOM 2 specification is that DocumentFragments are only
ever used to contain, well, document fragments. You would never actually
see a DocumentFragment node as a child of a DOM Document tree. 

>From the spec:

When a DocumentFragment is inserted into a Document (or indeed any other
Node that may take children) the children of the DocumentFragment and not
the DocumentFragment itself are inserted into the Node. 

Am I missing something here?

Nicholas.
[EMAIL PROTECTED]

_______________________________________________
Jaxen-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxen-interest

Reply via email to