Project

Profile

Help

path expression with constructor

Added by Anonymous almost 20 years ago

Legacy ID: #2951404 Legacy Poster: marcvc (marcvc)

Michael, In Saxon 8.1.1 the following query retruns correctly a single <d/> element: <a><b/><b/><b/></a>//b/../<d/> Saxon 8.2 returns incorrectly a sequence of 3 <d/> elements. Regards, Marc


Replies (1)

RE: path expression with constructor - Added by Anonymous almost 20 years ago

Legacy ID: #2951706 Legacy Poster: Michael Kay (mhkay)

Thanks, now fixed (though not yet fully regression tested). This regression was a side-effect of the change to allow the last step in a path expression to deliver atomic values, which changed the rules for when to add the sort-and-deduplicate operator to the tree. I've now added this as a test case. Michael Kay

    (1-1/1)

    Please register to reply