Diff for Fix indexing

Thu, 2006-06-01 02:09 by Don DaySat, 2012-06-16 10:12 by jelovirt
Changes to Body
Line 1Line 1
-
<strong>Issue owner:</strong><br />Don Day &lt;dond at us dot ibm dot com&gt;<br /><br /><strong>Statement of problem or objective:</strong><br />The index sort today does not work based on language - it appears that all terms are sorted based on English. The sort should work for the appropriate language.<br /><br /><strong>Is this architecture, function, fix, or other?</strong><br />function/fix<br /><br /><strong>Goals of this proposal:</strong><br />DITA Maps that are not English will generated an index that is sorted based on the specified language.<br /><br /><strong>Use cases:</strong><br />If DITA content is translated into Swedish, words in the index may use the characters &aring;, &auml;, and &ouml;. In English, the default sort places these with the A and O characters. In Swedish, these three letters are sorted at the end of the alphabet, after Z.<br /><br /><strong>Stakeholders:</strong> <br /><em>List of those who request or need the proposed item.</em><br />Any consumer of the toolkit who generates indexes for non-English output.<br /><br /><strong> Interested parties:</strong> <br /><em>List of people interested in potential meetings or discussions.&nbsp; Use obfuscated addresses, please.&nbsp; For example, dond at us dot ibm dot com</em><br />robander .... us dot ibm dot com<br /><br /><strong>Proposed design:</strong><br />
+
<p>
  +
Note: this page is out-of-date.  
  +
</p>
  +
<p>
  +
<strong>Issue owner:</strong><br />
  +
Don Day &lt;dond at us dot ibm dot com&gt;<br />
  +
<br />
  +
<strong>Statement of problem or objective:</strong><br />
  +
The index sort today does not work based on language - it appears that all terms are sorted based on English. The sort should work for the appropriate language.<br />
  +
<br />
  +
<strong>Is this architecture, function, fix, or other?</strong><br />
  +
function/fix<br />
  +
<br />
  +
<strong>Goals of this proposal:</strong><br />
  +
DITA Maps that are not English will generated an index that is sorted based on the specified language.<br />
  +
<br />
  +
<strong>Use cases:</strong><br />
  +
If DITA content is translated into Swedish, words in the index may use the characters å, ä, and ö. In English, the default sort places these with the A and O characters. In Swedish, these three letters are sorted at the end of the alphabet, after Z.<br />
  +
<br />
  +
<strong>Stakeholders:</strong> <br />
  +
<em>List of those who request or need the proposed item.</em><br />
  +
Any consumer of the toolkit who generates indexes for non-English output.<br />
  +
<br />
  +
<strong> Interested parties:</strong> <br />
  +
<em>List of people interested in potential meetings or discussions.  Use obfuscated addresses, please.  For example, dond at us dot ibm dot com</em><br />
  +
robander .... us dot ibm dot com<br />
  +
<br />
  +
<strong>Proposed design:</strong><br />
  +
</p>
 
<ul>
 
<ul>
-
<li>The sort should be based on the first language encountered in the files. If there is no language set in the map, use the first language found in a topic.</li>
+
<li>The sort should be based on the first language encountered in the files. If there is no language set in the map, use the first language found in a topic.</li>
-
<li>If more than one language is found, warn the user that the sort will be based on the first one found, and indicate which language that is. We could limit this message to index terms; that is, if one topic in the map uses an alternate language, but contains no index terms, do not warn.</li>
+
<li>If more than one language is found, warn the user that the sort will be based on the first one found, and indicate which language that is. We could limit this message to index terms; that is, if one topic in the map uses an alternate language, but contains no index terms, do not warn.</li>
-
<li>Check to see if ICU is available. If it is, use that for sorting. Otherwise, use the default Java sort.<br /></li>
+
<li>Check to see if ICU is available. If it is, use that for sorting. Otherwise, use the default Java sort.</li>
 
</ul>
 
</ul>
-
<strong>Note:</strong> All design discussions should occur on the dita-ot-developer list at the dita-ot sourceforge site.
+
<strong>Note:</strong> All design discussions should occur on the dita-ot-developer list at the dita-ot sourceforge site.
  +
 
Current revision:

Fix indexing

Note: this page is out-of-date.  

Issue owner:
Don Day <dond at us dot ibm dot com>

Statement of problem or objective:
The index sort today does not work based on language - it appears that all terms are sorted based on English. The sort should work for the appropriate language.

Is this architecture, function, fix, or other?
function/fix

Goals of this proposal:
DITA Maps that are not English will generated an index that is sorted based on the specified language.

Use cases:
If DITA content is translated into Swedish, words in the index may use the characters å, ä, and ö. In English, the default sort places these with the A and O characters. In Swedish, these three letters are sorted at the end of the alphabet, after Z.

Stakeholders:
List of those who request or need the proposed item.
Any consumer of the toolkit who generates indexes for non-English output.

Interested parties:
List of people interested in potential meetings or discussions.  Use obfuscated addresses, please.  For example, dond at us dot ibm dot com
robander .... us dot ibm dot com

Proposed design:

  • The sort should be based on the first language encountered in the files. If there is no language set in the map, use the first language found in a topic.
  • If more than one language is found, warn the user that the sort will be based on the first one found, and indicate which language that is. We could limit this message to index terms; that is, if one topic in the map uses an alternate language, but contains no index terms, do not warn.
  • Check to see if ICU is available. If it is, use that for sorting. Otherwise, use the default Java sort.
Note: All design discussions should occur on the dita-ot-developer list at the dita-ot sourceforge site.
XML.org Focus Areas: BPEL | DITA | ebXML | IDtrust | OpenDocument | SAML | UBL | UDDI
OASIS sites: OASIS | Cover Pages | XML.org | AMQP | CGM Open | eGov | Emergency | IDtrust | LegalXML | Open CSA | OSLC | WS-I