This project has moved and is read-only. For the latest updates, please go here.

Hierarchical TOC Not Nesting Properly

Topics: User Forum
Sep 28, 2008 at 5:27 PM
Edited Sep 28, 2008 at 5:28 PM

The Hierarchical TOC plug-in is not working as I would expect.
I am running the latest version of the SHFB including the patch for the plug-in noted in another topic here.

I have the following namespaces in my system:

  • WoodDreams.Report.Excel
  • WoodDreams.Reporting
  • WoodDreams.Reporting.Standard
  • WoodDreams.Reporting.WordXML

What I would expect in the hierarchy is:

  • WoodDreams.Report.Excel Namespace (or maybe WoodDreams.Report with WoodDreams.Report.Excel under it but the W.Report has no elements)
  • WoodDreams.Reporting Namespace
    • WoodDreams.Reporting.Standard Namespace
    • WoodDreams.Reporting.WordXML Namespace

What I am getting is:

  • WoodDreams.Report Namespace
    • WoodDreams.Report.Excel Namespace
    • WoodDreams.Reporting Namespace
      • WoodDreams.Reporting.Standard Namespace
      • WoodDreams.Reporting.WordXML Namespace

It looks like the test for nesting is only looking for namespaces that STARTSWITH() instead of making survey that it is equal to the full name of the appropriate level.


Oct 4, 2008 at 9:21 PM
I have fixed the problem and replaced the patch file in the associated work item with a new version that fixes both issues in the plug-in: