Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#797 XQJ doesn't handle DOM nodes

v9.0
closed
Michael Kay
5
2012-10-08
2008-03-27
Michael Kay
No

In the Saxon implementation of XQJ, the method XQDataFactory.createItemFromObject() does not correctly handle a DOM Node supplied as the object value. In fact, it returns null in this case.

This method is called internally by a number of other user-visible methods.

A workaround is to wrap the DOM Node in a JAXP DOMSource object.

A patch is being placed in Subversion.

Discussion

  • Michael Kay
    Michael Kay
    2008-08-06

    Logged In: YES
    user_id=251681
    Originator: YES

    As far as I am aware this problem was fixed some time in the past and I am assuming that the bug should have been closed.