#889 No document node in query output

v9.1
closed
Michael Kay
5
2012-10-08
2008-10-31
Michael Kay
No

When a query uses a document node constructor to explicitly create a document node (for example document{.}), and the query is executed in push mode, for example in s9api by sending the result to an XdmDestination, no start/end document events are emitted, and in consequence the node at the root of the constructed tree will be an element node rather than a document node.

A patch (to ComplexContentOutputter) is being added to Subversion on the 9.1 branch.

Discussion

  • Michael Kay
    Michael Kay
    2008-12-17

    Fixed in 9.1.0.5