My email subscription to this mailing list appears to have gone a little weird, so I'm not sure if this will appear as a new thread :-(
I have sent some sample java direct to mike@... which may get bounced. Let me know how to send this sample if it fails to arrive that does not involve "publishing" it (I don't want to raise any legal issues with my company!)
(Apologies for not signing my name first time)
Yep. That was it. Modified the code and issue resolved.
I too cannot work out how I got the XQST0093 originally. I guess I changed a few things around and then ran into the null pointer and now I cannot remember what I did (bad programmer!).
I realised it must have to do with my resolver because when I created the sample code for your perusal I quickly tried the input files using the Saxon CLI and it worked ok. I apologise for not pointing that out when I sent the java, but I guess it didn't take you long to spot the problem.
Thanks for the excellent (free) support!