The dependency probably arises because you're calling a
method that calls a method that on one of its branches has a reference to
XMLStreamReader. For example, StandardObjectConverter.convertToItem(). I should
probably try to get rid of the dependency, but in the meantime, you will have to
make sure that the Stax interfaces are on your classpath. You don't actually
need a Stax parser, just the interface definitions.
I agree there's no particular benefit in using Stax
interfaces for parsing, but XQJ offers Stax parsing as an option for those who
Hi - I'm just
starting with saxon on a project that is going to invoke XQuery via XQJ in
My first go at
this encounters this exception -
This happens on an
XExpression.bindString (...) call.
I see in the
install instructions that I should expect saxon to work with Java 1.5. I
also see in archives of this list some discussion that Stax is bundled with
Java 1.6 so you need to get another jar (woodstox preferably?) to use
Stax before Java 1.6. Further there is some discussion doubting that Stax is
much advantage over SAX for this application. I did not do anything to
request use of Stax.
Is Stax required
for XQuery? What should I do to resolve this
Thanks - Paul