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
Cc:
Message-Id: <E1DOFjW-0007pa-Ol@wiggum.w3.org>

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

           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 3.7.1.3 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 GMT

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