Grrrrrr. I'm willing to bet that at least 80% of links found in DITA
topics are to other topics (not to subelements in topics). The
documented proper usage of DITA is to keep your topics small and
concise, to maximize reuse. With this type of authoring, it should
rarely even be necessary to link to some subset of information within a
topic.

If it's the case that the vast majority of links will never need to
reference a topic ID, then why make XXE require them? I know XXE hangs
its reputation on always being "to spec" and that ID _is_ a required
attribute in the schema. But then again, XXE allows you to save a topic
with an invalid ID. (It even populates that invalid ID!) I just think
writer usability needs to take precedence over correctness here.

Just my $0.02. Sorry for venting :-)





-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: Friday, June 11, 2010 7:52 AM
To: Mark Fletcher
Cc: [email protected]
Subject: Re: [XXE] LinkTool error: "Specified document "x" does not
reference the document being edited "y"

Mark Fletcher wrote:
>> I've tried to reproduce the problem using exactly the same map and
> creating empty concepts, tasks, topics, 
>> empty but each having a different id, for each of the above
topicrefs.
> I used exactly the same file layout.
> 
> Are you suggesting that every file referenced by the map must have a
> valid id? I'm almost sure that's not the case, and I hope that's not a
> pre-condition for the tool to work...

Not only valid, but also each topic must have its own unique id.

May be we'll relax this requirement when we'll support DITA 1.2.



> 
>> The Link tool already supports maps including sub-maps. That is,
> something like:
> 
> That's great news!
> 
> 


 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to