W3C home > Mailing lists > Public > www-international@w3.org > January to March 2013

RE: Comment on ITS 2.0 specification WD - Uniquness of id value

From: Yves Savourel <ysavourel@enlaso.com>
Date: Sat, 19 Jan 2013 06:41:49 -0700
To: <public-multilingualweb-lt-comments@w3.org>
CC: "'www-international'" <www-international@w3.org>
Message-ID: <assp.0731eac634.assp.07311534b4.001501cdf64a$bba507a0$32ef16e0$@com>
Hi Norbert,

> 8.15 Id Value
> - Different parts of this section seem contradictory: First, an id value 
> is supposed to be a "unique identifier for a given part of the content", 
> but then there's a selector that "selects the nodes to which this rule applies",
> with "nodes" in plural. If the selector selects multiple nodes, then the
> identifier isn't unique.

I'm not sure I understand the issue.

The selector attribute selects the nodes to which the idValue attribute applies.

The value of idValue is not the ID but an XPath expression to construct the ID. That ID can be the value of a local attribute for example, or a construction of a unique value as shown in example 72[1].


[1] http://www.w3.org/TR/2012/WD-its20-20121206/examples/xml/EX-idvalue-element-2.xml
Received on Saturday, 19 January 2013 13:42:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:34 UTC