W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2010

[Bug 11014] New: Boolean literals?

From: <bugzilla@jessica.w3.org>
Date: Tue, 12 Oct 2010 14:46:53 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-11014-523@http.www.w3.org/Bugs/Public/>

           Summary: Boolean literals?
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 1.1
        AssignedTo: jonathan.robie@redhat.com
        ReportedBy: jonathan.robie@redhat.com
         QAContact: public-qt-comments@w3.org

The following text in "3.1.1 Literals" implies, but does not state, that
fn:true() and fn:false() can be used to represent Boolean literals:

"The xs:boolean values true and false can be represented by calls to the
built-in functions fn:true() and fn:false(), respectively."

This comes immediately after a list of examples of literals, and immediately
before this text:

"Values of other atomic types can be constructed by calling the constructor
function for the given type."

Do we intend to allow these to be used as literals? The grammar does not
support them. We need to clarify this text one way or another.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 12 October 2010 14:46:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:32 UTC