Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317533 - [Help] New Child macro does not pick-up child topics at the toc level - Fix for Eclipse 3.7
Summary: [Help] New Child macro does not pick-up child topics at the toc level - Fix f...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 M1   Edit
Assignee: Chris Goldthorpe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-21 18:44 EDT by Chris Goldthorpe CLA
Modified: 2010-06-25 17:32 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Goldthorpe CLA 2010-06-21 18:44:35 EDT
+++ This bug was initially created as a clone of Bug #311217 +++

Build Identifier: SDK 3.6M6

The child macro added in (190467) works great if the toc.xml file has the children listed there.  But, we have toc.xml files with anchors and other files anchor into them and the child macro does not work.

So, we have a toc file: (test_toc.xml)
<toc label="Testing" topic="test.html">
   <anchor id="test_general"/>
   <anchor id="test"/>
   <anchor id="test_extra"/>
</toc>

and another toc file:
<toc label="******" link_to="test_toc.xml#test" topic="mytopic.html">
   <topic label="Anchored child 1" href="topic1.html"/>
   <topic label="Anchored child 2" href="topic2.html"/>
</toc>

the test.html file from the first toc file contains:
<div><p>start links:<br/><!--INSERT_CHILD_LINKS--></p></div>

but no children are displayed.

Reproducible: Always

Steps to Reproduce:
use files from the details.
Comment 1 Chris Goldthorpe CLA 2010-06-21 18:48:57 EDT
The patch from Bug #311217 has been applied to HEAD