Add files using upload-large-folder tool
Browse files- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/FileCommandDetector.xml +26 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-1509-multiple-fallback.xml +38 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-1642-CTakes.xml +24 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-1986-bad-parameters.xml +26 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-1986-bad-values.xml +26 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-2389-illegal.xml +29 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-2389-throw-default-overridden.xml +30 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-2653-vowel-parser-iou.xml +26 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-2732-xmlreaderutils-exc.xml +20 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-2732-xmlreaderutils.xml +20 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-3137-exclude.xml +27 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-3137-include-uc.xml +30 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-3137-include.xml +29 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-3137-mimes-uc.xml +28 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-3557.xml +41 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/fetchers-duplicate-config.xml +33 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/fetchers-mock-throw-on-check.xml +27 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/mockConfig.xml +35 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/pipes-iterator-config.xml +25 -0
- local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/pipes-iterator-multiple-config.xml +31 -0
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/FileCommandDetector.xml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<detectors class="org.apache.tika.detect.DefaultDetector">
|
| 20 |
+
<detector class="org.apache.tika.detect.FileCommandDetector">
|
| 21 |
+
<params>
|
| 22 |
+
<param name="useMime" type="bool">true</param>
|
| 23 |
+
</params>
|
| 24 |
+
</detector>
|
| 25 |
+
</detectors>
|
| 26 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-1509-multiple-fallback.xml
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<parsers>
|
| 20 |
+
|
| 21 |
+
<!-- Defaults except for PDF -->
|
| 22 |
+
<parser class="org.apache.tika.parser.DefaultParser">
|
| 23 |
+
<mime-exclude>application/pdf</mime-exclude>
|
| 24 |
+
</parser>
|
| 25 |
+
|
| 26 |
+
<!-- For PDF, try one then another, discarding the first results -->
|
| 27 |
+
<!-- if the first parser fails (as it will!) -->
|
| 28 |
+
<parser class="org.apache.tika.parser.multiple.FallbackParser">
|
| 29 |
+
<params>
|
| 30 |
+
<param name="metadataPolicy" value="DISCARD_ALL" />
|
| 31 |
+
</params>
|
| 32 |
+
<parser class="org.apache.tika.parser.ErrorParser"/>
|
| 33 |
+
<parser class="org.apache.tika.parser.EmptyParser"/>
|
| 34 |
+
<mime>application/pdf</mime>
|
| 35 |
+
</parser>
|
| 36 |
+
|
| 37 |
+
</parsers>
|
| 38 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-1642-CTakes.xml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<parsers>
|
| 20 |
+
<parser class="org.apache.tika.parser.ctakes.CTAKESParser">
|
| 21 |
+
<parser class="org.apache.tika.parser.DefaultParser"/>
|
| 22 |
+
</parser>
|
| 23 |
+
</parsers>
|
| 24 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-1986-bad-parameters.xml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<parsers>
|
| 20 |
+
<parser class="org.apache.tika.parser.DummyParameterizedParser">
|
| 21 |
+
<params>
|
| 22 |
+
<param name="zippidity_doo_dah" type="string">testparamval</param>
|
| 23 |
+
</params>
|
| 24 |
+
</parser>
|
| 25 |
+
</parsers>
|
| 26 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-1986-bad-values.xml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<parsers>
|
| 20 |
+
<parser class="org.apache.tika.parser.DummyParameterizedParser">
|
| 21 |
+
<params>
|
| 22 |
+
<param name="xint" type="int">When in the course of human events</param>
|
| 23 |
+
</params>
|
| 24 |
+
</parser>
|
| 25 |
+
</parsers>
|
| 26 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-2389-illegal.xml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<parsers>
|
| 20 |
+
<parser-exclude class="org.apache.tika.parser.DefaultParser"/>
|
| 21 |
+
<parser class="org.apache.tika.parser.DummyInitializableParser" initializableProblemHandler="impossible.method">
|
| 22 |
+
<params>
|
| 23 |
+
<param name="shortA" type="short">500</param>
|
| 24 |
+
<param name="shortB" type="short">501</param>
|
| 25 |
+
</params>
|
| 26 |
+
</parser>
|
| 27 |
+
|
| 28 |
+
</parsers>
|
| 29 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-2389-throw-default-overridden.xml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<service-loader initializableProblemHandler="throw"/>
|
| 20 |
+
<parsers>
|
| 21 |
+
<parser-exclude class="org.apache.tika.parser.DefaultParser"/>
|
| 22 |
+
<parser class="org.apache.tika.parser.DummyInitializableParser" initializableProblemHandler="info">
|
| 23 |
+
<params>
|
| 24 |
+
<param name="shortA" type="short">500</param>
|
| 25 |
+
<param name="shortB" type="short">501</param>
|
| 26 |
+
</params>
|
| 27 |
+
</parser>
|
| 28 |
+
|
| 29 |
+
</parsers>
|
| 30 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-2653-vowel-parser-iou.xml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<parsers>
|
| 20 |
+
<parser class="org.apache.tika.parser.mock.VowelParser">
|
| 21 |
+
<params>
|
| 22 |
+
<param name="vowel" type="string">iou</param>
|
| 23 |
+
</params>
|
| 24 |
+
</parser>
|
| 25 |
+
</parsers>
|
| 26 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-2732-xmlreaderutils-exc.xml
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<xml-reader-utils maxEntityExpansions="notAnInteger" poolSize="notAnInteger"/>
|
| 20 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-2732-xmlreaderutils.xml
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<xml-reader-utils maxEntityExpansions="5" poolSize="33"/>
|
| 20 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-3137-exclude.xml
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<metadataFilters>
|
| 20 |
+
<metadataFilter class="org.apache.tika.metadata.filter.ExcludeFieldMetadataFilter">
|
| 21 |
+
<exclude>
|
| 22 |
+
<field>title</field>
|
| 23 |
+
<field>author</field>
|
| 24 |
+
</exclude>
|
| 25 |
+
</metadataFilter>
|
| 26 |
+
</metadataFilters>
|
| 27 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-3137-include-uc.xml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<metadataFilters>
|
| 20 |
+
<metadataFilter class="org.apache.tika.metadata.filter.IncludeFieldMetadataFilter">
|
| 21 |
+
<params>
|
| 22 |
+
<include>
|
| 23 |
+
<field>title</field>
|
| 24 |
+
<field>author</field>
|
| 25 |
+
</include>
|
| 26 |
+
</params>
|
| 27 |
+
</metadataFilter>
|
| 28 |
+
<metadataFilter class="org.apache.tika.metadata.filter.MockUpperCaseFilter"/>
|
| 29 |
+
</metadataFilters>
|
| 30 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-3137-include.xml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<metadataFilters>
|
| 20 |
+
<metadataFilter class="org.apache.tika.metadata.filter.IncludeFieldMetadataFilter">
|
| 21 |
+
<params>
|
| 22 |
+
<include>
|
| 23 |
+
<field>title</field>
|
| 24 |
+
<field>author</field>
|
| 25 |
+
</include>
|
| 26 |
+
</params>
|
| 27 |
+
</metadataFilter>
|
| 28 |
+
</metadataFilters>
|
| 29 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-3137-mimes-uc.xml
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<metadataFilters>
|
| 20 |
+
<metadataFilter class="org.apache.tika.metadata.filter.ClearByMimeMetadataFilter">
|
| 21 |
+
<mimes>
|
| 22 |
+
<mime>image/jpeg</mime>
|
| 23 |
+
<mime>application/pdf</mime>
|
| 24 |
+
</mimes>
|
| 25 |
+
</metadataFilter>
|
| 26 |
+
<metadataFilter class="org.apache.tika.metadata.filter.MockUpperCaseFilter"/>
|
| 27 |
+
</metadataFilters>
|
| 28 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-3557.xml
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<parsers>
|
| 20 |
+
<parser class="org.apache.tika.parser.external2.ExternalParser">
|
| 21 |
+
<params>
|
| 22 |
+
<param name="supportedTypes" type="list">
|
| 23 |
+
<string>application/xml</string>
|
| 24 |
+
</param>
|
| 25 |
+
<param name="commandLine" type="list">
|
| 26 |
+
<string>file</string>
|
| 27 |
+
<string>-b</string>
|
| 28 |
+
<string>--mime-type</string>
|
| 29 |
+
<string>${INPUT_FILE}</string>
|
| 30 |
+
</param>
|
| 31 |
+
<param name="outputParser" type="class" class="org.apache.tika.parser.RegexCaptureParser">
|
| 32 |
+
<params>
|
| 33 |
+
<param name="captureMap" type="map">
|
| 34 |
+
<title>^Title: ([^\r\n]+)</title>
|
| 35 |
+
</param>
|
| 36 |
+
</params>
|
| 37 |
+
</param>
|
| 38 |
+
</params>
|
| 39 |
+
</parser>
|
| 40 |
+
</parsers>
|
| 41 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/fetchers-duplicate-config.xml
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<fetchers>
|
| 20 |
+
<fetcher class="org.apache.tika.pipes.fetcher.fs.FileSystemFetcher">
|
| 21 |
+
<params>
|
| 22 |
+
<name>fs1</name>
|
| 23 |
+
<basePath>/my/base/path1</basePath>
|
| 24 |
+
</params>
|
| 25 |
+
</fetcher>
|
| 26 |
+
<fetcher class="org.apache.tika.pipes.fetcher.fs.FileSystemFetcher">
|
| 27 |
+
<params>
|
| 28 |
+
<name>fs1</name>
|
| 29 |
+
<basePath>/my/base/path2</basePath>
|
| 30 |
+
</params>
|
| 31 |
+
</fetcher>
|
| 32 |
+
</fetchers>
|
| 33 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/fetchers-mock-throw-on-check.xml
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<fetchers>
|
| 20 |
+
<fetcher class="org.apache.tika.pipes.fetcher.MockFetcher">
|
| 21 |
+
<params>
|
| 22 |
+
<name>mock</name>
|
| 23 |
+
<throwOnCheck>true</throwOnCheck>
|
| 24 |
+
</params>
|
| 25 |
+
</fetcher>
|
| 26 |
+
</fetchers>
|
| 27 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/mockConfig.xml
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
|
| 20 |
+
<mockConfig>
|
| 21 |
+
<params>
|
| 22 |
+
<myString>hello-world</myString>
|
| 23 |
+
<myStrings>
|
| 24 |
+
<val>one</val>
|
| 25 |
+
<val>two</val>
|
| 26 |
+
</myStrings>
|
| 27 |
+
<mappings>
|
| 28 |
+
<entry from="from1" to="to1"/>
|
| 29 |
+
<entry from="from2" to="to2"/>
|
| 30 |
+
</mappings>
|
| 31 |
+
<myDouble>3.14259</myDouble>
|
| 32 |
+
<myInt>2</myInt>
|
| 33 |
+
</params>
|
| 34 |
+
</mockConfig>
|
| 35 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/pipes-iterator-config.xml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<pipesIterator class="org.apache.tika.pipes.pipesiterator.fs.FileSystemPipesIterator">
|
| 20 |
+
<params>
|
| 21 |
+
<fetcherName>fs1</fetcherName>
|
| 22 |
+
<basePath>/my/base/path1</basePath>
|
| 23 |
+
</params>
|
| 24 |
+
</pipesIterator>
|
| 25 |
+
</properties>
|
local-test-tika-delta-04/afc-tika/tika-core/src/test/resources/org/apache/tika/config/pipes-iterator-multiple-config.xml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
the License. You may obtain a copy of the License at
|
| 9 |
+
|
| 10 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
|
| 12 |
+
Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<pipesIterator class="org.apache.tika.pipes.pipesiterator.fs.FileSystemPipesIterator">
|
| 20 |
+
<params>
|
| 21 |
+
<fetcherName>fs1</fetcherName>
|
| 22 |
+
<basePath>/my/base/path1</basePath>
|
| 23 |
+
</params>
|
| 24 |
+
</pipesIterator>
|
| 25 |
+
<pipesIterator class="org.apache.tika.pipes.pipesiterator.fs.FileSystemPipesIterator">
|
| 26 |
+
<params>
|
| 27 |
+
<fetcherName>fs2</fetcherName>
|
| 28 |
+
<basePath>/my/base/path2</basePath>
|
| 29 |
+
</params>
|
| 30 |
+
</pipesIterator>
|
| 31 |
+
</properties>
|