Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Missing error for Xpath errors #700
In XProc 1.0 we had XD0023 saying
We kind of lost that error. I would like to see it come back.
Related: Is it really true, that we raise a static error (err:XS0071) for this:
I would argue that should be a dynamic error, only raised, if the XPath expression is actually evaluated.
Currently we have the static error only for missing variables, not for missing functions and not even for syntactically incorrect expressions (missing ')') or something like this.
I agree with you, that we should treat all cases in the same way.
I would definitely be open for having an error equivalent to XD0021 (in XProc 1.0), but make it static.
I am not sure we had this discussion before or if I mix up things.