XMLTokenizer references the current node unless it's the document itself. I don't think there's any need to track that as a boolean.
This is in preparation to making XMLTokenizer remember the stack of parents, as node->parent() may be inaccurate if DOM manipulations were performed by a script.
Created attachment 41768 [details]
Committed revision 50017.
Mass moving XML DOM bugs to the "DOM" Component.