This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 8194 - Fragment: inconsistency w.r.t multiple nodes
Summary: Fragment: inconsistency w.r.t multiple nodes
Status: CLOSED REMIND
Alias: None
Product: WS-Resource Access
Classification: Unclassified
Component: Fragment (show other bugs)
Version: FPWD
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Doug Davis
QA Contact: notifications mailing list for WS Resource Access
URL:
Whiteboard:
Keywords:
: 8231 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-05 00:04 UTC by Doug Davis
Modified: 2010-03-17 11:28 UTC (History)
1 user (show)

See Also:


Attachments

Description Doug Davis 2009-11-05 00:04:30 UTC
XPath Level 1 says:
--
In the event that there is more than one node which would match the XPath, the implementation SHOULD select or return the first node only. 
---

and then it says:
--
Expressions in this language MUST NOT evaluate to more than a single node.
--

This is inconsistent and the SHOULD in the first one is asking for an
interop problem.

Proposal:

1 - s/SHOULD/MUST/ in the first sentence
2 - remove the 2nd sentence since I'm pretty sure the BNF won't allow it.
    But I'd like someone to double-check this.
Comment 1 Robert Freund 2009-11-17 21:18:58 UTC
*** Bug 8231 has been marked as a duplicate of this bug. ***
Comment 2 Robert Freund 2009-12-08 21:29:34 UTC
Resolved as proposed