- From: <bugzilla@wiggum.w3.org>
- Date: Mon, 19 Jan 2009 20:54:22 +0000
- To: www-xml-schema-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6450
Summary: schema component positional predicate text inconsistent
with EBNF
Product: XML Schema
Version: 1.1 only
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P4
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
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 predicate.
The EBNF allows 0 (which is not positive IIRC):
[24] Predicate ::= '[' [0-9]+ ']'
You might want '[' [1-9][0-9]* ']' although I realize that disallows leading
zeros.
--
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:54:31 UTC