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

ASF GitHub Bot commented on NETBEANS-112:
-----------------------------------------

lbruun opened a new pull request #241: [NETBEANS-112] Re-integrate DTD for RSS 
0.91 feed
URL: https://github.com/apache/incubator-netbeans/pull/241
 
 
   This change undoes the removal of the DTD file done by Oracle as preparation 
for the donation. The change fixes NETBEANS-112.
   
   It is assumed that Oracle removed the file from the donation as it wasn't 
theirs to donate.
   See:
   http://hg.netbeans.org/releases/rev/66633aaa2811
   http://hg.netbeans.org/releases/rev/00ff3249694f
   
   
   **About license for DTD file:**
   Netscape transferred the RSS 0.91 specification to the RSS Advisory Board in 
January 2008. From their website I cannot figure out what the license is for 
the 0.91 DTD file, but newer versions of the RSS spec seem to be published 
under the _Creative Commons Attribution/Share Alike 2.0_ license. However, this 
conclusion cannot be made for the 0.91 spec. No license header has thus been 
added to the DTD file, only a note about from where it has been downloaded.
   
   Instead it is assumed, that the DTD file fall under the
   
   https://www.apache.org/legal/resolved.html#category-b
   
   definition of:
   
   > For small amounts of source that is directly consumed by the ASF product
   > at runtime in source form, and for which that source is unmodified and
   > unlikely to be changed anyway (say, by virtue of being specified by a
   > standard), inclusion of appropriately labeled source is also permitted.
   > An example of this is the web-facesconfig_1_0.dtd, whose inclusion is
   > mandated by the JSR 127: JavaServer Faces specification.

----------------------------------------------------------------
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:
[email protected]


> 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)

Reply via email to