- From: Norman Walsh <ndw@nwalsh.com>
- Date: Mon, 10 Nov 2008 08:13:24 -0500
- To: public-xml-processing-model-comments@w3.org
- Message-ID: <m2bpwnpvuz.fsf@nwalsh.com>
Toman_Vojtech@emc.com writes:
> I may just be blind, but we don't seem to have an error code for
> reporting problems when an XPath expression fails to evaluate (invalid
> expression, unbound variable, etc.). Or do we have one?
No, I think you're right. I added this paragraph immediately before
Section 2.6.1:
<para>Irrespective of which version of XPath is used, all expressions
evaluated by XProc or passed to steps for evaluation must be valid XPath
expressions. <error code="D0003">It is a
<glossterm>dynamic error</glossterm> if an XPath expression is encountered
which cannot be evaluated (because it is syntactically incorrect, contains
references to unbound variables or unknown functions, or for any other reason).
</error></para>
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | There is a road from the eye to the
http://nwalsh.com/ | heart that does not go through the
| intellect.--G. K. Chesterton
Received on Monday, 10 November 2008 13:14:07 UTC