[Bug 1396] New: [XQuery] Appropriatness of XPDY0050 for paths starting with / and //

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1396

           Summary: [XQuery] Appropriatness of XPDY0050 for paths starting
                    with / and //
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery
        AssignedTo: chamberl@almaden.ibm.com
        ReportedBy: pwalmsley@datypic.com
         QAContact: public-qt-comments@w3.org


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.

Received on Thursday, 12 May 2005 22:53:12 UTC