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

[Bug 1262] New: Typed value of empty element constructor:

From: <bugzilla@wiggum.w3.org>
Date: Wed, 20 Apr 2005 13:59:14 +0000
To: public-qt-comments@w3.org
Message-Id: <E1DOFjW-0007pa-Ol@wiggum.w3.org>


           Summary: Typed value of empty element constructor:
           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: jonathan.robie@datadirect.com
         QAContact: public-qt-comments@w3.org

What is the typed value of an empty element constructor? What does
count(data(<e/>)) return?

<e/> is a direct element constructor. The rules that define the typed value and
string value for a direct element constructor are described in Content,
5h and 5i. Although the data model explicitly says that for data model
construction, an empty element's string value is an empty string, this parallel
part of the XQuery spec does not.

We need to make this case explicit in the XQuery spec.
Received on Wednesday, 20 April 2005 13:59:15 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:23 UTC