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 3328 - Order of precedence in selection
Summary: Order of precedence in selection
Alias: None
Product: ITS
Classification: Unclassified
Component: ITS tagset (show other bugs)
Version: LastCall
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Yves Savourel
QA Contact: Felix Sasaki
Depends on:
Reported: 2006-06-13 20:19 UTC by Yves Savourel
Modified: 2006-09-06 23:12 UTC (History)
1 user (show)

See Also:


Description Yves Savourel 2006-06-13 20:19:14 UTC
Comment for Martin Wunderlich

On a more specific note, I was a bit irritated by the following order of precedence regarding selections:

   1. Implicit selection in instance documents (data category attributes on a specific element)
   2. Selections in instance documents (using a documentRules element)
   3. Selections in an external file (using a documentRules element)
   4. In a schema, selections expressed with a documentRules element
   5. Selections expressed with schemaRule (See also the note in Section 4.1.2: Rule-based Selection)
   6. Selections via defaults for data categories, see Section 5.1: Position and Default Selections of Data Categories

To me at least it seems that 1. and 2. are going from the more specific to the more general. From 4. through 5. to 6. it seems to be going from the more general to the more specific, so the other way around. Then again, maybe that's only my perception.
Comment 1 Yves Savourel 2006-06-13 20:25:28 UTC
Correction: It's comment "from" not "for" Martin.
Comment 2 Yves Savourel 2006-06-13 20:41:46 UTC
Felix: Martin note on the precedence is coming from an old version of the tag set, but this does not change his input for the first two cases.

Now that I'm re-reading this, I wonder if "implicit" is correct. use of ITS attributes in the instance document seems more "explicit" than "implicit" no? Or maybe just "local selection in documents (ITS local attributes on a specific element)" ok?
Comment 3 Felix Sasaki 2006-06-14 03:15:14 UTC
Hi Martin, Yves,

I would agree with Yves to delete "implicit". So to have:
1. local selection in a document (ITS local attributes on a specific element)
2. Global selections in a document (using a rules element)
3. Global selections in an external file (using a rules element), linked via the XLink href attribute or a different mechanism
4. Selections via defaults for data categories, see Section 6.1: Position and Default Selections of Data Categories
I would also add an example list like:
1. ITS translate attribute within the document
2. translateRule element within the document
3. external translateRule element
4. defaults for translatability (translate element content, don't translate attribute content)
Comment 4 Felix Sasaki 2006-06-20 05:23:18 UTC
Added Martin's mail address to the CC list.
Comment 5 Felix Sasaki 2006-07-17 01:38:40 UTC
This is an reply from the ITS Working Group.
We think would address your concerns. Do you agree?
If we don't hear from you within 2 weeks, we will regard this issue as closed.
Regards, Felix.
Comment 6 Felix Sasaki 2006-07-24 12:47:13 UTC
Wait: answer sent, wait respone.
Comment 7 Yves Savourel 2006-09-06 23:12:49 UTC
Closed. No answer after 2 weeks.