5. The method according to claim 1, wherein said examining step comprises checking each node of the document tree.
5. The method according to claim 1, wherein said examining step comprises checking each node of the document tree. 6. The method according to claim 5, wherein said examining step comprises: checking, for each node in the document tree, whether descendants of the node are extendable into a legal sequence of descendants.