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:45:49 UTC
[03/24] incubator-netbeans git commit: [NETBEANS-54] Module review
xml.core
[NETBEANS-54] Module review xml.core
- no external library
- checked Rat report; added license header to testfiles
- skimmed through the 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/0ff34983
Tree: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/tree/0ff34983
Diff: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/diff/0ff34983
Branch: refs/heads/master
Commit: 0ff34983c525f19b5fee5da24780d190a00f78cf
Parents: dae04c8
Author: Matthias Bläsing <mb...@doppel-helix.eu>
Authored: Tue Oct 3 18:41:58 2017 +0200
Committer: Matthias Bläsing <mb...@doppel-helix.eu>
Committed: Wed Oct 11 19:04:15 2017 +0200
----------------------------------------------------------------------
.../modules/xml/api/data/data.properties | 16 ++++++++++++++++
.../modules/xml/api/data/illegal_encoding.xml | 20 ++++++++++++++++++++
.../modules/xml/api/data/long_encoding.xml | 19 +++++++++++++++++++
.../modules/xml/api/data/long_no_encoding.xml | 20 ++++++++++++++++++++
.../modules/xml/api/data/short_encoding.xml | 20 ++++++++++++++++++++
.../modules/xml/api/data/short_no_encoding.xml | 20 ++++++++++++++++++++
.../xml/api/data/unsupported_encoding.xml | 20 ++++++++++++++++++++
.../netbeans/modules/xml/dtd/grammar/email.xml | 19 +++++++++++++++++++
8 files changed, 154 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/0ff34983/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/data.properties
----------------------------------------------------------------------
diff --git a/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/data.properties b/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/data.properties
index ec60222..dd5c496 100644
--- a/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/data.properties
+++ b/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/data.properties
@@ -1,3 +1,19 @@
+# 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.
short_encoding.xml=ISO-8859-1
long_encoding.xml=ISO-8859-2
short_no_encoding.xml=<null>
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/0ff34983/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/illegal_encoding.xml
----------------------------------------------------------------------
diff --git a/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/illegal_encoding.xml b/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/illegal_encoding.xml
index f78722e..3efeac6 100644
--- a/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/illegal_encoding.xml
+++ b/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/illegal_encoding.xml
@@ -1,4 +1,24 @@
<?xml version='1.0' encoding='$$$' ?>
+<!--
+
+ 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>
Short XML file test.
</root>
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/0ff34983/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/long_encoding.xml
----------------------------------------------------------------------
diff --git a/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/long_encoding.xml b/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/long_encoding.xml
index 7747d85..8ed6e2b 100644
--- a/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/long_encoding.xml
+++ b/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/long_encoding.xml
@@ -1,5 +1,24 @@
<?xml version="1.0" encoding="ISO-8859-2"?>
+<!--
+
+ 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 : long_encoding.xml.xml
Created on : October 8, 2007, 6:03 PM
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/0ff34983/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/long_no_encoding.xml
----------------------------------------------------------------------
diff --git a/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/long_no_encoding.xml b/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/long_no_encoding.xml
index a1003f7..9219170 100644
--- a/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/long_no_encoding.xml
+++ b/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/long_no_encoding.xml
@@ -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.
+
+-->
<!--
Document : long_encoding.xml.xml
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/0ff34983/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/short_encoding.xml
----------------------------------------------------------------------
diff --git a/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/short_encoding.xml b/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/short_encoding.xml
index aba0581..51fcbf7 100644
--- a/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/short_encoding.xml
+++ b/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/short_encoding.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.
+
+-->
<root>
Short XML file test.
</root>
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/0ff34983/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/short_no_encoding.xml
----------------------------------------------------------------------
diff --git a/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/short_no_encoding.xml b/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/short_no_encoding.xml
index 1a36aad..7274fa0 100644
--- a/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/short_no_encoding.xml
+++ b/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/short_no_encoding.xml
@@ -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.
+
+-->
<root>
Short XML file test.
</root>
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/0ff34983/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/unsupported_encoding.xml
----------------------------------------------------------------------
diff --git a/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/unsupported_encoding.xml b/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/unsupported_encoding.xml
index d409ed4..b3af875 100644
--- a/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/unsupported_encoding.xml
+++ b/xml.core/test/unit/src/org/netbeans/modules/xml/api/data/unsupported_encoding.xml
@@ -1,4 +1,24 @@
<?xml version='1.0' encoding='unknown' ?>
+<!--
+
+ 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>
Short XML file test.
</root>
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/0ff34983/xml.core/test/unit/src/org/netbeans/modules/xml/dtd/grammar/email.xml
----------------------------------------------------------------------
diff --git a/xml.core/test/unit/src/org/netbeans/modules/xml/dtd/grammar/email.xml b/xml.core/test/unit/src/org/netbeans/modules/xml/dtd/grammar/email.xml
index dcce616..b6ccee8 100644
--- a/xml.core/test/unit/src/org/netbeans/modules/xml/dtd/grammar/email.xml
+++ b/xml.core/test/unit/src/org/netbeans/modules/xml/dtd/grammar/email.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 email SYSTEM "email.dtd" [
<!ELEMENT testANYElement ANY>
<!NOTATION testNotation PUBLIC "not-pub" "not-sys">