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

Bug 314322

Summary: Message about missing xsd.doc elements when running a link spider on EMF docs
Product: [Modeling] EMF Reporter: Martin Oberhuber <mober.at+eclipse>
Component: DocAssignee: Nick Boldt <nboldt>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Ed.Merks, Kenn.Hussey, michal.ruza
Version: 2.6.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
.log with "missing file" errors
none
Zipped HTML of link spider output none

Description Martin Oberhuber CLA 2010-05-25 14:33:39 EDT
Created attachment 169872 [details]
.log with "missing file" errors

Build ID: EMF 2.6.0rc2 / eclipse.buildId=I20100520-1744

1. Help > Contents
2. Run a broken hyperlink finder on .../help/index.jsp

--> Log (attached) gets filled with several messages about missing elements from o.e.xsd.doc and o.e.emf.doc. See attached log for more, one example is this:

Error
Tue May 25 15:01:54 CEST 2010
Error processing help request org.eclipse.xsd.doc/references/diagrams/images/xsd-diagram-import-include.ppt
Comment 1 Martin Oberhuber CLA 2010-05-25 14:36:13 EDT
Created attachment 169874 [details]
Zipped HTML of link spider output

Attached link spider report lists more "broken hyperlink" errors. These are, interestingly, different than the ones in the .log. 

One example is that the external link to
  http://java.sun.com/developer/JDCTechTips/2001/tt0807.html
is broken on 
  http://127.0.0.1:4911/help/index.jsp?topic=/org.eclipse.emf.doc/references/overview/EMF.html
Comment 2 Ed Merks CLA 2010-05-26 09:12:22 EDT
Kenn, this looks like a dup of the missing index problem.
Comment 3 Kenn Hussey CLA 2010-05-26 09:59:51 EDT
(In reply to comment #2)
> Kenn, this looks like a dup of the missing index problem.

Hmm, I'm not so sure. None of the broken references in the log have "index" in their path...
Comment 4 Martin Oberhuber CLA 2010-05-26 13:03:32 EDT
See also bug 314328 -- In the platform.doc.isv case, Dani found the culprit to be relative URL's that were used in the Javadocs.
Comment 5 Ed Merks CLA 2010-06-01 07:30:24 EDT
The errors in the first one look bogus.

E.g., this link works fine

http://help.eclipse.org/galileo/topic/org.eclipse.emf.doc/tutorials/clibmod/library.mdl

Also this file is available

http://help.eclipse.org/galileo/topic/org.eclipse.xsd.doc/references/diagrams/images/xsd-diagram-ct01.ppt

I.e., I can navigate to it from 

http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.xsd.doc/references/diagrams/diagrams.html

The one broken link from the second attachment has been fixed; it looks like the tech tip links are all broken as a result of the transition of Sun to Oracle. :-(
Comment 6 Ed Merks CLA 2010-06-11 19:12:16 EDT
The fix is available in 2.6 RC4.