[ 
https://issues.apache.org/jira/browse/NETBEANS-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16239047#comment-16239047
 ] 

Geertjan Wielenga commented on NETBEANS-112:
--------------------------------------------

Thanks for figuring all of this out!

What would be your ideal, and at the same time, doable solution?

> Welcome module (RSS) feed broken in donation
> --------------------------------------------
>
>                 Key: NETBEANS-112
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-112
>             Project: NetBeans
>          Issue Type: Bug
>          Components: ide - Welcome
>            Reporter: lbruun
>            Priority: Minor
>         Attachments: NB-2017.png
>
>
> !NB-2017.png!
> 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:
> {code:xml}
> <!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" 
> "http://my.netscape.com/publish/formats/rss-0.91.dtd";>
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to