On 06/29/2011 04:18 PM, Roy MacLean wrote:
> I'm having some difficulty with maps that re-use topics.
> I have:
> 
> -- Map 1
>         >> Map 2
>         >> Map 3
> 
> -- Map 2
>         >> Ax
>         >> Bx
>         >> Cx
> 
> -- Map 3
>         >> Ax    @copy-to=Ay
>         >> By
>         >> Cx    @copy-to=Cy
> 

Using @copy-to to duplicate a topic and give a new name to the copy is
currently not supported by XMLmind DITA Converter.

With XMLmind DITA Converter (AKA ditac, the DITA Toolkit which has been
integrated in XMLmind XML Editor), @copy-to may be used to specify the
basename of the chunk which is to be generated during the conversion
process.

See
http://www.xmlmind.com/ditac/_distrib/doc/manual/limitations.html#limitations
----
Chunking:
...
* The copy-to attribute is only used to specify the basename of a chunk.
The parent path part (e.g. "foo" in "foo/bar.htm") and the extension
part (e.g. ".htm" in "foo/bar.htm") possibly specified by the copy-to
attribute are ignored.
---




> (where >> indicates topicref). That is, Ax, and Cx are re-used in Map 3.
> 
> In the processing log, there is a 'Saving preprocessed file' for each of
> Ax, Bx, Cx, Ay, By, Cy.
> But then, for 'Processing XML file ... Ay' (first non-topichead page), I
> get:
> 'Fatal error: A sequence of more than one item is not allowed as the
> result of function u:tocEntry() (<ditac:tocEntry/>, <ditac:tocEntry/>) '.

Your use case, which is currently not supported, triggers this ugly bug.
You shouldn't see this kind of error message.



> 
> I'm sure I've seen this before, but can't find a record of the solution.
> Can you help please?
> 

 
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to