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
Status: CLOSED FIXED
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
URL:
Whiteboard:
Keywords: nonEditorialChange, proposalAccepted, reviewerSatisfied
Depends on:
Blocks:
 
Reported: 2006-07-14 19:55 UTC by Yves Savourel
Modified: 2006-10-04 03:02 UTC (History)
0 users

See Also:


Attachments

Description Yves Savourel 2006-07-14 19:55:04 UTC
Issue #22 of i18nCore comments:
http://www.w3.org/International/reviews/0606-its/

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: 
<dl> 
 <dt>...</dt> 
 <dd>...<dd> 
</dl> 

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:

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

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"/>
or
<its:termRule selector="//gitem/label" termInfoPointer="following-sibling::def"/>

A test application illustrating this mechanism can be found here:
http://lists.w3.org/Archives/Member/member-i18n-its/2006JulSep/0064.html

Comment 2 Felix Sasaki 2006-07-24 17:13:41 UTC
Resolution: working group agreed with the proposal at http://www.w3.org/2006/07/19-i18nits-minutes.html#item02 .
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 http://lists.w3.org/Archives/Public/public-i18n-its/2006JulSep/0315.html
Comment 6 Yves Savourel 2006-09-14 03:50:00 UTC
Closed. Commenters satisfied see:
http://lists.w3.org/Archives/Public/public-i18n-its/2006JulSep/0362.html
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.