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

[Bug 6844] New: [FO] Incorrect description of dm:base-uri in fn:base-uri

From: <bugzilla@wiggum.w3.org>
Date: Fri, 24 Apr 2009 16:11:02 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-6844-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6844

           Summary: [FO] Incorrect description of dm:base-uri in fn:base-uri
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Functions and Operators
        AssignedTo: mike@saxonica.com
        ReportedBy: zongaro@ca.ibm.com
         QAContact: public-qt-comments@w3.org


Some colleagues and I noticed a minor inconsistency in the description of the
dm:base-uri accessor that appears in the definition of fn:base-uri with the
actual definition of the accessor in the Data Model Recommendation.

Section 2.5.4 of the F&O PER [1] states:  "Returns the value of the base-uri
URI property for $arg as defined by the accessor function dm:base-uri() for
that kind of node....  Document, element and processing-instruction nodes have
a base-uri property which may be empty. The base-uri property of all other node
types is the empty sequence."  However, according to sections 6.3.2, 6.6.2 and
6.7.2 of the Data Model PER,[2,3,4] the value of the dm:base-uri accessor for
attribute, comment and text nodes is not necessarily the empty sequence.


[1] http://www.w3.org/TR/2009/PER-xpath-functions-20090421/#func-base-uri
[2]
http://www.w3.org/TR/2009/PER-xpath-datamodel-20090421/#AttributeNodeAccessors
[3]
http://www.w3.org/TR/2009/PER-xpath-datamodel-20090421/#CommentNodeAccessors
[4] http://www.w3.org/TR/2009/PER-xpath-datamodel-20090421/#TextNodeAccessors


-- 
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 Friday, 24 April 2009 16:11:12 UTC

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