Recent Changes · Search:

Support the Project

Wikipublisher

PmWiki

edit SideBar

 
Summary
Duplicate anchors generate invalid XML
Type
Bug
Raised by
dg?
Date opened
Sunday, 7 August 2005
Description
Duplicate anchors (<wrap id=‘anchorname’></wrap>) in the XML output with identical IDs make the XSLT processor unhappy (as they should). Unfortunately, the (:toc:) markup generates anchors named toc; when you publish the Pdf2you? pages, two (:toc:)s are used, and the publish fails.
Importance
3
Proposed solution
Find some way to translate anchor names into names unique to that page — maybe by prepending the page name to them. This may have to be done in a posteval step.

This was a side-effect of a form processing bug — toc markup is supposed to be ignored in print and publish view. It should now be fixed. However, an author could use the same anchor on different pages; the solution is to add the pagename as a prefix when publishing a page collection.

Urgency
3
Status
Closed
Resolution
Any (:toc:) directives are ignored in print and publish. Cross-references within a page collection are detected and the target pagename gets added to the anchor. See also issue 00020.
Date closed
Tuesday, 16 August 2005

« 00025 · Edit Form · 00027 »

Creative Commons License
Edit · History · Print · Recent Changes · Search · Links
Page last modified on 16 August 2005, at 07:21 PM