Open ahenket opened 5 years ago
see #2183, #540
@ahenket Have you had a chance to test the current eXist develop branch, since https://github.com/eXist-db/exist/pull/3363 was merged? If it's still an issue, could you supply a reproducible test? You might also compare the reproducible test in Saxon and BaseX.
Thanks for raising attention there. I'm sorry I have not. To date I have never built eXist-db from code, but only worked with releases.
If you’re interested in testing and would rather use a pre-built eXist binary, you could use Adam’s nightly builds: https://www.evolvedbinary.com/afterdark.html.
eXist-db 4.4.0. Cannot reproduce with eXist-db 2.2
I've not been able to create a simple repro for this, but just from reading the error, it should be clear that "ext" is a proper NCName and so the error is unjustified. Seeking advice on how to get around this problem in eXist-db 4.4.0.
Note that the function below is as complex as it is, because eXist-db insists on ditching every namespace declaration it thinks it doesn't need. So we use pseudo attributes on the root element to force declaration.
The line 4002 that is being called out is the line that declares the function itself. The line that I think it is actually complaining about is the "update delete" line in the function: