Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-112

Welcome module (RSS) feed broken in donation

    Details

      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

          Issue Links

            Activity

              People

              • Assignee:
                lbruun lbruun
                Reporter:
                lbruun lbruun
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: