From: SourceForge.net <no...@so...> - 2011-08-07 22:47:55
|
Bugs item #3388088, was opened at 2011-08-07 22:47 Message generated for change (Tracker Item Submitted) made by nicg You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=3388088&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: XSL Group: output: HTML Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nic Gibson (nicg) Assigned to: Nobody/Anonymous (nobody) Summary: Chunk template cannot match sections Initial Comment: The non-namespaced stylesheets fail to chunk content correctly when sections are to be chunked if chunkfast.xsl is used when the original XML document is namespaced. The chunk.hierarchy variable is created by processing the original input document not the stripped one. This may have namespaced elements. The 'chunk' named template in chunk-common.xsl assumes that the content is in no namespace. Therefore the test for 'count(ancestor::section) + 1' will always give a result of 1. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=3388088&group_id=21935 |