Add files using upload-large-folder tool
Browse files- local-test-tika-delta-04/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/testEXCEL-formats.xls +0 -0
- local-test-tika-delta-04/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/testEXCEL_4.xls +0 -0
- local-test-tika-delta-04/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/testEXCEL_dateFormats.xls +0 -0
- local-test-tika-delta-04/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/testEXCEL_embeddedPDF_windows.xls +0 -0
- local-test-tika-delta-04/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/testMSEquation-govdocs-863534.doc +0 -0
- local-test-tika-delta-04/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/testWINMAIL.dat +0 -0
- local-test-tika-delta-04/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/testWORD_2006ml.xml +0 -0
- local-test-tika-delta-04/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/testWORD_boldHyperlink.doc +0 -0
- local-test-tika-delta-04/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/test_TIKA-1251.doc +0 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-1508-configurable.xml +37 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-1509-multiple-supplemental.xml +46 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-1642-CTakes.xml +24 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-1986-bad-values.xml +26 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-2389-throw-default-overridden.xml +30 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-3137-exclude.xml +27 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-3137-field-mapping.xml +31 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-core/src/test/resources/org/apache/tika/config/emitters-config.xml +27 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-core/src/test/resources/org/apache/tika/config/fetchers-nobasepath-config.xml +28 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-core/src/test/resources/org/apache/tika/config/mockConfig.xml +35 -0
- local-test-tika-full-01-vuln_6/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-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/testEXCEL-formats.xls
ADDED
|
Binary file (13.8 kB). View file
|
|
|
local-test-tika-delta-04/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/testEXCEL_4.xls
ADDED
|
Binary file (39.9 kB). View file
|
|
|
local-test-tika-delta-04/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/testEXCEL_dateFormats.xls
ADDED
|
Binary file (6.14 kB). View file
|
|
|
local-test-tika-delta-04/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/testEXCEL_embeddedPDF_windows.xls
ADDED
|
Binary file (62 kB). View file
|
|
|
local-test-tika-delta-04/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/testMSEquation-govdocs-863534.doc
ADDED
|
Binary file (30.7 kB). View file
|
|
|
local-test-tika-delta-04/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/testWINMAIL.dat
ADDED
|
Binary file (66.3 kB). View file
|
|
|
local-test-tika-delta-04/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/testWORD_2006ml.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
local-test-tika-delta-04/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/testWORD_boldHyperlink.doc
ADDED
|
Binary file (27.1 kB). View file
|
|
|
local-test-tika-delta-04/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/test_TIKA-1251.doc
ADDED
|
Binary file (50.7 kB). View file
|
|
|
local-test-tika-full-01-vuln_6/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-1508-configurable.xml
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.DummyConfigurableParser">
|
| 21 |
+
<params>
|
| 22 |
+
<param name="testparam" type="string">testparamval</param>
|
| 23 |
+
<param name="xshort" type="short">1000</param>
|
| 24 |
+
<param name="xint" type="int">999999999</param>
|
| 25 |
+
<param name="xlong" type="long">9999999999999</param>
|
| 26 |
+
<param name="xbigint" type="bigint">99999999999999999999999999999999999999999999999</param>
|
| 27 |
+
<param name="xfloat" type="float">10.2</param>
|
| 28 |
+
<param name="xbool" type="bool">true</param>
|
| 29 |
+
<param name="xdouble" type="double">4.6</param>
|
| 30 |
+
<param name="xurl" type="url">http://apache.org</param>
|
| 31 |
+
<param name="xfile" type="file">/</param>
|
| 32 |
+
<param name="xuri" type="uri">tika://customuri?param=value</param>
|
| 33 |
+
</params>
|
| 34 |
+
</parser>
|
| 35 |
+
|
| 36 |
+
</parsers>
|
| 37 |
+
</properties>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-1509-multiple-supplemental.xml
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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, run several parsers over the input PDF, -->
|
| 27 |
+
<!-- recording failures, and merging the metadata -->
|
| 28 |
+
<parser class="org.apache.tika.parser.multiple.FallbackParser">
|
| 29 |
+
<params>
|
| 30 |
+
<!-- If several parsers output the same metadata key, first parser to do so wins -->
|
| 31 |
+
<param name="metadataPolicy" value="FIRST_WINS" />
|
| 32 |
+
<!-- If several parsers output the same metadata key, last parser to do so wins -->
|
| 33 |
+
<!--
|
| 34 |
+
<param name="metadataPolicy" value="LAST_WINS" />
|
| 35 |
+
-->
|
| 36 |
+
<!-- If several parsers output the same metadata key, store all their values -->
|
| 37 |
+
<!--
|
| 38 |
+
<param name="metadataPolicy" value="KEEP_ALL" />
|
| 39 |
+
-->
|
| 40 |
+
</params>
|
| 41 |
+
<parser class="org.apache.tika.parser.EmptyParser"/>
|
| 42 |
+
<parser class="org.apache.tika.parser.ErrorParser"/>
|
| 43 |
+
<mime>application/pdf</mime>
|
| 44 |
+
</parser>
|
| 45 |
+
</parsers>
|
| 46 |
+
</properties>
|
local-test-tika-full-01-vuln_6/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-full-01-vuln_6/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-full-01-vuln_6/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-full-01-vuln_6/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-full-01-vuln_6/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-3137-field-mapping.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 |
+
<metadataFilters>
|
| 20 |
+
<metadataFilter class="org.apache.tika.metadata.filter.FieldNameMappingFilter">
|
| 21 |
+
<excludeUnmapped>true</excludeUnmapped>
|
| 22 |
+
<mappings>
|
| 23 |
+
<mapping from="X-TIKA:content" to="content"/>
|
| 24 |
+
<mapping from="a" to="b"/>
|
| 25 |
+
<!-- note that the mapping only works once...not recursively -->
|
| 26 |
+
<mapping from="b" to="c"/>
|
| 27 |
+
<mapping from="c" to="d"/>
|
| 28 |
+
</mappings>
|
| 29 |
+
</metadataFilter>
|
| 30 |
+
</metadataFilters>
|
| 31 |
+
</properties>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-core/src/test/resources/org/apache/tika/config/emitters-config.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 |
+
<emitters>
|
| 20 |
+
<emitter class="org.apache.tika.pipes.async.MockEmitter">
|
| 21 |
+
<name>em1</name>
|
| 22 |
+
</emitter>
|
| 23 |
+
<emitter class="org.apache.tika.pipes.async.MockEmitter">
|
| 24 |
+
<name>em2</name>
|
| 25 |
+
</emitter>
|
| 26 |
+
</emitters>
|
| 27 |
+
</properties>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-core/src/test/resources/org/apache/tika/config/fetchers-nobasepath-config.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 |
+
<fetchers>
|
| 20 |
+
<fetcher class="org.apache.tika.pipes.fetcher.fs.FileSystemFetcher">
|
| 21 |
+
<name>fs1</name>
|
| 22 |
+
<basePath>/my/base/path1</basePath>
|
| 23 |
+
</fetcher>
|
| 24 |
+
<fetcher class="org.apache.tika.pipes.fetcher.fs.FileSystemFetcher">
|
| 25 |
+
<name>fs2</name>
|
| 26 |
+
</fetcher>
|
| 27 |
+
</fetchers>
|
| 28 |
+
</properties>
|
local-test-tika-full-01-vuln_6/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-full-01-vuln_6/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>
|