This is an automated email from the ASF dual-hosted git repository.
olabusayo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-daffodil.git
The following commit(s) were added to refs/heads/master by this push:
new 59a1f71 Added licenses
59a1f71 is described below
commit 59a1f71d49f3f48bd2b84c91bcc1429d246c4d47
Author: olabusayoT <[email protected]>
AuthorDate: Wed Apr 8 11:15:47 2020 -0400
Added licenses
-- addded license to xml files and removed from rat ignore
-- remove some usused bin/xml files
DAFFODIL-2318
---
.../src/test/resources/test/japi/myInfosetBroken.xml | 16 ++++++++++++++++
.../src/test/resources/test/sapi/myInfosetBroken.xml | 16 ++++++++++++++++
.../src/test/resources/test/tdml/test.xml | 16 ++++++++++++++++
.../section06/namespaces/path-qnames/a_doc.xml | 20 --------------------
.../representation_properties/encodingError | 1 -
.../representation_properties/littleEndianBit | 1 -
project/Rat.scala | 6 ------
7 files changed, 48 insertions(+), 28 deletions(-)
diff --git a/daffodil-japi/src/test/resources/test/japi/myInfosetBroken.xml
b/daffodil-japi/src/test/resources/test/japi/myInfosetBroken.xml
index 49d1e7d..817214c 100644
--- a/daffodil-japi/src/test/resources/test/japi/myInfosetBroken.xml
+++ b/daffodil-japi/src/test/resources/test/japi/myInfosetBroken.xml
@@ -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.
+-->
<tns:e1 xmlns:tns="http://example.com">
<tns:wrong>42</tns:wrong>
</tns:e1>
diff --git a/daffodil-sapi/src/test/resources/test/sapi/myInfosetBroken.xml
b/daffodil-sapi/src/test/resources/test/sapi/myInfosetBroken.xml
index 49d1e7d..817214c 100644
--- a/daffodil-sapi/src/test/resources/test/sapi/myInfosetBroken.xml
+++ b/daffodil-sapi/src/test/resources/test/sapi/myInfosetBroken.xml
@@ -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.
+-->
<tns:e1 xmlns:tns="http://example.com">
<tns:wrong>42</tns:wrong>
</tns:e1>
diff --git a/daffodil-tdml-processor/src/test/resources/test/tdml/test.xml
b/daffodil-tdml-processor/src/test/resources/test/tdml/test.xml
index d7af622..44b6664 100644
--- a/daffodil-tdml-processor/src/test/resources/test/tdml/test.xml
+++ b/daffodil-tdml-processor/src/test/resources/test/tdml/test.xml
@@ -1 +1,17 @@
+<!--
+ 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.
+-->
<byte1>123</byte1>
diff --git
a/daffodil-test/src/test/resources/org/apache/daffodil/section06/namespaces/path-qnames/a_doc.xml
b/daffodil-test/src/test/resources/org/apache/daffodil/section06/namespaces/path-qnames/a_doc.xml
deleted file mode 100644
index 414f198..0000000
---
a/daffodil-test/src/test/resources/org/apache/daffodil/section06/namespaces/path-qnames/a_doc.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<a:rootA xmlns:a="ns_a" xmlns:b="ns_b" xmlns:d="ns_d"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="ns_a ./A.dfdl.xsd ns_b ./B.dfdl.xsd ns_d
./D.dfdl.xsd">
- <b:sally>
- <bqjane xmlns="ns_b">6</bqjane>
- </b:sally>
- <sally1>
- <aujane>8</aujane>
- </sally1>
- <a:sally>
- <aqjane>9</aqjane>
- </a:sally>
- <sally>
- <ntnqjane>10</ntnqjane>
- </sally>
- <d:sally>
- <d:ntnqjane>11</d:ntnqjane>
- </d:sally>
-</a:rootA>
diff --git
a/daffodil-test/src/test/resources/org/apache/daffodil/section10/representation_properties/encodingError
b/daffodil-test/src/test/resources/org/apache/daffodil/section10/representation_properties/encodingError
deleted file mode 100644
index ab94504..0000000
---
a/daffodil-test/src/test/resources/org/apache/daffodil/section10/representation_properties/encodingError
+++ /dev/null
@@ -1 +0,0 @@
-d�g
\ No newline at end of file
diff --git
a/daffodil-test/src/test/resources/org/apache/daffodil/section10/representation_properties/littleEndianBit
b/daffodil-test/src/test/resources/org/apache/daffodil/section10/representation_properties/littleEndianBit
deleted file mode 100644
index cc71ebb..0000000
---
a/daffodil-test/src/test/resources/org/apache/daffodil/section10/representation_properties/littleEndianBit
+++ /dev/null
@@ -1 +0,0 @@
-KT
diff --git a/project/Rat.scala b/project/Rat.scala
index 5a91384..83fcb78 100644
--- a/project/Rat.scala
+++ b/project/Rat.scala
@@ -104,7 +104,6 @@ object Rat {
file("daffodil-japi/src/test/resources/test/japi/myData5.dat"),
file("daffodil-japi/src/test/resources/test/japi/myDataBroken.dat"),
file("daffodil-japi/src/test/resources/test/japi/myData.dat"),
- file("daffodil-japi/src/test/resources/test/japi/myInfosetBroken.xml"),
file("daffodil-sapi/src/test/resources/test/sapi/01very_simple.txt"),
file("daffodil-sapi/src/test/resources/test/sapi/myData16.dat"),
file("daffodil-sapi/src/test/resources/test/sapi/myData2.dat"),
@@ -113,18 +112,13 @@ object Rat {
file("daffodil-sapi/src/test/resources/test/sapi/myData5.dat"),
file("daffodil-sapi/src/test/resources/test/sapi/myDataBroken.dat"),
file("daffodil-sapi/src/test/resources/test/sapi/myData.dat"),
- file("daffodil-sapi/src/test/resources/test/sapi/myInfosetBroken.xml"),
file("daffodil-tdml-lib/src/test/resources/test/tdml/test.bin"),
file("daffodil-tdml-lib/src/test/resources/test/tdml/test.txt"),
file("daffodil-tdml-processor/src/test/resources/test/tdml/test.bin"),
file("daffodil-tdml-processor/src/test/resources/test/tdml/test.txt"),
- file("daffodil-tdml-processor/src/test/resources/test/tdml/test.xml"),
file("daffodil-test/src/test/resources/org/apache/daffodil/section00/general/ext_file2.txt"),
file("daffodil-test/src/test/resources/org/apache/daffodil/section00/general/ext_file.txt"),
file("daffodil-test/src/test/resources/org/apache/daffodil/section06/entities/02nine_headers.txt"),
-
file("daffodil-test/src/test/resources/org/apache/daffodil/section06/namespaces/path-qnames/a_doc.xml"),
-
file("daffodil-test/src/test/resources/org/apache/daffodil/section10/representation_properties/encodingError"),
-
file("daffodil-test/src/test/resources/org/apache/daffodil/section10/representation_properties/littleEndianBit"),
file("daffodil-test/src/test/resources/org/apache/daffodil/usertests/test_prefix_separator_as_variable"),
file("daffodil-test/src/test/resources/org/apache/daffodil/usertests/Book2.csv"),
file("daffodil-test/src/test/resources/test space/A BTinyData.tdml.dat"),