I started working on a fallback approach
but I seem to be blocked at every turn.


I declare my custom XPath function to accept
a Saxon NodeInfo as a parameter.

The NodeInfo implemention I get is a
NodeWrapper containing an XObj$ElementXobj
instance. NodeWrapper can be cast to
javax.xml.Source so I use it to create a
Saxon expression evaluator. I then run an
XPath expression through the evaluator.

The result of the evaultaion is an
Xobj$ElementXobj instance. But the Saxon
docs say I should get a NodeInfo here!
I can't return an XmlBeans store back
to Saxon without throwing an exception.

So, I try to create a new NodeWrapper based
on the returned store. The constructor is
protected but the Saxon docs suggest using the
static MakeWrapper method. But it's proctected
too!!

At wit's end,

  -dub

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to