- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 20 Apr 2005 13:59:14 +0000
- To: public-qt-comments@w3.org
- Cc:
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 UTC