Diff for Design for implementing OASIS Item 12026
Thu, 2008-10-16 08:43 by zhou.youyi | Thu, 2008-10-16 08:44 by zhou.youyi | ||
---|---|---|---|
< previous diff | next diff > | ||
Changes to Body | |||
Line 55 | Line 55 | ||
mso-font-pitch:variable;
| mso-font-pitch:variable;
| ||
mso-font-signature:3 135135232 16 0 262145 0;}
| mso-font-signature:3 135135232 16 0 262145 0;}
| ||
+ | @font-face
| ||
+ | {font-family:Tahoma;
| ||
+ | panose-1:2 11 6 4 3 5 4 4 2 4;
| ||
+ | mso-font-charset:0;
| ||
+ | mso-generic-font-family:swiss;
| ||
+ | mso-font-pitch:variable;
| ||
+ | mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
| ||
/* Style Definitions */
| /* Style Definitions */
| ||
p.MsoNormal, li.MsoNormal, div.MsoNormal
| p.MsoNormal, li.MsoNormal, div.MsoNormal
| ||
Line 124 | Line 131 | ||
<![endif]-->
| <![endif]-->
| ||
<p class="MsoNormal">
| <p class="MsoNormal">
| ||
- | <strong><em><span>What user need will be met by this
| + | <strong><em><span style="font-family: Tahoma">What user
|
- | feature?</span></em><span></span></strong>
| + | need will be met by this feature?</span></em></strong><strong><span style="font-family: Tahoma"></span></strong>
|
</p>
| </p>
| ||
<p class="MsoNormal">
| <p class="MsoNormal">
| ||
- | <span>Users can define various glossary entries
| + | <span style="font-family: Tahoma">Users can define
|
- | which serve as specific terms or acronyms. Such glossary entries will be
| + | various glossary entries which serve as specific terms or acronyms. Such
|
- | expanded to appropriate form according to the context automatically.</span>
| + | glossary entries will be expanded to appropriate form according to the context
|
+ | automatically.</span>
| ||
</p>
| </p>
| ||
<p class="MsoNormal">
| <p class="MsoNormal">
| ||
- | <span> </span>
| + | <span style="font-family: Tahoma"> </span>
|
</p>
| </p>
| ||
<p class="MsoNormal">
| <p class="MsoNormal">
| ||
- | <strong><em><span>What is the technical design for the
| + | <strong><em><span style="font-family: Tahoma">What is
|
- | change?</span></em></strong>
| + | the technical design for the change?</span></em></strong><span style="font-family: Tahoma"></span>
|
</p>
| </p>
| ||
<p class="MsoNormal">
| <p class="MsoNormal">
| ||
- | <span>Key definitions and references are already
| + | <span style="font-family: Tahoma">Key definitions
|
- | prepared during key definition parsing process, so we mainly focus on how to
| + | and references are already prepared during key definition parsing process, so
|
- | resolve keyref accordingly in appropriate contexts. Here we have 2 problems yet
| + | we mainly focus on how to resolve keyref accordingly in appropriate contexts.
|
- | to solve while resolving the keys:</span>
| + | Here we have 2 problems yet to solve while resolving the keys:</span>
|
</p>
| </p>
| ||
<p style="margin-left: 18pt; text-indent: -18pt" class="MsoNormal">
| <p style="margin-left: 18pt; text-indent: -18pt" class="MsoNormal">
| ||
- | <!--[if !supportLists]--><span><span>1.<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: 'Times New Roman'"> </span></span></span><!--[endif]--><span>How to determine in what context a key is referenced? The
| + | <!--[if !supportLists]--><span style="font-family: Tahoma"><span>1.<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: 'Times New Roman'">
|
- | description on how to distinguish introductory context from other contexts in “<strong>DITA
| + | </span></span></span><!--[endif]--><span style="font-family: Tahoma">How
|
- | Proposed Feature #12026 and #12038”
| + | to determine in what context a key is referenced? The description on how to distinguish
|
- | </strong><span>is not clear enough to define all
| + | introductory context from other contexts in “<strong>DITA Proposed Feature #12026
|
- | possible contexts that would be encountered. Thus we classify the contexts into
| + | and #12038” </strong><span>is not clear enough to define all possible
|
- | three specific situations for the time being. More accurate definition and
| + | contexts that would be encountered. Thus we classify the contexts into three
|
+ | specific situations for the time being. More accurate definition and
| ||
classification of different contexts should be considered thoroughly and added
| classification of different contexts should be considered thoroughly and added
| ||
later.</span></span>
| later.</span></span>
| ||
</p>
| </p>
| ||
<p style="margin-left: 42pt; text-indent: -21pt" class="MsoNormal">
| <p style="margin-left: 42pt; text-indent: -21pt" class="MsoNormal">
| ||
- | <!--[if !supportLists]--><span><span>a)<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: 'Times New Roman'">
| + | <!--[if !supportLists]--><span style="font-family: Tahoma"><span>a)<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: 'Times New Roman'">
|
- | </span></span></span><!--[endif]--><span>The very first appearance of a keyref pointing to a certain glossentry in
| + | </span></span></span><!--[endif]--><span style="font-family: Tahoma">The very first appearance of a keyref pointing to a
|
- | a deliverable book context should be expanded to its surface form; otherwise an
| + | certain glossentry in a deliverable book context should be expanded to its
|
- | acronym form (or other forms appropriate) should be used. Intuitively, the very
| + | surface form; otherwise an acronym form (or other forms appropriate) should be
|
- | first topic entity that we encounter during preprocess (either directly in a
| + | used. Intuitively, the very first topic entity that we encounter during
|
- | topic dita file or indirectly referenced in a ditamap file) would be an
| + | preprocess (either directly in a topic dita file or indirectly referenced in a
|
- | introductory context for the whole book. Thus, all keyrefs appearing in this
| + | ditamap file) would be an introductory context for the whole book. Thus, all
|
- | first topic should be expanded to surface form. Keyrefs in other contexts are
| + | keyrefs appearing in this first topic should be expanded to surface form.
|
- | replaces with other appropriate forms of the corresponding glossentry. Here is
| + | Keyrefs in other contexts are replaces with other appropriate forms of the
|
- | a potential pitfall. The same target (glossentry) may appear for many times
| + | corresponding glossentry. Here is a potential pitfall. The same target
|
- | even in the same topic, and might be associated with and referenced by
| + | (glossentry) may appear for many times even in the same topic, and might be
|
- | different keys. For example, key “A” and key “B” may be associated with the
| + | associated with and referenced by different keys. For example, key “A” and key
|
- | same target file “glossary.dita”. Within the same topic “A” and “B” are both
| + | “B” may be associated with the same target file “glossary.dita”. Within the
|
- | referenced though, they should be treated differently. The one appearing first
| + | same topic “A” and “B” are both referenced though, they should be treated
|
- | possibly deserves an expansion but the other doesn’t. This case requires that
| + | differently. The one appearing first possibly deserves an expansion but the
|
- | we should consider all keyrefs resolved to the same target in one place.</span>
| + | other doesn’t. This case requires that we should consider all keyrefs resolved
|
+ | to the same target in one place.</span>
| ||
</p>
| </p>
| ||
<p style="margin-left: 42pt; text-indent: -21pt" class="MsoNormal">
| <p style="margin-left: 42pt; text-indent: -21pt" class="MsoNormal">
| ||
- | <!--[if !supportLists]--><span><span>b)<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: 'Times New Roman'">
| + | <!--[if !supportLists]--><span style="font-family: Tahoma"><span>b)<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: 'Times New Roman'">
|
- | </span></span></span><!--[endif]--><span>The terms appearing in online documents should have a hover tooltip of
| + | </span></span></span><!--[endif]--><span style="font-family: Tahoma">The terms appearing in online documents should have
|
- | its surface form. Unlike the processing of situation (a), terms in online
| + | a hover tooltip of its surface form. Unlike the processing of situation (a),
|
- | documents doesn’t need to be expanded and it’s also hard to determine which
| + | terms in online documents doesn’t need to be expanded and it’s also hard to
|
- | context is introductory or not because user may access the pages in any
| + | determine which context is introductory or not because user may access the
|
- | possible sequence. Thus we think using a preferred form defined in glossentry
| + | pages in any possible sequence. Thus we think using a preferred form defined in
|
- | as the term’s appearance and its surface form as a hover tooltip would be
| + | glossentry as the term’s appearance and its surface form as a hover tooltip
|
- | enough.</span>
| + | would be enough.</span>
|
</p>
| </p>
| ||
<p style="margin-left: 42pt; text-indent: -21pt" class="MsoNormal">
| <p style="margin-left: 42pt; text-indent: -21pt" class="MsoNormal">
| ||
- | <!--[if !supportLists]--><span><span>c)<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: 'Times New Roman'">
| + | <!--[if !supportLists]--><span style="font-family: Tahoma"><span>c)<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: 'Times New Roman'">
|
- | </span></span></span><!--[endif]--><span>Terms appearing in copyright declaration should be expanded to its
| + | </span></span></span><!--[endif]--><span style="font-family: Tahoma">Terms appearing in copyright declaration should be
|
- | surface form.</span>
| + | expanded to its surface form.</span>
|
</p>
| </p>
| ||
<p style="margin-left: 21pt" class="MsoNormal">
| <p style="margin-left: 21pt" class="MsoNormal">
| ||
- | <span> </span>
| + | <span style="font-family: Tahoma"> </span>
|
</p>
| </p>
| ||
<p style="margin-left: 21pt" class="MsoNormal">
| <p style="margin-left: 21pt" class="MsoNormal">
| ||
- | <span>Note: Other contexts should be considered, as
| + | <span style="font-family: Tahoma">Note: Other contexts
|
- | a warranty related context may need surface forms of certain terms.</span>
| + | should be considered, as a warranty related context may need surface forms of
|
+ | certain terms.</span>
| ||
</p>
| </p>
| ||
<p style="margin-left: 21pt" class="MsoNormal">
| <p style="margin-left: 21pt" class="MsoNormal">
| ||
- | <span> </span>
| + | <span style="font-family: Tahoma"> </span>
|
</p>
| </p>
| ||
<p style="margin-left: 18pt; text-indent: -18pt" class="MsoNormal">
| <p style="margin-left: 18pt; text-indent: -18pt" class="MsoNormal">
| ||
- | <!--[if !supportLists]--><span><span>2.<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: 'Times New Roman'"> </span></span></span><!--[endif]--><span>How the contents of glossentries
| + | <!--[if !supportLists]--><span style="font-family: Tahoma"><span>2.<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: 'Times New Roman'">
|
- | are saved and used. We prefer to use a lazy-loading mechanism as follows:</span>
| + | </span></span></span><!--[endif]--><span style="font-family: Tahoma">How the contents of glossentries are saved and used.
|
+ | We prefer to use a lazy-loading mechanism as follows:</span>
| ||
</p>
| </p>
| ||
<p style="margin-left: 42pt; text-indent: -21pt" class="MsoNormal">
| <p style="margin-left: 42pt; text-indent: -21pt" class="MsoNormal">
| ||
- | <!--[if !supportLists]--><span><span>a)<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: 'Times New Roman'">
| + | <!--[if !supportLists]--><span style="font-family: Tahoma"><span>a)<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: 'Times New Roman'">
|
- | </span></span></span><!--[endif]--><span>First we need a Hashtable to store the target that is defined with a key
| + | </span></span></span><!--[endif]--><span style="font-family: Tahoma">First we need a Hashtable to store the target that
|
- | as the hash-key and an appropriate form of the term as the hash-value. For example:</span>
| + | is defined with a key as the hash-key and an appropriate form of the term as
|
+ | the hash-value. For example:</span>
| ||
</p>
| </p>
| ||
<p style="margin-left: 42pt" class="MsoNormal">
| <p style="margin-left: 42pt" class="MsoNormal">
| ||
- | <span><glossentry keys=”aKey” href=”glossgroup.dita#aTerm”/>
| + | <span style="font-family: Tahoma"><glossentry keys=”aKey” href=”glossgroup.dita#aTerm”/> defines a key with target
|
- | defines a key with target “glossgroup.dita#aTerm”. In glossgroup.dita a
| + | “glossgroup.dita#aTerm”. In glossgroup.dita a glossentry is defined as:</span>
|
- | glossentry is defined as:</span>
| + | |
</p>
| </p>
| ||
<p style="margin-left: 42pt" class="MsoNormal">
| <p style="margin-left: 42pt" class="MsoNormal">
| ||
- | <span><glossentry id=”aTerm”></span>
| + | <span style="font-family: Tahoma"><glossentry
|
+ | id=”aTerm”></span>
| ||
</p>
| </p>
| ||
<p style="margin-left: 42pt" class="MsoNormal">
| <p style="margin-left: 42pt" class="MsoNormal">
| ||
- | <span><span>
| + | <span style="font-family: Tahoma"><span> </span><glossterm>A term</glossterm></span>
|
- | </span><glossterm>A term</glossterm></span>
| + | |
</p>
| </p>
| ||
<p style="margin-left: 42pt" class="MsoNormal">
| <p style="margin-left: 42pt" class="MsoNormal">
| ||
- | <span><span>
| + | <span style="font-family: Tahoma"><span> </span><glossBody></span>
|
- | </span><glossBody></span>
| + | |
</p>
| </p>
| ||
<p style="margin-left: 42pt; text-indent: 21.75pt" class="MsoNormal">
| <p style="margin-left: 42pt; text-indent: 21.75pt" class="MsoNormal">
| ||
- | <span><glossSurfaceForm>A term
| + | <span style="font-family: Tahoma"><glossSurfaceForm>A
|
- | that should be resolved (aTerm)</glossSurfaceForm></span>
| + | term that should be resolved (aTerm)</glossSurfaceForm></span>
|
</p>
| </p>
| ||
<p style="margin-left: 42pt; text-indent: 21.75pt" class="MsoNormal">
| <p style="margin-left: 42pt; text-indent: 21.75pt" class="MsoNormal">
| ||
- | <span><glossAlt></span>
| + | <span style="font-family: Tahoma"><glossAlt></span>
|
</p>
| </p>
| ||
<p style="margin-left: 42pt; text-indent: 21.75pt" class="MsoNormal">
| <p style="margin-left: 42pt; text-indent: 21.75pt" class="MsoNormal">
| ||
- | <span><span>
| + | <span style="font-family: Tahoma"><span> </span><glossAcronym>AT</glossAcronym></span>
|
- | </span><glossAcronym>AT</glossAcronym></span>
| + | |
</p>
| </p>
| ||
<p style="margin-left: 42pt; text-indent: 21.75pt" class="MsoNormal">
| <p style="margin-left: 42pt; text-indent: 21.75pt" class="MsoNormal">
| ||
- | <span></glossAlt></span>
| + | <span style="font-family: Tahoma"></glossAlt></span>
|
</p>
| </p>
| ||
<p class="MsoNormal">
| <p class="MsoNormal">
| ||
- | <span><span> </span></glossBody></span>
| + | <span style="font-family: Tahoma"><span> </span></glossBody></span>
|
</p>
| </p>
| ||
<p class="MsoNormal">
| <p class="MsoNormal">
| ||
- | <span><span> </span></glossentry></span>
| + | <span style="font-family: Tahoma"><span> </span></glossentry></span>
|
</p>
| </p>
| ||
<p style="margin-left: 42pt" class="MsoNormal">
| <p style="margin-left: 42pt" class="MsoNormal">
| ||
- | <span>Then the entry in Hashtable would be stored
| + | <span style="font-family: Tahoma">Then the entry in
|
- | as (glossgroup.dita#aTerm, corresponding form). The corresponding form refers
| + | Hashtable would be stored as (glossgroup.dita#aTerm, corresponding form). The
|
- | to a string combining the surface form and other preferred forms together
| + | corresponding form refers to a string combining the surface form and other
|
- | separated by a stick. The reason why “aKey” is not used as hash-key is mention
| + | preferred forms together separated by a stick. The reason why “aKey” is not
|
- | above. Since multiple keys could refer to the same target, it would be a waste
| + | used as hash-key is mention above. Since multiple keys could refer to the same
|
- | of memories to store different keys with the same value and it may also cause
| + | target, it would be a waste of memories to store different keys with the same
|
- | problems in detecting whether it’s the first appearance of a certain term.</span>
| + | value and it may also cause problems in detecting whether it’s the first
|
+ | appearance of a certain term.</span>
| ||
</p>
| </p>
| ||
<p style="margin-left: 42pt; text-indent: -21pt" class="MsoNormal">
| <p style="margin-left: 42pt; text-indent: -21pt" class="MsoNormal">
| ||
- | <!--[if !supportLists]--><span><span>b)<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: 'Times New Roman'">
| + | <!--[if !supportLists]--><span style="font-family: Tahoma"><span>b)<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: 'Times New Roman'">
|
- | </span></span></span><!--[endif]--><span>When a keyref is being resolved, first we check that if there is an
| + | </span></span></span><!--[endif]--><span style="font-family: Tahoma">When a keyref is being resolved, first we check that
|
- | existing entry in the Hashtable by the target (e.g. glossgroup.dita#aTerm) that
| + | if there is an existing entry in the Hashtable by the target (e.g.
|
- | is associated with the reference key (e.g. aKey). If no such entry exists, the
| + | glossgroup.dita#aTerm) that is associated with the reference key (e.g. aKey).
|
- | target should be parsed and corresponding surface form together with other
| + | If no such entry exists, the target should be parsed and corresponding surface
|
- | preferred forms should be loaded and saved with the key into the Hashtable. According
| + | form together with other preferred forms should be loaded and saved with the
|
- | to the context this keyref is being parsed, appropriate form is applied.</span>
| + | key into the Hashtable. According to the context this keyref is being parsed, appropriate
|
+ | form is applied.</span>
| ||
</p>
| </p>
| ||
<p style="margin-left: 42pt; text-indent: -21pt" class="MsoNormal">
| <p style="margin-left: 42pt; text-indent: -21pt" class="MsoNormal">
| ||
- | <!--[if !supportLists]--><span><span>c)<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: 'Times New Roman'">
| + | <!--[if !supportLists]--><span style="font-family: Tahoma"><span>c)<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: 'Times New Roman'">
|
- | </span></span></span><!--[endif]--><span>If there is an existing entry in the Hashtable, appropriate form is
| + | </span></span></span><!--[endif]--><span style="font-family: Tahoma">If there is an existing entry in the Hashtable,
|
- | retrieved and used.</span>
| + | appropriate form is retrieved and used.</span>
|
</p>
| </p>
| ||
<p class="MsoNormal">
| <p class="MsoNormal">
| ||
- | <span> </span>
| + | <span style="font-family: Tahoma"> </span>
|
</p>
| </p>
| ||
<p class="MsoNormal">
| <p class="MsoNormal">
| ||
- | <strong><em><span>What sections of the toolkit will be
| + | <strong><em><span style="font-family: Tahoma">What
|
- | impacted by the change?</span></em><span></span></strong>
| + | sections of the toolkit will be impacted by the change?</span></em></strong><strong><span style="font-family: Tahoma"></span></strong>
|
</p>
| </p>
| ||
<p class="MsoNormal">
| <p class="MsoNormal">
| ||
- | <span>KeyRef
| + | <span style="font-family: Tahoma">KeyRef resolution</span>
|
- | resolution</span>
| + | |
</p>
| </p>
| ||
<p class="MsoNormal">
| <p class="MsoNormal">
| ||
- | <span> </span>
| + | <span style="font-family: Tahoma"> </span>
|
</p>
| </p>
| ||
Design for implementing OASIS Item 12026
What user need will be met by this feature?
Users can define various glossary entries which serve as specific terms or acronyms. Such glossary entries will be expanded to appropriate form according to the context automatically.
What is the technical design for the change?
Key definitions and references are already prepared during key definition parsing process, so we mainly focus on how to resolve keyref accordingly in appropriate contexts. Here we have 2 problems yet to solve while resolving the keys:
1. How to determine in what context a key is referenced? The description on how to distinguish introductory context from other contexts in “DITA Proposed Feature #12026 and #12038” is not clear enough to define all possible contexts that would be encountered. Thus we classify the contexts into three specific situations for the time being. More accurate definition and classification of different contexts should be considered thoroughly and added later.
a) The very first appearance of a keyref pointing to a certain glossentry in a deliverable book context should be expanded to its surface form; otherwise an acronym form (or other forms appropriate) should be used. Intuitively, the very first topic entity that we encounter during preprocess (either directly in a topic dita file or indirectly referenced in a ditamap file) would be an introductory context for the whole book. Thus, all keyrefs appearing in this first topic should be expanded to surface form. Keyrefs in other contexts are replaces with other appropriate forms of the corresponding glossentry. Here is a potential pitfall. The same target (glossentry) may appear for many times even in the same topic, and might be associated with and referenced by different keys. For example, key “A” and key “B” may be associated with the same target file “glossary.dita”. Within the same topic “A” and “B” are both referenced though, they should be treated differently. The one appearing first possibly deserves an expansion but the other doesn’t. This case requires that we should consider all keyrefs resolved to the same target in one place.
b) The terms appearing in online documents should have a hover tooltip of its surface form. Unlike the processing of situation (a), terms in online documents doesn’t need to be expanded and it’s also hard to determine which context is introductory or not because user may access the pages in any possible sequence. Thus we think using a preferred form defined in glossentry as the term’s appearance and its surface form as a hover tooltip would be enough.
c) Terms appearing in copyright declaration should be expanded to its surface form.
Note: Other contexts should be considered, as a warranty related context may need surface forms of certain terms.
2. How the contents of glossentries are saved and used. We prefer to use a lazy-loading mechanism as follows:
a) First we need a Hashtable to store the target that is defined with a key as the hash-key and an appropriate form of the term as the hash-value. For example:
<glossentry keys=”aKey” href=”glossgroup.dita#aTerm”/> defines a key with target “glossgroup.dita#aTerm”. In glossgroup.dita a glossentry is defined as:
<glossentry id=”aTerm”>
<glossterm>A term</glossterm>
<glossBody>
<glossSurfaceForm>A term that should be resolved (aTerm)</glossSurfaceForm>
<glossAlt>
<glossAcronym>AT</glossAcronym>
</glossAlt>
</glossBody>
</glossentry>
Then the entry in Hashtable would be stored as (glossgroup.dita#aTerm, corresponding form). The corresponding form refers to a string combining the surface form and other preferred forms together separated by a stick. The reason why “aKey” is not used as hash-key is mention above. Since multiple keys could refer to the same target, it would be a waste of memories to store different keys with the same value and it may also cause problems in detecting whether it’s the first appearance of a certain term.
b) When a keyref is being resolved, first we check that if there is an existing entry in the Hashtable by the target (e.g. glossgroup.dita#aTerm) that is associated with the reference key (e.g. aKey). If no such entry exists, the target should be parsed and corresponding surface form together with other preferred forms should be loaded and saved with the key into the Hashtable. According to the context this keyref is being parsed, appropriate form is applied.
c) If there is an existing entry in the Hashtable, appropriate form is retrieved and used.
What sections of the toolkit will be impacted by the change?
KeyRef resolution