| Summary: | [Help] New Child macro does not pick-up child topics at the toc level - Fix for Eclipse 3.6.1 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Hadar Hawk <hadar> | ||||||||||
| Component: | User Assistance | Assignee: | Chris Goldthorpe <cgold> | ||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||
| Severity: | normal | ||||||||||||
| Priority: | P3 | CC: | cgold | ||||||||||
| Version: | 3.6 | ||||||||||||
| Target Milestone: | 3.6.1 | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows XP | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Hadar Hawk
Created attachment 166660 [details]
Test case
I just tried this with the attached test case and it works fine for me.
I'm closing this as it worked when I tried it. If you have an example that fails please reopen the bug and attach a zip of the bundle(s) which show the problem. It does not work when you have the href on the toc entry in the toc.xml file and the href contains the child macro comment.
toc.xml
-----------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<?NLS TYPE="org.eclipse.help.toc"?>
<toc label="Anchored Toc" topic="html/toc.html">
<topic label="Getting Started">
<anchor id="gettingstarted"/>
</topic>
...
----------------------------------------------------------------------
toc.html file
-------------------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Table of Contents</title>
</head>
<body>
<h1>Table of Contents</h1>
Please enter your text here.
<div><p>start links:<br/><!--INSERT_CHILD_LINKS--></p></div>
</body>
</html>
Created attachment 169215 [details]
toc file with href in the toc element to a file with the child macro
Created attachment 169216 [details]
html file with the child macro code
I can see the problem now, it has nothing to do with anchors, it is failing in the page is linked to the toc. This is too late for 3.6, targeting 3.6.1. Created attachment 171019 [details]
Patch
Patch applied to 3.6 maintenance stream, Fixed |