> 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...

> The Link tool already supports maps including sub-maps. That is,
something like:

That's great news!



-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: Friday, June 11, 2010 1:51 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'm getting this error when trying to use a ditamap as link context
for
> a topic. The topic _/is/_ referenced by the map. Here are the two file
> paths:
> 

I assume that after adding the topicref pointing to c_sample_concept.xml
in create_files.ditamap, you have saved the map to disk. (Otherwise, the
error message would be 100% correct.)



> 
>
/Content/infodev/component_doc/getting_started_guide/topics/c_sample_con
cept.xml
> 
>  
> 
>
/Content/infodev/component_doc/getting_started_guide/maps/create_files.d
itamap
> 
>  
> 
> Source xml of create_files.ditamap:
> 
>  
> 
> <map class="- map/map " title="Create and Organize">
> 
>   <topicref class="- map/topicref "
href="../topics/t_create_topics.xml"/>
> 
>   <topicref class="- map/topicref "
href="../topics/c_sample_concept.xml"/>
> 
>   <topicref class="- map/topicref "
href="../topics/t_sample_task.xml"/>
> 
>   <topicref class="- map/topicref "
href="../topics/t_create_maps.xml"/>
> 
>   <topicref href="../topics/c_move_or_copy.xml" class="- map/topicref
"/>
> 
>   <topicref class="- map/topicref " href="../topics/t_practice.xml"/>
> 
> </map>
> 
>  

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.

As expected, I cannot reproduce the problem.

I would suggest to retry [1] opening c_sample_concept.xml [2] loading
create_files.ditamap as the link context. If it still does not work, I
now really need a formal bug report, that is,

* A set of map and topic files allowing to reproduce the problem.
* A screenshot of the error dialog box (I need to see the exact URLs).
* More information about your working environment (Please *Shift*-click
Help|About and send me a copy -- Ctrl-A then Ctrl-C then Ctrl-V
elsewhere -- of the textual contents of the dialog box).



>  
> 
> While we're on the subject, does/will the LinkTool support the
> @format="ditamap" option in topicrefs (where the @href points to
another
> ditamap) and load the destinations in _/that/_ map? Our writers use
that
> feature extensively and it would save lots of time not having to load
> each submap individually.
> 

The Link tool already supports maps including sub-maps. That is,
something like:

<topicref href="submap.ditamap" format="ditamap"/>




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

Reply via email to