Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317533

Summary: [Help] New Child macro does not pick-up child topics at the toc level - Fix for Eclipse 3.7
Product: [Eclipse Project] Platform Reporter: Chris Goldthorpe <cgold>
Component: User AssistanceAssignee: Chris Goldthorpe <cgold>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cgold, hadar
Version: 3.6   
Target Milestone: 3.7 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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