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 3464 - Allowing for xpath expressions to point to term definitions
Summary: Allowing for xpath expressions to point to term definitions
Alias: None
Product: ITS
Classification: Unclassified
Component: ITS tagset (show other bugs)
Version: LastCall
Hardware: PC Windows XP
: P2 normal
Target Milestone: AfterLC
Assignee: Felix Sasaki
QA Contact: Felix Sasaki
Keywords: nonEditorialChange, proposalAccepted, reviewerSatisfied
Depends on:
Reported: 2006-07-14 19:55 UTC by Yves Savourel
Modified: 2006-10-04 03:02 UTC (History)
0 users

See Also:


Description Yves Savourel 2006-07-14 19:55:04 UTC
Issue #22 of i18nCore comments:

Section 6.4.2: Please provide a mechanism to point to a term definition if it doesn't have an associated id? Eg. in a DL list, where the successive DT and DD elements contain terms and definitions without ids. Surely something like termInfoPath is needed.

Example 19 shows this scenario quite clearly. Terms are identified, but not linked to the definitions given in the example.

FS: You could point to term definitions with a termInfoPointer attribute: 

possibly in a different document (see my reply to your comment 50 below): 

<its:termRule selector="//dl" termInfoPointer="following-sibling::dd"/> 

For consistency, I would propose to keep the naming scheme "xxxPointer", and not "termInfoPath". Also for consistency, where should be a global or local termInfo attribute (if the ITS group decides to accept this proposal).
Comment 1 Yves Savourel 2006-07-19 16:27:26 UTC
The proposed resolution for this is to have a termInfoPointer attribute in the
<termRule> element.

The termInfoPointer attribute value is an XPath expression relative to the
node(s) selected by the selector attribute of the <termRule> element. That
expression points to the node(s) where the data can be found.

So, given the example below:

  <def><p>Rugged saddle horse that has a white or solid-colored coat with small spots.</p></def>

To express that the <def> element of <gitem> is the definition of the <label> element, we could use the following rule:

<its:termRule selector="//gitem/label" termInfoPointer="../def"/>
<its:termRule selector="//gitem/label" termInfoPointer="following-sibling::def"/>

A test application illustrating this mechanism can be found here:

Comment 2 Felix Sasaki 2006-07-24 17:13:41 UTC
Resolution: working group agreed with the proposal at .
Action: editors to make the change.
Comment 3 Christian Lieske 2006-08-16 12:45:34 UTC
See resolution for Bug 3463
Comment 4 Felix Sasaki 2006-09-06 17:48:04 UTC
Action: Felix to make the change and to go back to i18n core
Comment 5 Felix Sasaki 2006-09-11 02:42:31 UTC
Wait: response sent. See
Comment 6 Yves Savourel 2006-09-14 03:50:00 UTC
Closed. Commenters satisfied see:
Comment 7 Felix Sasaki 2006-09-28 06:22:07 UTC
Summary: The Working Group decided to accept the proposal and introduced a termInfoPointer attribute. See also the resolution for issue 3463.