W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2005

[Bug 2545] EBV (fn:boolean) and xs:anyURI

From: <bugzilla@wiggum.w3.org>
Date: Mon, 21 Nov 2005 16:07:06 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1EeECA-0001lt-O4@wiggum.w3.org>

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

           Summary: EBV (fn:boolean) and xs:anyURI
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: holstege@mathling.com
         QAContact: public-qt-comments@w3.org


It would be more consistent if EBV of xs:anyURI values worked
as if they were xs:string values, rather than throwing type
errors. 

Inasmuch as EBV is defined by reference to fn:boolean,
and xs:anyURI values can in general be promoted to xs:string,
this would seem to be the case. On the other hand, the rules
given for fn:boolean speak of specific argument types and say that
in any other case, a type error is raised.

We believe an explicit clarification for xs:anyURI is in order here.
Received on Monday, 21 November 2005 16:07:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:42 GMT