W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2009

[Bug 6451] New: schema component positional predicate definition may contain implicit assumptions

From: <bugzilla@wiggum.w3.org>
Date: Mon, 19 Jan 2009 20:59:17 +0000
To: www-xml-schema-comments@w3.org
Message-ID: <bug-6451-703@http.www.w3.org/Bugs/Public/>


           Summary: schema component positional predicate definition may
                    contain implicit assumptions
           Product: XML Schema
           Version: 1.1 only
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SCDS: XML Schema Component Designators
        AssignedTo: holstege@mathling.com
        ReportedBy: johnarwe@us.ibm.com
         QAContact: www-xml-schema-comments@w3.org

Excerpt from 4.3 Interpretation of Schema Component Paths
[Definition: A schema component positional predicate is a condition on the
relative position of the component in the sequence of matching components from
the schema component path step.] A schema component position predicate is true
if the position of the target component in the sequence of components selected
by the axis and name test is equal to the positive integer given in the

The question is about "position of the target component".  It appears to assume
the common (though not universal) 1-origin method of counting used e.g. in
XPath 1.0 position().  However, if an implementation chose to number sequence
of selected components starting with 0 (for the off-by-one and zero-origin
crowds), or indeed any arbitrary number other than 1, I find nothing in the
words to say such an implementation has transgressed any normative

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 Monday, 19 January 2009 20:59:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:09 UTC