saxer fails to return reference to top-level object that is not recognized element
Brought to you by:
pabigot
If a document is parsed and its top-level element cannot be recognized, DOM and SAXDOM raise an UnrecognizedElementError indicating that the element was not found. SAXER raises an UnrecognizedElementError claiming there is no root object, and passing back the DOM element. These should be consistent.
Fixed in [40debea30104]. All three now raise an UnrecognizedElementError, and that error includes the name of the element and, where available, the DOM node showing its location.