W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > November 2008

RE: [closed] Re: Dynamic error for reporting XPath errors

From: <Toman_Vojtech@emc.com>
Date: Mon, 10 Nov 2008 10:17:23 -0500
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870D61ED8E@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>

> > 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>

Wait, err:XD0003 is already taken by p:viewport ("It is a dynamic error
if the viewport source does not provide exactly one document.")! Now the
same error code is used for two different things.

Received on Monday, 10 November 2008 15:18:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:41:08 UTC