Kitxuuu commited on
Commit
979f66c
·
verified ·
1 Parent(s): b1f4f2a

Add files using upload-large-folder tool

Browse files
Files changed (20) hide show
  1. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-digests-skip-container.xml +33 -0
  2. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-digests.xml +32 -0
  3. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-geo-point-metadata-filter.xml +24 -0
  4. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-multiple-gz.xml +29 -0
  5. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-no-names.xml +29 -0
  6. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-tesseract-arbitrary.xml +30 -0
  7. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-upcasing-custom-handler-decorator.xml +27 -0
  8. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-with-names.xml +29 -0
  9. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1708-detector-default.xml +26 -0
  10. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-exclude-encoding-detector-default.xml +29 -0
  11. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-no-icu4j-encoding-detector.xml +27 -0
  12. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-non-detecting-params.xml +29 -0
  13. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-parameterize-encoding-detector.xml +30 -0
  14. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/parser/TIKA-3137-include.xml +34 -0
  15. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/test-columnar.csv +12 -0
  16. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testDSAKEY.pem +15 -0
  17. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testECKEY.pem +6 -0
  18. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testLotusEml.eml +71 -0
  19. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testPICT.pct +0 -0
  20. local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testPKCS17Sig-v2.xml.p7m +0 -0
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-digests-skip-container.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
+ <parsers>
20
+ <parser class="org.apache.tika.parser.DefaultParser"/>
21
+ </parsers>
22
+ <autoDetectParserConfig>
23
+ <spoolToDisk>1000000</spoolToDisk>
24
+ <outputThreshold>1000000</outputThreshold>
25
+ <digesterFactory
26
+ class="org.apache.tika.parser.digestutils.CommonsDigesterFactory">
27
+ <markLimit>100000</markLimit>
28
+ <algorithmString>sha256:32,md5</algorithmString>
29
+ <skipContainerDocument>true</skipContainerDocument>
30
+ </digesterFactory>
31
+ <throwOnZeroBytes>false</throwOnZeroBytes>
32
+ </autoDetectParserConfig>
33
+ </properties>
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-digests.xml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.DefaultParser"/>
21
+ </parsers>
22
+ <autoDetectParserConfig>
23
+ <spoolToDisk>1000000</spoolToDisk>
24
+ <outputThreshold>1000000</outputThreshold>
25
+ <digesterFactory
26
+ class="org.apache.tika.parser.digestutils.CommonsDigesterFactory">
27
+ <markLimit>100000</markLimit>
28
+ <algorithmString>sha256:32,md5</algorithmString>
29
+ </digesterFactory>
30
+ <throwOnZeroBytes>false</throwOnZeroBytes>
31
+ </autoDetectParserConfig>
32
+ </properties>
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-geo-point-metadata-filter.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
+ <metadataFilters>
20
+ <metadataFilter class="org.apache.tika.metadata.filter.GeoPointMetadataFilter">
21
+ <geoPointFieldName>myGeoPoint</geoPointFieldName>
22
+ </metadataFilter>
23
+ </metadataFilters>
24
+ </properties>
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-multiple-gz.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 class="org.apache.tika.parser.DefaultParser">
21
+ <parser-exclude class="org.apache.tika.parser.pkg.CompressorParser"/>
22
+ </parser>
23
+ <parser class="org.apache.tika.parser.pkg.CompressorParser">
24
+ <params>
25
+ <param name="decompressConcatenated" type="bool">true</param>
26
+ </params>
27
+ </parser>
28
+ </parsers>
29
+ </properties>
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-no-names.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 class="org.apache.tika.parser.DefaultParser"/>
21
+ </parsers>
22
+ <autoDetectParserConfig>
23
+ <spoolToDisk>123450</spoolToDisk>
24
+ <outputThreshold>678900</outputThreshold>
25
+ <embeddedDocumentExtractorFactory class="org.apache.tika.extractor.RUnpackExtractorFactory">
26
+ <writeFileNameToContent>false</writeFileNameToContent>
27
+ </embeddedDocumentExtractorFactory>
28
+ </autoDetectParserConfig>
29
+ </properties>
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-tesseract-arbitrary.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
+ <parsers>
20
+ <parser class="org.apache.tika.parser.ocr.TesseractOCRParser">
21
+ <params>
22
+ <!-- space delimited key-value pairs -->
23
+ <param name="otherTesseractSettings" type="list">
24
+ <string>textord_initialx_ile 0.75</string>
25
+ <string>textord_noise_hfract 0.15625</string>
26
+ </param>
27
+ </params>
28
+ </parser>
29
+ </parsers>
30
+ </properties>
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-upcasing-custom-handler-decorator.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
+ <parsers>
20
+ <parser class="org.apache.tika.parser.DefaultParser"/>
21
+ </parsers>
22
+ <autoDetectParserConfig>
23
+ <spoolToDisk>123450</spoolToDisk>
24
+ <outputThreshold>678900</outputThreshold>
25
+ <contentHandlerDecoratorFactory class="org.apache.tika.sax.UpcasingContentHandlerDecoratorFactory"/>
26
+ </autoDetectParserConfig>
27
+ </properties>
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-with-names.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 class="org.apache.tika.parser.DefaultParser"/>
21
+ </parsers>
22
+ <autoDetectParserConfig>
23
+ <spoolToDisk>123450</spoolToDisk>
24
+ <outputThreshold>678900</outputThreshold>
25
+ <embeddedDocumentExtractorFactory class="org.apache.tika.extractor.RUnpackExtractorFactory">
26
+ <writeFileNameToContent>true</writeFileNameToContent>
27
+ </embeddedDocumentExtractorFactory>
28
+ </autoDetectParserConfig>
29
+ </properties>
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1708-detector-default.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
+ <detectors>
21
+ <detector class="org.apache.tika.detect.DefaultDetector">
22
+ <detector-exclude class="org.apache.tika.detect.zip.DefaultZipContainerDetector"/>
23
+ </detector>
24
+ </detectors>
25
+ <translator class="org.apache.tika.language.translate.DefaultTranslator"/>
26
+ </properties>
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-exclude-encoding-detector-default.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
+ <!-- Explicitly request default parsers -->
20
+ <parsers/>
21
+ <encodingDetectors>
22
+ <!-- All detectors except HtmlEncodingDetector -->
23
+ <encodingDetector class="org.apache.tika.detect.DefaultEncodingDetector">
24
+ <encodingDetector-exclude class="org.apache.tika.parser.html.HtmlEncodingDetector"/>
25
+ </encodingDetector>
26
+ <!-- One other detector, to check ordering -->
27
+ <encodingDetector class="org.apache.tika.detect.NonDetectingEncodingDetector"/>
28
+ </encodingDetectors>
29
+ </properties>
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-no-icu4j-encoding-detector.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
+ <!-- Explicitly request default parsers -->
20
+ <parsers/>
21
+ <encodingDetectors>
22
+ <!-- All detectors except Icu4jEncodingDetector-->
23
+ <encodingDetector class="org.apache.tika.detect.DefaultEncodingDetector">
24
+ <encodingDetector-exclude class="org.apache.tika.parser.txt.Icu4jEncodingDetector"/>
25
+ </encodingDetector>
26
+ </encodingDetectors>
27
+ </properties>
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-non-detecting-params.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
+ <!-- Explicitly request default parsers -->
20
+ <parsers/>
21
+ <encodingDetectors>
22
+ <!-- One other detector, to check ordering -->
23
+ <encodingDetector class="org.apache.tika.detect.NonDetectingEncodingDetector">
24
+ <params>
25
+ <param name="charset" type="string">UTF-16LE</param>
26
+ </params>
27
+ </encodingDetector>
28
+ </encodingDetectors>
29
+ </properties>
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-parameterize-encoding-detector.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
+ <!-- Explicitly request default parsers -->
20
+ <parsers/>
21
+ <encodingDetectors>
22
+ <!-- One other detector, to check ordering -->
23
+ <encodingDetector class="org.apache.tika.parser.txt.Icu4jEncodingDetector">
24
+ <params>
25
+ <param name="stripMarkup" type="bool">true</param>
26
+ </params>
27
+ </encodingDetector>
28
+ <encodingDetector class="org.apache.tika.detect.NonDetectingEncodingDetector"/>
29
+ </encodingDetectors>
30
+ </properties>
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/parser/TIKA-3137-include.xml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <include>
22
+ <field>X-TIKA:content</field>
23
+ <field>extended-properties:Application</field>
24
+ <field>Content-Type</field>
25
+ </include>
26
+ </metadataFilter>
27
+ <metadataFilter class="org.apache.tika.metadata.filter.ClearByMimeMetadataFilter">
28
+ <mimes>
29
+ <mime>image/emf</mime>
30
+ <mime>text/plain</mime>
31
+ </mimes>
32
+ </metadataFilter>
33
+ </metadataFilters>
34
+ </properties>
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/test-columnar.csv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "Record Number","Square of the Record Number","Description of the Row","Percent Done","Percent Increment","date","datetime","time"
2
+ 0,0,This is row 0 of 10,0%,M,01-01-1960,01JAN60:00:00:01,0:00:01
3
+ 1,1,This is row 1 of 10,10%,0.0%,02-01-1960,01JAN60:00:00:10,0:00:03
4
+ 2,4,This is row 2 of 10,20%,50.0%,17-01-1960,01JAN60:00:01:40,0:00:09
5
+ 3,9,This is row 3 of 10,30%,66.7%,22-03-1960,01JAN60:00:16:40,0:00:27
6
+ 4,16,This is row 4 of 10,40%,75.0%,13-09-1960,01JAN60:02:46:40,0:01:21
7
+ 5,25,This is row 5 of 10,50%,80.0%,17-09-1961,02JAN60:03:46:40,0:04:03
8
+ 6,36,This is row 6 of 10,60%,83.3%,20-07-1963,12JAN60:13:46:40,0:12:09
9
+ 7,49,This is row 7 of 10,70%,85.7%,29-07-1966,25APR60:17:46:40,0:36:27
10
+ 8,64,This is row 8 of 10,80%,87.5%,20-03-1971,03MAR63:09:46:40,1:49:21
11
+ 9,81,This is row 9 of 10,90%,88.9%,18-12-1977,09SEP91:01:46:40,5:28:03
12
+ 10,100,This is row 10 of 10,100%,90.0%,19-05-1987,19NOV76:17:46:40,16:24:09
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testDSAKEY.pem ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ -----BEGIN PRIVATE KEY-----
2
+ MIICTQIBADCCAi0GByqGSM44BAEwggIgAoIBAQDRXU0Be5k0MI3skB6K0PhyptBh
3
+ WSJ1l+NVSOX7wpXC37upcH7a0ZCfU9RyWqcX9dQFw+TWjlH2ANll/FO4osXkkJVY
4
+ oylJ+p0599v6WRPBS/yQpKuvfqEm5HA78J8ILhnyCCw8hqdlrADBOMGf7tGF5Agw
5
+ hEZJdtHjYRzPWzY0eogptg3wQPd/wO6ZztdW/T9wPK1RDTEhraQwuJTp1tldWjkm
6
+ KutogVR327yAImJ7jhevM6ayCQFybT+mI3h48ixgkewPydU7hUIpEWtXjnwxLecu
7
+ P6hsggyuykxtPFlcK4xb/XKjN4AVEfFA6CJUrkk+FSi+RQfupCraeUXSCS3DAhUA
8
+ xkpKBq0v1k5JA/XlzNFVYgPqah8CggEAWhpzc9y5nYRz/uADJ2DBsk9ho3MovK9i
9
+ FGZyxwD6L66Gf+KqPglRABKa2vfkAVIhzysyaMB7sN0WhGFf9SX2gGnH48YoJHtD
10
+ eNNe8Izd1blIcg71lyT4HLCJDmURTVVQIxzzm97BpW5cYjEAFJAWXQ4lqqJzqnpv
11
+ HrXs4ljAq12tbaGIwBgY5G2f+R2NhKpbdDut423M3CCfM8XnxXlZiHV5x9BvjOWm
12
+ uw2mrsmZI1k2blr+lezA4m6fr9t4iwtDC+0cIpfuAC3/7FSaTcKC7ubMh1cyv/kV
13
+ 6AoWtBXCCkctGNsQIJ0GibPKJZ7E9JoOPBwB16fOTknbXtxBF8klsQQXAhUAwFDM
14
+ 4JZXXO/04oTAZw7IMqVCOLE=
15
+ -----END PRIVATE KEY-----
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testECKEY.pem ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ -----BEGIN PRIVATE KEY-----
2
+ MIG2AgEAMBAGByqGSM49AgEGBSuBBAAiBIGeMIGbAgEBBDC/CFlieW48GC1RB2Nh
3
+ 19wlRZO4QNAVsmttUmwXh46i9dWSs1hnaENPcn9b0kPtFQShZANiAATd5hKUV7K/
4
+ sTuBHS1FDOVqXrKOBp7t+tRZTaOV3/gkKyXSfzDRGxVIJR/hL0c5f7A7PzC994yV
5
+ JvHbi1XtfeaSWZojKI/4Dxvcy8vpL2Cwf4+jpWLDpF3zAP7W9CwMAjE=
6
+ -----END PRIVATE KEY-----
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testLotusEml.eml ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ X-Notes-Item: CN=XXXX/OU=XX/OU=XXXX/O=XXX/C=XX;
2
+ flags=44; name=ForwardedFrom
3
+ X-Notes-Item: Thu, 4 Oct 2012 13:01:56 +0200;
4
+ type=400; name=ForwardedDate
5
+ X-Notes-Item: Thu, 4 Oct 2012 13:02:39 +0200;
6
+ type=400; name=OriginalModTime
7
+ X-Notes-Item: .;
8
+ name=$StorageTo
9
+ X-Notes-Item: 62AEA923:7CEE804A-C1257A8D:003C970D;
10
+ type=4; name=$Orig
11
+ X-Notes-Item: 2031619;
12
+ name=MIMEMailHeaderCharset
13
+ MIME-Version: 1.0
14
+ X-Mailer: Lotus Notes Release 8.5.3 September 15, 2011
15
+ Message-ID: <OF62AEA923.7CEE804A-ONC1257A8D.003C970D-C1257A8D.003CAB24@LocalDomain>
16
+ Date: Thu, 4 Oct 2012 13:02:39 +0200
17
+ X-Notes-Item: 0;
18
+ name=MAILOPTIONS
19
+ X-Notes-Item: 1;
20
+ name=SaveOptions
21
+ X-Notes-Item: Memo;
22
+ name=Form
23
+ From: XXX.XXX@XXXX.de
24
+ X-Notes-Item: CN=XXXX/OU=XX/OU=XXXX/O=XXX/C=XX;
25
+ name=AltFrom
26
+ X-Notes-Item: StdNotesLtr25;
27
+ name=Logo
28
+ X-Notes-Item: StdNotesLtr25;
29
+ name=dLogo
30
+ X-Notes-Item: True;
31
+ name=useApplet
32
+ X-Notes-Item: 1;
33
+ name=DefaultMailSaveOptions
34
+ X-Notes-Item: ;
35
+ name=Query_String
36
+ X-Notes-Item: 1;
37
+ name=ExpandPersonalGroups
38
+ To: XXXX@alfresco.com
39
+ X-Notes-Item: ;
40
+ flags=44; name=INetCopyTo
41
+ X-Notes-Item: ;
42
+ flags=44; name=INetBlindCopyTo
43
+ X-Notes-Item: ;
44
+ name=tmpImp
45
+ X-Notes-Item: ;
46
+ name=Sign
47
+ X-Notes-Item: ;
48
+ name=Encrypt
49
+ X-Notes-Item: ;
50
+ name=tmpClassification
51
+ X-Notes-Item: ;
52
+ name=SetClassification
53
+ X-Notes-Item: 1;
54
+ name=$NoteHasNativeMIME
55
+ X-MIMETrack: Serialize by Notes Client on XXXX(Release
56
+ 8.5.3|September 15, 2011) at 25.10.2012 12:14:50
57
+ Content-type: multipart/related;
58
+ Boundary="0__=4EBBF01EDFAF119D8f9e8a93df938690918c4EBBF01EDFAF119D"
59
+ Content-Disposition: inline
60
+
61
+ --0__=4EBBF01EDFAF119D8f9e8a93df938690918c4EBBF01EDFAF119D
62
+ Content-type: text/html; charset=ISO-8859-1
63
+ Content-Disposition: inline
64
+ Content-transfer-encoding: quoted-printable
65
+
66
+ <html><body>
67
+ Message body
68
+ </body></html>=
69
+
70
+ --0__=4EBBF01EDFAF119D8f9e8a93df938690918c4EBBF01EDFAF119D--
71
+
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testPICT.pct ADDED
local-test-tika-delta-05/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testPKCS17Sig-v2.xml.p7m ADDED
Binary file (9.68 kB). View file