This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21036 - [XPROC10] XD0023 and fn:error()
Summary: [XPROC10] XD0023 and fn:error()
Status: NEW
Alias: None
Product: XML Processing Model
Classification: Unclassified
Component: Pipeline language (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Norman Walsh
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-18 10:33 UTC by Tim Mills
Modified: 2013-02-18 10:33 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2013-02-18 10:33:46 UTC
The error code XD0023 covers errors in the execution of XPath expressions.

"It is a dynamic error (err:XD0023) 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)."

Does this mean that any call to fn:error() or any dynamic error raised from invocation of an XPath should be reported as XD0023?

If so, perhaps it would be better only to map statically detected errors to XD0023.