[ https://issues.apache.org/jira/browse/NETBEANS-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16239520#comment-16239520 ]
ASF GitHub Bot commented on NETBEANS-112: ----------------------------------------- matthiasblaesing commented on issue #241: [NETBEANS-112] Re-integrate DTD for RSS 0.91 feed URL: https://github.com/apache/incubator-netbeans/pull/241#issuecomment-341971790 I had a look at the sample the ASF references (`web-facesconfig_1_0.dtd`) and I agree with you, that it matches the situation of the RSS DTD file. The reference is also missing sensible licensing information and so I can also accept it in this case. So do you want to ask anyone else or shall I merge this? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > 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 > Labels: pull-request-available > 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)