ISSUE-117: Issues in Note in 2.1.2

Issues in Note in 2.1.2

State:
CLOSED
Product:
MLW-LT Standard Draft
Raised by:
Felix Sasaki
Opened on:
2013-02-11
Description:
From
http://lists.w3.org/Archives/Public/public-multilingualweb-lt/2013Feb/0048.html
http://www.w3.org/TR/its20/#basic-concepts-selection-global

The note in section 2.1.2 has problems. First, it points out
that only absolute location paths are allowed in the selector
attribute, then gives this as an example of a legitimate value:

myElement/descendant-or-self::*/@*

But that's not a legitimate value, because *absolute* location
paths must start with a '/'.

It then points out that this isn't a valid pattern because it
contains a descendant-or-self component, and instead provides
the alternative

*[self::myElement]/@* | myElement//*/@*

This uses '//', which is allowed in patterns, even though the
full descendant-or-self axis is not. But knowing that, we can
instead just rewrite the original as

myElement//@*

On a more general note, what's the point of this note? If you
make an implementation that puts selectors into matches, and
therefore can't handle all absolute location paths, wouldn't
that be non-conforming? Is that something we ought to support
or encourage?

--
Shaun
Related Actions Items:
Related emails:
  1. [Minutes] MLW-LT call 2013-04-03 (from fsasaki@w3.org on 2013-04-04)
  2. [Agenda] DRAFT MLW-LT call 3 April, noon UTC (from fsasaki@w3.org on 2013-04-03)
  3. ISSUE-117: Issues in Note in 2.1.2 (from jirka@kosek.cz on 2013-03-29)
  4. [Minutes] MLW-LT call 2013-02-11 (from fsasaki@w3.org on 2013-02-11)
  5. mlw-lt-track-ISSUE-117: Issues in Note in 2.1.2 [MLW-LT Standard Draft] (from sysbot+tracker@w3.org on 2013-02-11)

Related notes:

RESOLUTION: accepted

David Filip, 3 Apr 2013, 12:37:45

CHANGE-TYPE: editorial

David Filip, 3 Apr 2013, 12:38:29

DECISION-DETAILS: Editorial action ACTION-475 pending. The note was dropped, hence example rework became irrelevant.

David Filip, 3 Apr 2013, 12:41:00

[fsasaki]: COMMENTER-RESPONSE: satisfied, see http://lists.w3.org/Archives/Public/public-multilingualweb-lt-commits/2013Apr/0001.html

8 Apr 2013, 09:59:06

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 117.html,v 1.1 2014-01-21 15:46:09 kahan Exp $