[Bug 2559] Conflicting error codes: FORG0006 vs XPTY0004

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

           Summary: Conflicting error codes: FORG0006 vs XPTY0004
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: chamberl@almaden.ibm.com
         QAContact: public-qt-comments@w3.org


F&O Section 17, paragraph 2 says that () cast as xs:int raises FORG0006.

XQuery Section 3.12.3, rule 3b says that () cast as xs:int raises XPTY0004.

These can't both be right. Since no function is involved, I prefer XPTY0004.

Received on Wednesday, 30 November 2005 01:36:54 UTC