On 11 Sep 2015, at 13:06, Leif Halvard Silli (russisk.no) wrote:

3) <a href="#TheIncludedDocument"> does not work in XXE. However this link works fine in the preview generated by XXE 6.4 (menu item "XHTML|Preview").

It's not really an XXE bug. I would say that you have uncovered a conceptual problem. There is no such conceptual problem with DocBook (flat ID space) or with DITA (well-thought specialized inclusion mechanism).
For now, I don't see how to solve this problem. Sorry.

OK. But I wonder if it perhaps would be smarter/recommendable (and perhaps in tune with how XInclude was conceived …) to\_not\_ have any links in in the main document - and thus, rather to include the Table of Contents in an included file. Perhaps that would work better?

No, that was a bummer - it doesn’t matter. All links, regardless of they occur in an included document or in the main document, should omit the file part of the link.
--
leif halvard silli

--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to