Closed martin-honnen closed 1 day ago
Yes. I can believe that's a bug. I had quite a surprise a few weeks ago when I discovered how primitive my XPath 3 parsing actually was. I've tried to improve it, but it's very difficult to be sure it's correct. (And because of the way the APIs are constructed, it wasn't practical to use the Saxon parser; I'm parsing with REx and that has its own wrinkles.)
In the pipeline
I (with alpha2) get an error
Fatal err:XD0030: Step failed: “The context item is absent”.
.If I write
.?*
the error goes away and I get the result I expect but I think just using?*
should work as well.Coincidentally, I filed nearly the same bug https://sourceforge.net/p/morganaxproc-iiise/tickets/179/ a short while ago on Morgana XProc III and Achim there agreed it is a bug and fixed that.