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 1396 - [XQuery] Appropriatness of XPDY0050 for paths starting with / and //
Summary: [XQuery] Appropriatness of XPDY0050 for paths starting with / and //
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Don Chamberlin
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-12 22:53 UTC by Priscilla Walmsley
Modified: 2005-05-18 18:06 UTC (History)
0 users

See Also:


Attachments

Description Priscilla Walmsley 2005-05-12 22:53:06 UTC
Section 3.2 talks about raising error XPDY0050 if a path starts with / and // 
and the root node above the context node is not a document node.  XPDY0050 has 
to do with the treat expression.  I understand that these operators act like a 
treat expression under the covers.  However, I think it is going to be very 
hard to explain to users why they are getting an error about a treat 
expression when they don't even have a treat expression in their query.  At 
the very least, the error message for XPDY0050 should be modified to add an 
explanation for this alternate scenario where it is raised.
Comment 1 Don Chamberlin 2005-05-18 18:06:41 UTC
Thanks, Priscilla. The descriptive message for error XPDY0050 has been modified 
according to your suggestion.
Regards,
Don Chamberlin (for the Query Working Group)