-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapted import XQuery function tests #768
Conversation
Several of these tests throw |
Perhaps not, as they're supposed to be detected statically... |
@ndw I have problems to pass some of these tests as they imply that err:XS0107 can be caughed. My processor can catch static errors. I will try to rewrite them for me so I can test the essence of the tests. |
I think this is another case where what we really need is a dynamic XPath error (See xproc/3.0-specification#1117). There are two options (looking at
Let's see if we can sort out the error codes. But I'll merge this in the short term. |
I think the current way to do this is using In general I would agree that errors from calling invisble functions should be a dynamic error. Since we have function items and variables in XPath 3.1, lot of the errors will be detectable only dynamically. |
Hi Norm,
Am 05.12.2024 um 19:10 schrieb Norman Walsh ***@***.***>:
My implementation can only import XQuery library modules. I've adapted the relevant XQuery import function tests to import library modules. I think I got them all correct, but it was a bit of a tedious task. I can't run tests 25, 26, or 31, so those might be wrong.
I do not pass any of the tests concerning XQuery library modules. As far as I understand, separate compilation of modules is a SaxonEE feature, so I am out with this. Does it make sense to add a new feature marker "xquery-module-import" to the test suite?
Greetings from Germany,
Achim
…------------------------------------------------
Achim Berndzen
***@***.***
<xml-project /> Achim Berndzen
Kleine Breite 26a
38302 Wolfenbüttel, Germany
https://www.xml-project.com
|
My implementation can only import XQuery library modules. I've adapted the relevant XQuery import function tests to import library modules. I think I got them all correct, but it was a bit of a tedious task. I can't run tests 25, 26, or 31, so those might be wrong.
@xml-project I'd be curious if you can run them and if they all pass...