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

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].

cheers,
-yves

[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