Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
In Apache NetBeans the RSS feeds in Welcome Page no longer works. Works on current hg main-silver and works in NB 8.2.
The problem occurs when the downloaded XML has a doctype declaration:
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">
There used to be a "registered" DTD for this in the Welcome module but it was removed as part of Oracle's cleanup prior to donation. This is why it works on current hg main-silver, but not on the donated code.
See:
http://hg.netbeans.org/releases/rev/66633aaa2811
http://hg.netbeans.org/releases/rev/00ff3249694f
Because of the removal, the XML Reader will - in the absence of a registered DTD - attempt to download the DTD from the Internet, i.e. it will attempt to download http://my.netscape.com/publish/formats/rss-0.91.dtd, which will fail because it redirects to aol.com and there isn't a DTD at that location. (duh!, I'm actually surprised that netscape.com still exists and forwards to aol.com, it's been 18 years since the acquisition !)
The RSS feed from planetnetbeans.org (right side of screenshot) doesn't have a DOCTYPE declaration which is why it works.
Attachments
Attachments
Issue Links
- links to