You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ma...@apache.org on 2017/10/11 17:46:06 UTC

[20/24] incubator-netbeans git commit: [NETBEANS-54] Modules review xml

[NETBEANS-54] Modules review xml

- no external library
- checked Rat report: excluded test-data from rat (no IP value),
  updated/added license headers, exclude templates from rat (jira
  issue was raised)
- disable tests that fail because referenced files were not donated
- skimmed through module, did not notice additional problems


Project: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/commit/b136e120
Tree: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/tree/b136e120
Diff: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/diff/b136e120

Branch: refs/heads/master
Commit: b136e1207405ed7e13826666de1b0929b356b184
Parents: ff9557f
Author: Matthias Bläsing <mb...@doppel-helix.eu>
Authored: Sat Oct 7 14:23:18 2017 +0200
Committer: Matthias Bläsing <mb...@doppel-helix.eu>
Committed: Wed Oct 11 19:04:54 2017 +0200

----------------------------------------------------------------------
 .gitignore                                      |  5 ++++-
 nbbuild/build.xml                               |  2 ++
 .../ActionsTestProject/nbproject/ant-deploy.xml | 20 +++++++++++++++++++
 .../data/ActionsTestProject/web/DTDformed.dtd   | 20 +++++++++++++++++++
 .../data/ActionsTestProject/web/DTDformed.xml   | 20 +++++++++++++++++++
 .../ActionsTestProject/web/META-INF/context.xml | 20 +++++++++++++++++++
 .../data/ActionsTestProject/web/WEB-INF/web.xml | 19 ++++++++++++++++++
 .../ActionsTestProject/web/XMLSchema2GUI.xslt   | 21 +++++++++++++++++++-
 .../data/ActionsTestProject/web/index.jsp       | 20 +++++++++++++++++++
 .../ActionsTestProject/web/sampleXMLSchema.xml  | 20 +++++++++++++++++++
 .../data/ActionsTestProject/web/shiporder.xsd   | 20 +++++++++++++++++++
 .../data/ActionsTestProject/web/shiporders.xml  | 20 +++++++++++++++++++
 .../data/ActionsTestProject/web/well.xml        | 19 ++++++++++++++++++
 .../nbproject/ant-deploy.xml                    | 20 +++++++++++++++++++
 .../nbproject/jax-ws.xml                        | 20 +++++++++++++++++++
 .../web/META-INF/context.xml                    | 20 +++++++++++++++++++
 .../web/WEB-INF/web.xml                         | 19 ++++++++++++++++++
 .../nbproject/ant-deploy.xml                    | 20 +++++++++++++++++++
 .../web/META-INF/context.xml                    | 20 +++++++++++++++++++
 .../DTDActionsTestProject/web/WEB-INF/web.xml   | 19 ++++++++++++++++++
 .../data/DTDActionsTestProject/web/testDTD.dtd  | 21 +++++++++++++++++++-
 xml/test/qa-functional/data/people.xsd          | 20 +++++++++++++++++++
 xml/test/qa-functional/data/sample.dtd          | 20 +++++++++++++++++++
 xml/test/unit/data/dummyXMLDocument.xml         | 20 +++++++++++++++++++
 .../netbeans/modules/xml/wizard/data/dtd.dtd    | 20 +++++++++++++++++++
 .../modules/xml/wizard/data/schemaWithNS.xsd    | 20 +++++++++++++++++++
 26 files changed, 482 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 53e3b3c..c5088f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -42,4 +42,7 @@
 /websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/oauth/
 /websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/wadl/
 /websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/wadl20061109.xsd
-/websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/wadl200902.xsd
\ No newline at end of file
+/websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/wadl200902.xsd
+/xml/test/qa-functional/data/DTDActionsTestProject/nbproject/private/
+/xml/test/qa-functional/data/ActionsTestProject/nbproject/private/
+/xml/test/qa-functional/data/CoreTemplatesTestProject/nbproject/private/
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/nbbuild/build.xml
----------------------------------------------------------------------
diff --git a/nbbuild/build.xml b/nbbuild/build.xml
index 55656a2..b05c6f4 100644
--- a/nbbuild/build.xml
+++ b/nbbuild/build.xml
@@ -1986,6 +1986,8 @@ It is possible to use -Ddebug.port=3234 -Ddebug.pause=y to start the system in d
                 <exclude name="utilities/test/unit/src/org/netbeans/modules/openfile/resources/recent_files/*" /> <!--test data-->
                 <exclude name="**/*.url" /> <!--no degree of creativity-->
 		<exclude name="spi.navigator/test/unit/src/org/netbeans/modules/navigator/resources/lastsel/file.lastsel_mime1" /> <!--empty file-->    
+                <exclude name="xml/test/unit/src/org/netbeans/modules/xml/resources/*" /> <!-- test data -->
+                <exclude name="xml/src/org/netbeans/modules/xml/resources/templates/*" /> <!-- template files - tracked by https://issues.apache.org/jira/browse/NETBEANS-85 -->
                 <exclude name="xml.axi/test/unit/src/org/netbeans/modules/xml/axi/resources/**" /> <!-- test data -->
                 <exclude name="xml.schema.completion/test/unit/src/org/netbeans/modules/xml/schema/completion/resources/**" /> <!-- test data -->
                 <exclude name="xml.xdm/test/unit/src/org/netbeans/modules/xml/xdm/**/*.wsdl" /> <!-- test data -->

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/ActionsTestProject/nbproject/ant-deploy.xml
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/ActionsTestProject/nbproject/ant-deploy.xml b/xml/test/qa-functional/data/ActionsTestProject/nbproject/ant-deploy.xml
index 7ec8e30..f879516 100644
--- a/xml/test/qa-functional/data/ActionsTestProject/nbproject/ant-deploy.xml
+++ b/xml/test/qa-functional/data/ActionsTestProject/nbproject/ant-deploy.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.
+
+-->
 <project default="-deploy-ant" basedir=".">
     <target name="-init-cl-deployment-env" if="deploy.ant.enabled">
         <property file="${deploy.ant.properties.file}" />

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/ActionsTestProject/web/DTDformed.dtd
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/ActionsTestProject/web/DTDformed.dtd b/xml/test/qa-functional/data/ActionsTestProject/web/DTDformed.dtd
index 63a7f3a..33637d9 100644
--- a/xml/test/qa-functional/data/ActionsTestProject/web/DTDformed.dtd
+++ b/xml/test/qa-functional/data/ActionsTestProject/web/DTDformed.dtd
@@ -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.
+
+-->
 
 <!--
     Document   : DTDexample.dtd

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/ActionsTestProject/web/DTDformed.xml
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/ActionsTestProject/web/DTDformed.xml b/xml/test/qa-functional/data/ActionsTestProject/web/DTDformed.xml
index 7640822..91c1066 100644
--- a/xml/test/qa-functional/data/ActionsTestProject/web/DTDformed.xml
+++ b/xml/test/qa-functional/data/ActionsTestProject/web/DTDformed.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.
+
+-->
 
 <!--
     Document   : newXMLDocument.xml

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/ActionsTestProject/web/META-INF/context.xml
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/ActionsTestProject/web/META-INF/context.xml b/xml/test/qa-functional/data/ActionsTestProject/web/META-INF/context.xml
index 2ec66ad..672c9d8 100644
--- a/xml/test/qa-functional/data/ActionsTestProject/web/META-INF/context.xml
+++ b/xml/test/qa-functional/data/ActionsTestProject/web/META-INF/context.xml
@@ -1,2 +1,22 @@
 <?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.
+
+-->
 <Context path="/ActionsTestProject"/>

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/ActionsTestProject/web/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/ActionsTestProject/web/WEB-INF/web.xml b/xml/test/qa-functional/data/ActionsTestProject/web/WEB-INF/web.xml
index 9c98471..960ff54 100644
--- a/xml/test/qa-functional/data/ActionsTestProject/web/WEB-INF/web.xml
+++ b/xml/test/qa-functional/data/ActionsTestProject/web/WEB-INF/web.xml
@@ -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.
+
+-->
 <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
 	 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/ActionsTestProject/web/XMLSchema2GUI.xslt
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/ActionsTestProject/web/XMLSchema2GUI.xslt b/xml/test/qa-functional/data/ActionsTestProject/web/XMLSchema2GUI.xslt
index 6bb1f42..6fae36f 100644
--- a/xml/test/qa-functional/data/ActionsTestProject/web/XMLSchema2GUI.xslt
+++ b/xml/test/qa-functional/data/ActionsTestProject/web/XMLSchema2GUI.xslt
@@ -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.
+
+-->
 
 
 <!-- XML Schema ==> HTML form corresponding the Schema -->

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/ActionsTestProject/web/index.jsp
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/ActionsTestProject/web/index.jsp b/xml/test/qa-functional/data/ActionsTestProject/web/index.jsp
index e5dd68a..c933893 100644
--- a/xml/test/qa-functional/data/ActionsTestProject/web/index.jsp
+++ b/xml/test/qa-functional/data/ActionsTestProject/web/index.jsp
@@ -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.
+
+-->
 <%@page contentType="text/html"%>
 <%@page pageEncoding="UTF-8"%>
 <%--

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/ActionsTestProject/web/sampleXMLSchema.xml
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/ActionsTestProject/web/sampleXMLSchema.xml b/xml/test/qa-functional/data/ActionsTestProject/web/sampleXMLSchema.xml
index 7d3be71..cd54d4f 100644
--- a/xml/test/qa-functional/data/ActionsTestProject/web/sampleXMLSchema.xml
+++ b/xml/test/qa-functional/data/ActionsTestProject/web/sampleXMLSchema.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.
+
+-->
 
 <!-- Commented out for IE5 which doesn't understand :
 

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/ActionsTestProject/web/shiporder.xsd
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/ActionsTestProject/web/shiporder.xsd b/xml/test/qa-functional/data/ActionsTestProject/web/shiporder.xsd
index a1a632b..7a56e8b 100644
--- a/xml/test/qa-functional/data/ActionsTestProject/web/shiporder.xsd
+++ b/xml/test/qa-functional/data/ActionsTestProject/web/shiporder.xsd
@@ -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.
+
+-->
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
     
     <xs:simpleType name="stringtype">

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/ActionsTestProject/web/shiporders.xml
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/ActionsTestProject/web/shiporders.xml b/xml/test/qa-functional/data/ActionsTestProject/web/shiporders.xml
index d453fa2..aea6b21 100644
--- a/xml/test/qa-functional/data/ActionsTestProject/web/shiporders.xml
+++ b/xml/test/qa-functional/data/ActionsTestProject/web/shiporders.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.
+
+-->
 <shiporders  >
     <shiporder orderid="188923">
 	<orderperson>John Smith</orderperson>

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/ActionsTestProject/web/well.xml
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/ActionsTestProject/web/well.xml b/xml/test/qa-functional/data/ActionsTestProject/web/well.xml
index c33face..b75bd30 100644
--- a/xml/test/qa-functional/data/ActionsTestProject/web/well.xml
+++ b/xml/test/qa-functional/data/ActionsTestProject/web/well.xml
@@ -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.
+
+-->
 <!DOCTYPE note [
 <!ELEMENT note (to, from, heading, body)>
 <!ELEMENT to (#PCDATA)>

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/CoreTemplatesTestProject/nbproject/ant-deploy.xml
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/CoreTemplatesTestProject/nbproject/ant-deploy.xml b/xml/test/qa-functional/data/CoreTemplatesTestProject/nbproject/ant-deploy.xml
index 7ec8e30..f879516 100644
--- a/xml/test/qa-functional/data/CoreTemplatesTestProject/nbproject/ant-deploy.xml
+++ b/xml/test/qa-functional/data/CoreTemplatesTestProject/nbproject/ant-deploy.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.
+
+-->
 <project default="-deploy-ant" basedir=".">
     <target name="-init-cl-deployment-env" if="deploy.ant.enabled">
         <property file="${deploy.ant.properties.file}" />

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/CoreTemplatesTestProject/nbproject/jax-ws.xml
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/CoreTemplatesTestProject/nbproject/jax-ws.xml b/xml/test/qa-functional/data/CoreTemplatesTestProject/nbproject/jax-ws.xml
index ce67900..e365c43 100644
--- a/xml/test/qa-functional/data/CoreTemplatesTestProject/nbproject/jax-ws.xml
+++ b/xml/test/qa-functional/data/CoreTemplatesTestProject/nbproject/jax-ws.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.
+
+-->
 <jax-ws xmlns="http://www.netbeans.org/ns/jax-ws/1">
     <services/>
     <clients/>

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/CoreTemplatesTestProject/web/META-INF/context.xml
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/CoreTemplatesTestProject/web/META-INF/context.xml b/xml/test/qa-functional/data/CoreTemplatesTestProject/web/META-INF/context.xml
index 5f812e0..c77bfb3 100644
--- a/xml/test/qa-functional/data/CoreTemplatesTestProject/web/META-INF/context.xml
+++ b/xml/test/qa-functional/data/CoreTemplatesTestProject/web/META-INF/context.xml
@@ -1,2 +1,22 @@
 <?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.
+
+-->
 <Context path="/CoreTemplatesTestProject"/>

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/CoreTemplatesTestProject/web/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/CoreTemplatesTestProject/web/WEB-INF/web.xml b/xml/test/qa-functional/data/CoreTemplatesTestProject/web/WEB-INF/web.xml
index 9c98471..960ff54 100644
--- a/xml/test/qa-functional/data/CoreTemplatesTestProject/web/WEB-INF/web.xml
+++ b/xml/test/qa-functional/data/CoreTemplatesTestProject/web/WEB-INF/web.xml
@@ -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.
+
+-->
 <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
 	 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/DTDActionsTestProject/nbproject/ant-deploy.xml
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/DTDActionsTestProject/nbproject/ant-deploy.xml b/xml/test/qa-functional/data/DTDActionsTestProject/nbproject/ant-deploy.xml
index 7ec8e30..f879516 100644
--- a/xml/test/qa-functional/data/DTDActionsTestProject/nbproject/ant-deploy.xml
+++ b/xml/test/qa-functional/data/DTDActionsTestProject/nbproject/ant-deploy.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.
+
+-->
 <project default="-deploy-ant" basedir=".">
     <target name="-init-cl-deployment-env" if="deploy.ant.enabled">
         <property file="${deploy.ant.properties.file}" />

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/DTDActionsTestProject/web/META-INF/context.xml
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/DTDActionsTestProject/web/META-INF/context.xml b/xml/test/qa-functional/data/DTDActionsTestProject/web/META-INF/context.xml
index 2894b70..5beabcc 100644
--- a/xml/test/qa-functional/data/DTDActionsTestProject/web/META-INF/context.xml
+++ b/xml/test/qa-functional/data/DTDActionsTestProject/web/META-INF/context.xml
@@ -1,2 +1,22 @@
 <?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.
+
+-->
 <Context path="/DTDActionsTestProject"/>

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/DTDActionsTestProject/web/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/DTDActionsTestProject/web/WEB-INF/web.xml b/xml/test/qa-functional/data/DTDActionsTestProject/web/WEB-INF/web.xml
index 9c98471..960ff54 100644
--- a/xml/test/qa-functional/data/DTDActionsTestProject/web/WEB-INF/web.xml
+++ b/xml/test/qa-functional/data/DTDActionsTestProject/web/WEB-INF/web.xml
@@ -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.
+
+-->
 <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
 	 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/DTDActionsTestProject/web/testDTD.dtd
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/DTDActionsTestProject/web/testDTD.dtd b/xml/test/qa-functional/data/DTDActionsTestProject/web/testDTD.dtd
index ad7a1be..857ee68 100644
--- a/xml/test/qa-functional/data/DTDActionsTestProject/web/testDTD.dtd
+++ b/xml/test/qa-functional/data/DTDActionsTestProject/web/testDTD.dtd
@@ -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.
+
+-->
 <!ENTITY AUTHOR "John Doe">
 <!ENTITY COMPANY "JD Power Tools, Inc.">
 <!ENTITY EMAIL "jd@jd-tools.com">

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/people.xsd
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/people.xsd b/xml/test/qa-functional/data/people.xsd
index dbde8bc..e717e80 100644
--- a/xml/test/qa-functional/data/people.xsd
+++ b/xml/test/qa-functional/data/people.xsd
@@ -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.
+
+-->
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
 <!--deklarace jednoduchých typů -->
 <xs:simpleType name="plat">

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/qa-functional/data/sample.dtd
----------------------------------------------------------------------
diff --git a/xml/test/qa-functional/data/sample.dtd b/xml/test/qa-functional/data/sample.dtd
index a0a7f9f..ee1b075 100644
--- a/xml/test/qa-functional/data/sample.dtd
+++ b/xml/test/qa-functional/data/sample.dtd
@@ -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.
+
+-->
 
 <!--
     Document   : newemptyDTD.dtd

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/unit/data/dummyXMLDocument.xml
----------------------------------------------------------------------
diff --git a/xml/test/unit/data/dummyXMLDocument.xml b/xml/test/unit/data/dummyXMLDocument.xml
index 466dfdd..e91c609 100644
--- a/xml/test/unit/data/dummyXMLDocument.xml
+++ b/xml/test/unit/data/dummyXMLDocument.xml
@@ -1,2 +1,22 @@
 <?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.
+
+-->
 <root></root>

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/unit/src/org/netbeans/modules/xml/wizard/data/dtd.dtd
----------------------------------------------------------------------
diff --git a/xml/test/unit/src/org/netbeans/modules/xml/wizard/data/dtd.dtd b/xml/test/unit/src/org/netbeans/modules/xml/wizard/data/dtd.dtd
index 7c59070..edc16c3 100644
--- a/xml/test/unit/src/org/netbeans/modules/xml/wizard/data/dtd.dtd
+++ b/xml/test/unit/src/org/netbeans/modules/xml/wizard/data/dtd.dtd
@@ -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.
+
+-->
 
 <!--
     Document   : dtd.dtd

http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b136e120/xml/test/unit/src/org/netbeans/modules/xml/wizard/data/schemaWithNS.xsd
----------------------------------------------------------------------
diff --git a/xml/test/unit/src/org/netbeans/modules/xml/wizard/data/schemaWithNS.xsd b/xml/test/unit/src/org/netbeans/modules/xml/wizard/data/schemaWithNS.xsd
index 6965129..d6ca481 100644
--- a/xml/test/unit/src/org/netbeans/modules/xml/wizard/data/schemaWithNS.xsd
+++ b/xml/test/unit/src/org/netbeans/modules/xml/wizard/data/schemaWithNS.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.
+
+-->
 
 <!--
     Document   : schemaWithNS.xsd