Project

Profile

Help

XPathSelector.stream method seems implemented while documentation lists it as todo

Added by Martin Honnen about 4 years ago

With the new Saxon 10 release I was checking whether the use of XdmStream has been extended and while http://saxonica.com/documentation/index.html#!javadoc/net.sf.saxon.s9api.streams continues to say

Other ways of generating an XdmStream include (TODO!!!):

As the result of an XPath expression, using the method XPathSelector.stream()

a look into the API a doc and a quick sample program run against Saxon HE 10 seem to suggest that XPathSelector.stream() is available.

So why is it on the TODO list, is its implementation not complete?


Replies (2)

RE: XPathSelector.stream method seems implemented while documentation lists it as todo - Added by Michael Kay about 4 years ago

Thanks for pointing it out.

It looks as if XPathSelector.stream() was implemented, but the other two items in the list (XQueryEvaluator.stream() and StreamDestination were wishful thinking.

The list should, however, include XdmSequenceIterator.stream().

RE: XPathSelector.stream method seems implemented while documentation lists it as todo - Added by Michael Kay about 4 years ago

I've made source changes so the Javadoc should be correct next time it's regenerated. There were a couple of other (fairly obvious) errors in this package description as well.

    (1-2/2)

    Please register to reply