You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by GitBox <gi...@apache.org> on 2017/11/05 12:54:56 UTC

[GitHub] lbruun commented on issue #241: [NETBEANS-112] Re-integrate DTD for RSS 0.91 feed

lbruun commented on issue #241: [NETBEANS-112] Re-integrate DTD for RSS 0.91 feed
URL: https://github.com/apache/incubator-netbeans/pull/241#issuecomment-341971016
 
 
   Matthias, I understand where you are coming from but as I read the ASF rules it is acceptable to have such a file in the distribution (even without a license header) as long as it meets the criteria:
   
   - Small
   - Consumed at runtime
   - Unmodified
   - Static - will never change
   - Constitutes a specification of a standard
   - File is appropriately labeled  
   
   This is my interpretation 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.
   
   Your proposed fix will certainly work too, although I'm concerned it will re-read the DTD file for _every_ parse operation.
   
   Perhaps a good "test case" to ask the mentor(s) about, assuming there will be more of 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:
users@infra.apache.org


With regards,
Apache Git Services