Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#756 Pull-Push copy problem

v9.0
closed
Michael Kay
5
2012-10-08
2008-01-04
Michael Kay
No

When a query is evaluated in "lazy construction" mode (sometimes referred to as "pull" mode), and two virtual nodes constructed by the query are copied to a "push" destination, a close() call is made on the pipeline after copying the first node. If the destination is a TinyTree builder, the effect of the close() call is to insert a stopper node on the tree, which corrupts the tree and causes subsequent evaluation of XPath expressions on the tree to return unpredictable results, typically truncated data.

A patch (affecting modules PullPushTee, PullPushCopier, Sender, and UnconstructedParent) is being placed in Subversion.

Lazy construction mode is not used unless explicitly requested by the application.

Discussion

  • Michael Kay
    Michael Kay
    2008-01-18

    Logged In: YES
    user_id=251681
    Originator: YES

    Fixed in 9.0.0.3