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

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

geertjanw closed pull request #178: [NETBEANS-54] Module Review schema2beans
URL: https://github.com/apache/incubator-netbeans/pull/178
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/schema2beans/src/org/netbeans/modules/schema2beansdev/metadd/gen.ksh 
b/schema2beans/src/org/netbeans/modules/schema2beansdev/metadd/gen.ksh
index 6aa724677..eb92046bf 100644
--- a/schema2beans/src/org/netbeans/modules/schema2beansdev/metadd/gen.ksh
+++ b/schema2beans/src/org/netbeans/modules/schema2beansdev/metadd/gen.ksh
@@ -1 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 ant genmetadd
diff --git a/schema2beans/test/unit/data/TestApplication1_4.xml 
b/schema2beans/test/unit/data/TestApplication1_4.xml
index 8eb151708..088730321 100644
--- a/schema2beans/test/unit/data/TestApplication1_4.xml
+++ b/schema2beans/test/unit/data/TestApplication1_4.xml
@@ -1,4 +1,24 @@
 <?xml version='1.0' encoding='UTF-8' ?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <application xmlns='http://java.sun.com/xml/ns/j2ee' version='1.4'>
        <display-name>test app</display-name>
        <module>
diff --git a/schema2beans/test/unit/data/TestAttr.dtd 
b/schema2beans/test/unit/data/TestAttr.dtd
index 9f4557fb0..3338e62d9 100644
--- a/schema2beans/test/unit/data/TestAttr.dtd
+++ b/schema2beans/test/unit/data/TestAttr.dtd
@@ -1,4 +1,24 @@
-<!-- The following DTD is a simple view of a book:
+<!-- 
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+    The following DTD is a simple view of a book:
+
 book
      index
         +
diff --git a/schema2beans/test/unit/data/TestAttr.xml 
b/schema2beans/test/unit/data/TestAttr.xml
index c2b5e1b19..fdafb27fe 100644
--- a/schema2beans/test/unit/data/TestAttr.xml
+++ b/schema2beans/test/unit/data/TestAttr.xml
@@ -1,5 +1,24 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
 
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <book good="no">
        <summary size="12" lang="en" length="132">
        This book is about the life of a book spent between books who dreamed
diff --git a/schema2beans/test/unit/data/TestBadNames.xml 
b/schema2beans/test/unit/data/TestBadNames.xml
index 47f97140d..bedb74bdf 100644
--- a/schema2beans/test/unit/data/TestBadNames.xml
+++ b/schema2beans/test/unit/data/TestBadNames.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0" ?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <bad-names>
   <el class="c" package="p">
        <property>-9</property>
diff --git a/schema2beans/test/unit/data/TestBadNames.xsd 
b/schema2beans/test/unit/data/TestBadNames.xsd
index 28473c30f..a080bf895 100644
--- a/schema2beans/test/unit/data/TestBadNames.xsd
+++ b/schema2beans/test/unit/data/TestBadNames.xsd
@@ -1,5 +1,24 @@
 <?xml version="1.0" ?>
+<!--
 
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
   <element name="bad-names">
        <complexType>
diff --git a/schema2beans/test/unit/data/TestBeanWrapper.mdd 
b/schema2beans/test/unit/data/TestBeanWrapper.mdd
index 403502f66..7be04c8df 100644
--- a/schema2beans/test/unit/data/TestBeanWrapper.mdd
+++ b/schema2beans/test/unit/data/TestBeanWrapper.mdd
@@ -1,4 +1,24 @@
 <?xml version='1.0' encoding='UTF-8' ?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <metaDD>
        <meta-element>
                <dtd-name>namespaceSample</dtd-name>
diff --git a/schema2beans/test/unit/data/TestBook.dtd 
b/schema2beans/test/unit/data/TestBook.dtd
index 17d40c9ef..9892aa07b 100644
--- a/schema2beans/test/unit/data/TestBook.dtd
+++ b/schema2beans/test/unit/data/TestBook.dtd
@@ -1,4 +1,24 @@
-<!-- The following DTD is a simple view of a book:
+<!-- 
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+    The following DTD is a simple view of a book:
+
 book
      index
         +
diff --git a/schema2beans/test/unit/data/TestBook.xml 
b/schema2beans/test/unit/data/TestBook.xml
index b9b76bbbe..8ac5083cb 100644
--- a/schema2beans/test/unit/data/TestBook.xml
+++ b/schema2beans/test/unit/data/TestBook.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <book>
        <summary>
        This book is about the life of a book spent between books who dreamed
diff --git a/schema2beans/test/unit/data/TestBookXMLSchema.xml 
b/schema2beans/test/unit/data/TestBookXMLSchema.xml
index b9b76bbbe..8ac5083cb 100644
--- a/schema2beans/test/unit/data/TestBookXMLSchema.xml
+++ b/schema2beans/test/unit/data/TestBookXMLSchema.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <book>
        <summary>
        This book is about the life of a book spent between books who dreamed
diff --git a/schema2beans/test/unit/data/TestBookXMLSchema.xsd 
b/schema2beans/test/unit/data/TestBookXMLSchema.xsd
index 41658002c..dc7359a24 100644
--- a/schema2beans/test/unit/data/TestBookXMLSchema.xsd
+++ b/schema2beans/test/unit/data/TestBookXMLSchema.xsd
@@ -1,5 +1,24 @@
 <?xml version="1.0" ?>
+<!--
 
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
   <xsd:element name="book">
        <xsd:complexType>
diff --git a/schema2beans/test/unit/data/TestChameleonIncludeDependency.xsd 
b/schema2beans/test/unit/data/TestChameleonIncludeDependency.xsd
index 81cba2835..86a59de52 100644
--- a/schema2beans/test/unit/data/TestChameleonIncludeDependency.xsd
+++ b/schema2beans/test/unit/data/TestChameleonIncludeDependency.xsd
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
   elementFormDefault="qualified" attributeFormDefault="unqualified"> 
   
diff --git a/schema2beans/test/unit/data/TestChameleonIncludeMain.xsd 
b/schema2beans/test/unit/data/TestChameleonIncludeMain.xsd
index 4d0383826..5f57de96e 100644
--- a/schema2beans/test/unit/data/TestChameleonIncludeMain.xsd
+++ b/schema2beans/test/unit/data/TestChameleonIncludeMain.xsd
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <schema targetNamespace="http://test.org/test"; 
xmlns:test="http://test.org/test";
   xmlns="http://www.w3.org/2001/XMLSchema";
   elementFormDefault="qualified" 
diff --git a/schema2beans/test/unit/data/TestContrivedApp.dtd 
b/schema2beans/test/unit/data/TestContrivedApp.dtd
index de7f639cc..10bfd9578 100644
--- a/schema2beans/test/unit/data/TestContrivedApp.dtd
+++ b/schema2beans/test/unit/data/TestContrivedApp.dtd
@@ -1,3 +1,23 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <!ELEMENT application (display-name, description, module)>
 <!ELEMENT module (ejb, alt-dd)>
 <!ELEMENT display-name #PCDATA>
diff --git a/schema2beans/test/unit/data/TestContrivedApp.mdd 
b/schema2beans/test/unit/data/TestContrivedApp.mdd
index 21f95891a..1cb67f3f3 100644
--- a/schema2beans/test/unit/data/TestContrivedApp.mdd
+++ b/schema2beans/test/unit/data/TestContrivedApp.mdd
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <metaDD>
   <throw-exceptions/>
   <meta-element>
diff --git a/schema2beans/test/unit/data/TestContrivedApp.xml 
b/schema2beans/test/unit/data/TestContrivedApp.xml
index 87387c10b..f41cf5b97 100644
--- a/schema2beans/test/unit/data/TestContrivedApp.xml
+++ b/schema2beans/test/unit/data/TestContrivedApp.xml
@@ -1,5 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 
1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd";>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <application>
 <display-name>Application_EJBModule_Entity2</display-name>
 <description>J2EE Application &amp; &lt; 
&gt;Application_EJBModule_Entity2<![CDATA[<>&"']]></description>
diff --git a/schema2beans/test/unit/data/TestDupInternalNames.xsd 
b/schema2beans/test/unit/data/TestDupInternalNames.xsd
index f9534bd3d..3387d2310 100644
--- a/schema2beans/test/unit/data/TestDupInternalNames.xsd
+++ b/schema2beans/test/unit/data/TestDupInternalNames.xsd
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <xs:schema targetNamespace="http://multitrode.com/config";
                xmlns="http://multitrode.com/config";
                xmlns:xs="http://www.w3.org/2001/XMLSchema";
diff --git a/schema2beans/test/unit/data/TestEmpty.dtd 
b/schema2beans/test/unit/data/TestEmpty.dtd
index c8bf58215..a0fa78c3e 100644
--- a/schema2beans/test/unit/data/TestEmpty.dtd
+++ b/schema2beans/test/unit/data/TestEmpty.dtd
@@ -1 +1,21 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <!ELEMENT EmptyElement EMPTY>
diff --git a/schema2beans/test/unit/data/TestEncoding.dtd 
b/schema2beans/test/unit/data/TestEncoding.dtd
index 480e13f8d..0d1d7333e 100644
--- a/schema2beans/test/unit/data/TestEncoding.dtd
+++ b/schema2beans/test/unit/data/TestEncoding.dtd
@@ -1,3 +1,23 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <!ELEMENT FORTEDDL (PHASE+)>
 
 <!ELEMENT PHASE (ATTRIBUTE, ANNOTATION*)*>
diff --git a/schema2beans/test/unit/data/TestEncoding.xml 
b/schema2beans/test/unit/data/TestEncoding.xml
index 6cac170d3..b04c97afc 100644
--- a/schema2beans/test/unit/data/TestEncoding.xml
+++ b/schema2beans/test/unit/data/TestEncoding.xml
@@ -1,18 +1,38 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!-- ex1.xml                                                      -->
-<!-- This is a simple XML source file.  Object class metamethod   -->
-<!-- m3 includes 8-bit ASCII text, with a tilde-n and accent-e    -->
-<!-- characters embedded, to test the UTF8->native codeset        -->
-<!-- conversion feature of the SAX expat driver.  As long as this -->
-<!-- test is run under ISO-8859-1 localization, test output should-->
-<!-- be identical to test input, with one odd byte representing   -->
-<!-- each of these 8-bit characters.                              -->
-<!--                                                              -->
-<!-- The vi editor on Sun Solaris displays the two odd characters -->
-<!-- as \161 and \151.                                            -->
-<!--                                                              -->
+<!--
 
-<!-- <!DOCTYPE FORTEDDL SYSTEM "TestEncoding.dtd" []> -->
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+    ex1.xml                                                      
+    This is a simple XML source file.  Object class metamethod   
+    m3 includes 8-bit ASCII text, with a tilde-n and accent-e    
+    characters embedded, to test the UTF8->native codeset        
+    conversion feature of the SAX expat driver.  As long as this 
+    test is run under ISO-8859-1 localization, test output should
+    be identical to test input, with one odd byte representing   
+    each of these 8-bit characters.                              
+                                                              
+    The vi editor on Sun Solaris displays the two odd characters 
+    as \161 and \151.                                            
+
+    <!DOCTYPE FORTEDDL SYSTEM "TestEncoding.dtd" []> 
+
+-->
 <FORTEDDL>
        <PHASE OBJECTTYPE="MetaPlan.MetaClass" OBJECTNAME="c1" NUMBER="1">
                <ATTRIBUTE NAME="Name">c1</ATTRIBUTE>
diff --git a/schema2beans/test/unit/data/TestEvents.dtd 
b/schema2beans/test/unit/data/TestEvents.dtd
index 4ae0b5344..508ef8054 100644
--- a/schema2beans/test/unit/data/TestEvents.dtd
+++ b/schema2beans/test/unit/data/TestEvents.dtd
@@ -1,4 +1,24 @@
-<!-- The following DTD is a simple view of a book:
+<!-- 
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+    The following DTD is a simple view of a book:
+
 book
      index
         +
diff --git a/schema2beans/test/unit/data/TestExceptions.dtd 
b/schema2beans/test/unit/data/TestExceptions.dtd
index 96535c8d3..95ad15272 100644
--- a/schema2beans/test/unit/data/TestExceptions.dtd
+++ b/schema2beans/test/unit/data/TestExceptions.dtd
@@ -1,3 +1,23 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <!ELEMENT EXCEPS BLUE?, GREEN?>
 
 <!ELEMENT BLUE #PCDATA>
diff --git a/schema2beans/test/unit/data/TestExceptions.mdd 
b/schema2beans/test/unit/data/TestExceptions.mdd
index ef48acee3..2cfa67e35 100644
--- a/schema2beans/test/unit/data/TestExceptions.mdd
+++ b/schema2beans/test/unit/data/TestExceptions.mdd
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <metaDD>
   <throw-exceptions/>
   <meta-element>
diff --git a/schema2beans/test/unit/data/TestExceptions.xml 
b/schema2beans/test/unit/data/TestExceptions.xml
index 011e39199..72643f8ab 100644
--- a/schema2beans/test/unit/data/TestExceptions.xml
+++ b/schema2beans/test/unit/data/TestExceptions.xml
@@ -1,2 +1,22 @@
 <?xml version='1.0'?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <foo/>
diff --git a/schema2beans/test/unit/data/TestExtension.xsd 
b/schema2beans/test/unit/data/TestExtension.xsd
index 85dd2ecbc..b0129a662 100644
--- a/schema2beans/test/unit/data/TestExtension.xsd
+++ b/schema2beans/test/unit/data/TestExtension.xsd
@@ -1,5 +1,24 @@
 <?xml version="1.0" ?>
+<!--
 
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";>
 
        <xs:complexType name="ComplexFunSpec">
diff --git a/schema2beans/test/unit/data/TestExtension2.xsd 
b/schema2beans/test/unit/data/TestExtension2.xsd
index b48d780d2..4213f73e2 100644
--- a/schema2beans/test/unit/data/TestExtension2.xsd
+++ b/schema2beans/test/unit/data/TestExtension2.xsd
@@ -1,5 +1,24 @@
 <?xml version="1.0" ?>
+<!--
 
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";>
        <xs:element name='mycar' type='car'/>
 
diff --git a/schema2beans/test/unit/data/TestExtensionSample.xsd 
b/schema2beans/test/unit/data/TestExtensionSample.xsd
index b3ea48bdb..fed5f0e13 100644
--- a/schema2beans/test/unit/data/TestExtensionSample.xsd
+++ b/schema2beans/test/unit/data/TestExtensionSample.xsd
@@ -1,5 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 
 <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema";
     targetNamespace="http://anything.org/extension";
diff --git a/schema2beans/test/unit/data/TestFind.dtd 
b/schema2beans/test/unit/data/TestFind.dtd
index 258155196..09b69cad3 100644
--- a/schema2beans/test/unit/data/TestFind.dtd
+++ b/schema2beans/test/unit/data/TestFind.dtd
@@ -1,5 +1,26 @@
-<!-- The following DTD is a simple view of a book:
-book
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+ 
+    The following DTD is a simple view of a book:
+ 
+    book
+
      index
         +
           word
diff --git a/schema2beans/test/unit/data/TestGroupUnbounded.java 
b/schema2beans/test/unit/data/TestGroupUnbounded.java
index 1cb1d2089..e2bf10536 100644
--- a/schema2beans/test/unit/data/TestGroupUnbounded.java
+++ b/schema2beans/test/unit/data/TestGroupUnbounded.java
@@ -1,42 +1,20 @@
-/*
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * The contents of this file are subject to the terms of either the GNU
- * General Public License Version 2 only ("GPL") or the Common
- * Development and Distribution License("CDDL") (collectively, the
- * "License"). You may not use this file except in compliance with the
- * License. You can obtain a copy of the License at
- * http://www.netbeans.org/cddl-gplv2.html
- * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
- * specific language governing permissions and limitations under the
- * License.  When distributing the software, include this License Header
- * Notice in each file and include the License file at
- * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Sun in the GPL Version 2 section of the License file that
- * accompanied this code. If applicable, add the following below the
- * License Header, with the fields enclosed by brackets [] replaced by
- * your own identifying information:
- * "Portions Copyrighted [year] [name of copyright owner]"
- *
- * Contributor(s):
- *
- * The Original Software is NetBeans. The Initial Developer of the original
- * Code is Sun Microsystems, Inc. PGroupUnboundedtions Copyright 1997-2006 Sun
- * Microsystems, Inc. All Rights Reserved.
- *
- * If you wish your version of this file to be governed by only the CDDL
- * or only the GPL Version 2, indicate your decision by adding
- * "[Contributor] elects to include this software in this distribution
- * under the [CDDL or GPL Version 2] license." If you do not indicate a
- * single choice of license, a recipient has the option to distribute
- * your version of this file under either the CDDL, the GPL Version 2 or
- * to extend the choice of license to its licensees as provided above.
- * However, if you add GPL Version 2 code and therefore, elected the GPL
- * Version 2 license, then the option applies only if the new code is
- * made subject to such option by the copyright holder.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
 import java.io.*;
diff --git a/schema2beans/test/unit/data/TestGroupUnbounded.xsd 
b/schema2beans/test/unit/data/TestGroupUnbounded.xsd
index 51ebc084e..b3b7dadec 100644
--- a/schema2beans/test/unit/data/TestGroupUnbounded.xsd
+++ b/schema2beans/test/unit/data/TestGroupUnbounded.xsd
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <xsd:schema
         xmlns:xsd="http://www.w3.org/2001/XMLSchema";
         xmlns:tns="http://foo.com/xml/group-unbounded";
diff --git a/schema2beans/test/unit/data/TestIncludeDependency.xsd 
b/schema2beans/test/unit/data/TestIncludeDependency.xsd
index 3d82fd0a6..b2a526ff5 100644
--- a/schema2beans/test/unit/data/TestIncludeDependency.xsd
+++ b/schema2beans/test/unit/data/TestIncludeDependency.xsd
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <schema targetNamespace="http://test.org/test";
   xmlns="http://www.w3.org/2001/XMLSchema";
   xmlns:test="http://test.org/test";
diff --git a/schema2beans/test/unit/data/TestIncludeMain.xsd 
b/schema2beans/test/unit/data/TestIncludeMain.xsd
index 74efcf894..4598e783f 100644
--- a/schema2beans/test/unit/data/TestIncludeMain.xsd
+++ b/schema2beans/test/unit/data/TestIncludeMain.xsd
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <xs:schema targetNamespace="http://test.org/test"; 
xmlns:test="http://test.org/test";
   xmlns:xs="http://www.w3.org/2001/XMLSchema";
   elementFormDefault="qualified" 
diff --git a/schema2beans/test/unit/data/TestInvoice.xsd 
b/schema2beans/test/unit/data/TestInvoice.xsd
index 57c33d346..58d1a830c 100644
--- a/schema2beans/test/unit/data/TestInvoice.xsd
+++ b/schema2beans/test/unit/data/TestInvoice.xsd
@@ -1,4 +1,24 @@
 <?xml version="1.0"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"; >
 
    <xsd:annotation>
diff --git a/schema2beans/test/unit/data/TestMdd.dtd 
b/schema2beans/test/unit/data/TestMdd.dtd
index 9e863279e..a72d81ed5 100644
--- a/schema2beans/test/unit/data/TestMdd.dtd
+++ b/schema2beans/test/unit/data/TestMdd.dtd
@@ -1,4 +1,24 @@
-<!-- The following DTD is a simple view of a book:
+<!-- 
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+    The following DTD is a simple view of a book:
+
          Index[1,n]
                 Alpha - String
                 Word - String
diff --git a/schema2beans/test/unit/data/TestMdd.mdd 
b/schema2beans/test/unit/data/TestMdd.mdd
index 9d8a4b375..c6fd4321d 100644
--- a/schema2beans/test/unit/data/TestMdd.mdd
+++ b/schema2beans/test/unit/data/TestMdd.mdd
@@ -1,5 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
 
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <metaDD>
   <meta-element>
     <bean-name>Word</bean-name>
diff --git a/schema2beans/test/unit/data/TestMerge.dtd 
b/schema2beans/test/unit/data/TestMerge.dtd
index 7fab95c25..3a58e7579 100644
--- a/schema2beans/test/unit/data/TestMerge.dtd
+++ b/schema2beans/test/unit/data/TestMerge.dtd
@@ -1,4 +1,23 @@
-<!-- The following DTD is a simple view of a book:
+<!-- 
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+    The following DTD is a simple view of a book:
 Tree:
 book
      title
diff --git a/schema2beans/test/unit/data/TestMergeExtendBaseBean.dtd 
b/schema2beans/test/unit/data/TestMergeExtendBaseBean.dtd
index f50fb6e12..68cf9bd68 100644
--- a/schema2beans/test/unit/data/TestMergeExtendBaseBean.dtd
+++ b/schema2beans/test/unit/data/TestMergeExtendBaseBean.dtd
@@ -1,4 +1,23 @@
-<!-- The following DTD is a simple view of a book:
+<!-- 
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+    The following DTD is a simple view of a book:
 Tree:
 book
      title
diff --git a/schema2beans/test/unit/data/TestNamespace.xsd 
b/schema2beans/test/unit/data/TestNamespace.xsd
index 63798c0b1..dac3bc00a 100644
--- a/schema2beans/test/unit/data/TestNamespace.xsd
+++ b/schema2beans/test/unit/data/TestNamespace.xsd
@@ -1,5 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 
 <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema";
     targetNamespace="http://anything.org/extension";
diff --git a/schema2beans/test/unit/data/TestOr.dtd 
b/schema2beans/test/unit/data/TestOr.dtd
index 0511b10d8..dbef4a6f8 100644
--- a/schema2beans/test/unit/data/TestOr.dtd
+++ b/schema2beans/test/unit/data/TestOr.dtd
@@ -1,3 +1,23 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <!ELEMENT top cache-mapping>
 <!-- <!ELEMENT cache-mapping (servlet-name | url-pattern), (cache-helper-ref)> 
-->
 <!ELEMENT cache-mapping (servlet-name | url-pattern), (cache-helper-ref | 
(timeout?, http-method*, key-field*, (a | b), constraint-field*))>
diff --git a/schema2beans/test/unit/data/TestPositions.dtd 
b/schema2beans/test/unit/data/TestPositions.dtd
index 8197b2fcb..87d8d39b8 100644
--- a/schema2beans/test/unit/data/TestPositions.dtd
+++ b/schema2beans/test/unit/data/TestPositions.dtd
@@ -1,3 +1,23 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <!ELEMENT menus (menu*, foo)>
 
 <!ELEMENT menu (name, (menu-item | separator | menu)*)>
diff --git a/schema2beans/test/unit/data/TestValid.dtd 
b/schema2beans/test/unit/data/TestValid.dtd
index 015730da0..f0a933967 100644
--- a/schema2beans/test/unit/data/TestValid.dtd
+++ b/schema2beans/test/unit/data/TestValid.dtd
@@ -1,3 +1,23 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <!ELEMENT book (title?, chapter+, note?, paperback?, summary?, isbn?, price?)> 
 <!ELEMENT title (#PCDATA)> 
 <!ELEMENT chapter (title, summary?, paragraph*, conclusion?, ending?)>
diff --git a/schema2beans/test/unit/data/TestValid.xml 
b/schema2beans/test/unit/data/TestValid.xml
index 24b8fc4c0..30c648708 100644
--- a/schema2beans/test/unit/data/TestValid.xml
+++ b/schema2beans/test/unit/data/TestValid.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?> 
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <!DOCTYPE book [
 <!ELEMENT book (title?, chapter+, note?, paperback?, summary?, isbn?, price?)> 
 <!ELEMENT title (#PCDATA)> 
diff --git a/schema2beans/test/unit/data/TestVeto.dtd 
b/schema2beans/test/unit/data/TestVeto.dtd
index 7554f81b6..7d636fe64 100644
--- a/schema2beans/test/unit/data/TestVeto.dtd
+++ b/schema2beans/test/unit/data/TestVeto.dtd
@@ -1,5 +1,25 @@
-<!-- The following DTD is a simple view of a book:
-book
+<!-- 
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+    The following DTD is a simple view of a book:
+
+    book
      index
         +
           word
diff --git a/schema2beans/test/unit/data/TestVeto.mdd 
b/schema2beans/test/unit/data/TestVeto.mdd
index ccafec096..9af9d1965 100644
--- a/schema2beans/test/unit/data/TestVeto.mdd
+++ b/schema2beans/test/unit/data/TestVeto.mdd
@@ -1,5 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
 
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <metaDD>
   <meta-element>
     <dtd-name>summary</dtd-name>
diff --git a/schema2beans/test/unit/data/TestWebApp.mdd 
b/schema2beans/test/unit/data/TestWebApp.mdd
index f5c6272d5..1573f8330 100644
--- a/schema2beans/test/unit/data/TestWebApp.mdd
+++ b/schema2beans/test/unit/data/TestWebApp.mdd
@@ -1,4 +1,24 @@
 <?xml version='1.0' encoding='UTF-8' ?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <metaDD>
        <meta-element>
                <dtd-name>web-app</dtd-name>
diff --git a/schema2beans/test/unit/data/TestWebAppDelegator.xml 
b/schema2beans/test/unit/data/TestWebAppDelegator.xml
index 31bdd2c9d..8b31204f8 100644
--- a/schema2beans/test/unit/data/TestWebAppDelegator.xml
+++ b/schema2beans/test/unit/data/TestWebAppDelegator.xml
@@ -1,4 +1,24 @@
 <?xml version='1.0'?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <web-app>
   <description>This is my Web App</description>
   <display-name>MyWebApp</display-name>
diff --git a/schema2beans/test/unit/data/TestWebAppDelegatorBaseBean.xml 
b/schema2beans/test/unit/data/TestWebAppDelegatorBaseBean.xml
index 06d97e3c7..73d5c6a87 100644
--- a/schema2beans/test/unit/data/TestWebAppDelegatorBaseBean.xml
+++ b/schema2beans/test/unit/data/TestWebAppDelegatorBaseBean.xml
@@ -1,4 +1,24 @@
 <?xml version='1.0'?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <web-app>
   <description>This is my Web App</description>
   <display-name>MyWebApp</display-name>
diff --git a/schema2beans/test/unit/data/tm01_g1.xml 
b/schema2beans/test/unit/data/tm01_g1.xml
index b93b3bab9..cd89b1200 100644
--- a/schema2beans/test/unit/data/tm01_g1.xml
+++ b/schema2beans/test/unit/data/tm01_g1.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <book>
        <author>
        John Smith
diff --git a/schema2beans/test/unit/data/tm01_g2.xml 
b/schema2beans/test/unit/data/tm01_g2.xml
index 0c87248b1..99551e42c 100644
--- a/schema2beans/test/unit/data/tm01_g2.xml
+++ b/schema2beans/test/unit/data/tm01_g2.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <book>
        <summary size="12">
        This book is about the life of a book spent between books who dreamed
diff --git a/schema2beans/test/unit/data/tm01_g3.xml 
b/schema2beans/test/unit/data/tm01_g3.xml
index 3ea4c2dea..26e4acfa6 100644
--- a/schema2beans/test/unit/data/tm01_g3.xml
+++ b/schema2beans/test/unit/data/tm01_g3.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <book good="no">
        <summary length="123" lang="us" size="12">
        This book is about the life of a book spent between books who dreamed
diff --git a/schema2beans/test/unit/data/tm01_g4.xml 
b/schema2beans/test/unit/data/tm01_g4.xml
index 2ae408e04..0e7160e15 100644
--- a/schema2beans/test/unit/data/tm01_g4.xml
+++ b/schema2beans/test/unit/data/tm01_g4.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 <book good="no">
        <!-- BLUE -->
        <summary length="123" lang="us" size="12">


 

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


> Clarify the status of donated files from ApacheNetBeansDonation1.zip
> --------------------------------------------------------------------
>
>                 Key: NETBEANS-54
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-54
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: Bertrand Delacretaz
>              Labels: pull-request-available
>         Attachments: JavaApplication9.java, categorized-1.zip, 
> convert-headers-1.zip
>
>
> Reviewing the software grant [1] provided with the first NetBeans code 
> donation, my understanding is that not all files found in that zip are 
> donated.
> The grant indicates that the contents of that file [2] ("Code File") are 
> donated "excluding any third-party and separately licensed material contained 
> within the Code File". 
> I don't think we can consider that code ready to release as is, due to the 
> uncertainty that this creates w.r.t to which files are donated and which are 
> not.
> The zip archive contains about 45'000 files.
> I see the following options:
> a) Review all files and include only those which are not "third-party and 
> separately licensed material". How such files are identified needs to be 
> defined and documented, either in scripts under version control or as a set 
> of rules. The review process must be documented and traceable, so that we can 
> go back to it if problems are found in the future.
> b) Get an updated grant which does not mention such exclusions.
> If someone sees other options please discuss here or on the NetBeans dev 
> list, referencing this ticket.
> [1] in svn under private/documents/grants/oracle-america-netbeans.pdf , ASF 
> members have access
> [2] under http://bits.netbeans.org/download/apache-donation/  - 
> SHA256(ApacheNetBeansDonation1.zip)=
> 7f2ca0f61953a190613c9a0fbcc1b034084b04a4d55d23c02cefffc354e7c24a



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

Reply via email to