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 1490 - ERR XTDE0800 - Redundant error
Summary: ERR XTDE0800 - Redundant error
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 2.0 (show other bugs)
Version: Last Call drafts
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-01 17:54 UTC by Joanne Tong
Modified: 2005-07-14 18:50 UTC (History)
0 users

See Also:


Attachments

Description Joanne Tong 2005-06-01 17:54:59 UTC
Error XTDE0800 seems to be redundant, given the existence of error XTDE0070.  
The former just describes a specific situation in which the context item 
becomes undefined.  I suggest that XTDE0800 be deleted.

ERR XTDE0070 
"When the focus is undefined, evaluation of any expression that references the 
context item, context position, or context size results in a non-recoverable 
dynamic error."

ERR XTDE0800 
"Within the body of a stylesheet function, the focus is initially undefined; 
this means that any attempt to reference the context item, context position, or 
context size is a non-recoverable dynamic error."

Thanks,
Joanne
Comment 1 Norman Walsh 2005-06-23 17:24:59 UTC
At the 23 June telcon, the XSL WG decided to delete XTDE0800.
Comment 2 Michael Kay 2005-06-24 13:20:33 UTC
I have updated the spec, deleting error XTDE0800 and replacing it with a
reference to XTDE0070. However, since the context item is generally referenced
from within an XPath expression, I wonder whether we shouldn't go further, and
use the XPath error XPDY0002?

Michael Kay
Comment 3 Michael Kay 2005-07-14 18:50:38 UTC
Decided not to pursue the suggestion of using the XPath error code. The bug is
now fixed and will shortly (or momentarily, as the Americans say...) be closed.