Community
Participate
Working Groups
I'd like a tool to check that the href attributes of topic elements point to valid files. There are enough HTML checkers out there that I'm not worried about my HTML links, but since that XML DTD is peculiar to Eclipse, there isn't an off-the-shelf solution to ensuring that all those links work. If they don't, they render some of one's documentation inaccessible, so it's pretty serious. It would have to be case-sensitive, too. I've been told that if I run an index, it will give me a problem report that identifies invalid links, but I'm not getting such a report. If you can tell me how to get this report, I won't need a link checker. If you want to check the links from the plugin.xml file to the TOC file for each manual (because it lists all the manual's TOCs in that plugin), and pick up the toc.xml file along the way, that would be extra special.
During search indexing, help will crawl through your toc and index all the docs, and will log an error to the eclipse log (workspace/.metadata/.log) if it encountered any problems, like can't open a document. Indexing either occurs at build time if you pre-index your help content for fast searching, or at run-time (when searching) if you don't pre-index. However, tooling would help here so I'm sending this over to PDE for future consideration.
I'd like to see a custom Validator for eclipse toc xml files that hooks in to the validation framework to solve this problem. Should that be made into a separate bug report?
(In reply to comment #2) > I'd like to see a custom Validator for eclipse toc xml files that hooks in to > the validation framework to solve this problem. Should that be made into a > separate bug report? To fix this, it would make sense to run a builder and create markers. I don't see any need for a separate report. Especially since there are no plans to work on this currently.
looks similar to bug #203065?
Good catch Ankur. *** This bug has been marked as a duplicate of bug 203065 ***