[Bug 11014] New: Boolean literals?

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

           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