Re: [dita] Issue: Map element IDs and references to them

From
Eliot Kimber <>
Date
2009-08-18T22:04:02+00:00
ID
Thread
Re: [dita] Issue: Map element IDs and references to them
On 8/18/09 4:34 PM, "Grosso, Paul" <> wrote:

> But Rob's point (I believe) is what if the silly section had
> an xref to the note with the id="test"?  After conreffing it
> into your topic, that xref will now link to something completely
> different than the author of the silly section intended.

Only if you say that pointers are not rewritten as part of the conref
process.

But IDs *must* be rewritten in this case, in order to avoid exactly this
conflict. In the case of an xref *within* the conreffed bit, there's no
ambiguity because the reference and its target *as authored* are both
conrefed, so a conref processor can reliably rewrite both the original ID
and the reference to it to ensure they are unique in the using context.

Cheers,

Eliot

----
Eliot Kimber | Senior Solutions Architect | Really Strategies, Inc.
email:   <mailto:>
office: 610.631.6770 | cell: 512.554.9368
2570 Boulevard of the Generals | Suite 213 | Audubon, PA 19403
www.reallysi.com <http://www.reallysi.com>  | http://blog.reallysi.com
<http://blog.reallysi.com> | www.rsuitecms.com <http://www.rsuitecms.com>