Add files using upload-large-folder tool
Browse files- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-cad-module/pom.xml +73 -0
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-mail-commons/pom.xml +64 -0
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-xmp-commons/pom.xml +71 -0
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-tesseract-arbitrary.xml +30 -0
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1558-excludesub.xml +24 -0
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1702-translator-default.xml +24 -0
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1702-translator-empty.xml +20 -0
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1708-detector-composite.xml +25 -0
- local-test-tika-delta-02/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
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/embedded_then_npe.xml +36 -0
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/example.xml +51 -0
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/fake_oom.xml +25 -0
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/heavy_hang.xml +25 -0
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/null_pointer.xml +25 -0
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/null_pointer_no_msg.xml +25 -0
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/real_oom.xml +24 -0
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/sleep_interruptible.xml +25 -0
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/sleep_not_interruptible.xml +25 -0
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/system_exit.xml +25 -0
- local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/thread_interrupt.xml +25 -0
local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-cad-module/pom.xml
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 21 |
+
<parent>
|
| 22 |
+
<artifactId>tika-parsers-standard-modules</artifactId>
|
| 23 |
+
<groupId>org.apache.tika</groupId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
<modelVersion>4.0.0</modelVersion>
|
| 28 |
+
|
| 29 |
+
<artifactId>tika-parser-cad-module</artifactId>
|
| 30 |
+
<name>Apache Tika cad parser module</name>
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
<dependencies>
|
| 34 |
+
<dependency>
|
| 35 |
+
<groupId>${project.groupId}</groupId>
|
| 36 |
+
<artifactId>tika-parser-microsoft-module</artifactId>
|
| 37 |
+
<version>${project.version}</version>
|
| 38 |
+
</dependency>
|
| 39 |
+
<dependency>
|
| 40 |
+
<groupId>com.fasterxml.jackson.core</groupId>
|
| 41 |
+
<artifactId>jackson-core</artifactId>
|
| 42 |
+
</dependency>
|
| 43 |
+
<dependency>
|
| 44 |
+
<groupId>com.fasterxml.jackson.core</groupId>
|
| 45 |
+
<artifactId>jackson-databind</artifactId>
|
| 46 |
+
</dependency>
|
| 47 |
+
</dependencies>
|
| 48 |
+
<build>
|
| 49 |
+
<plugins>
|
| 50 |
+
<plugin>
|
| 51 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 52 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 53 |
+
<configuration>
|
| 54 |
+
<archive>
|
| 55 |
+
<manifestEntries>
|
| 56 |
+
<Automatic-Module-Name>org.apache.tika.parser.code</Automatic-Module-Name>
|
| 57 |
+
</manifestEntries>
|
| 58 |
+
</archive>
|
| 59 |
+
</configuration>
|
| 60 |
+
<executions>
|
| 61 |
+
<execution>
|
| 62 |
+
<goals>
|
| 63 |
+
<goal>test-jar</goal>
|
| 64 |
+
</goals>
|
| 65 |
+
</execution>
|
| 66 |
+
</executions>
|
| 67 |
+
</plugin>
|
| 68 |
+
</plugins>
|
| 69 |
+
</build>
|
| 70 |
+
<scm>
|
| 71 |
+
<tag>3.0.0-rc1</tag>
|
| 72 |
+
</scm>
|
| 73 |
+
</project>
|
local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-mail-commons/pom.xml
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 21 |
+
<parent>
|
| 22 |
+
<artifactId>tika-parsers-standard-modules</artifactId>
|
| 23 |
+
<groupId>org.apache.tika</groupId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
|
| 28 |
+
<modelVersion>4.0.0</modelVersion>
|
| 29 |
+
|
| 30 |
+
<artifactId>tika-parser-mail-commons</artifactId>
|
| 31 |
+
<name>Apache Tika mail commons</name>
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
<dependencies>
|
| 35 |
+
<dependency>
|
| 36 |
+
<groupId>org.apache.james</groupId>
|
| 37 |
+
<artifactId>apache-mime4j-core</artifactId>
|
| 38 |
+
<version>${mime4j.version}</version>
|
| 39 |
+
</dependency>
|
| 40 |
+
<dependency>
|
| 41 |
+
<groupId>org.apache.james</groupId>
|
| 42 |
+
<artifactId>apache-mime4j-dom</artifactId>
|
| 43 |
+
<version>${mime4j.version}</version>
|
| 44 |
+
</dependency>
|
| 45 |
+
</dependencies>
|
| 46 |
+
<build>
|
| 47 |
+
<plugins>
|
| 48 |
+
<plugin>
|
| 49 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 50 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 51 |
+
<configuration>
|
| 52 |
+
<archive>
|
| 53 |
+
<manifestEntries>
|
| 54 |
+
<Automatic-Module-Name>org.apache.tika.parser.mail.commons</Automatic-Module-Name>
|
| 55 |
+
</manifestEntries>
|
| 56 |
+
</archive>
|
| 57 |
+
</configuration>
|
| 58 |
+
</plugin>
|
| 59 |
+
</plugins>
|
| 60 |
+
</build>
|
| 61 |
+
<scm>
|
| 62 |
+
<tag>3.0.0-rc1</tag>
|
| 63 |
+
</scm>
|
| 64 |
+
</project>
|
local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-xmp-commons/pom.xml
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 21 |
+
<parent>
|
| 22 |
+
<artifactId>tika-parsers-standard-modules</artifactId>
|
| 23 |
+
<groupId>org.apache.tika</groupId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
<modelVersion>4.0.0</modelVersion>
|
| 28 |
+
|
| 29 |
+
<artifactId>tika-parser-xmp-commons</artifactId>
|
| 30 |
+
<name>Apache Tika XMP commons</name>
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
<dependencies>
|
| 34 |
+
<dependency>
|
| 35 |
+
<groupId>org.apache.pdfbox</groupId>
|
| 36 |
+
<artifactId>jempbox</artifactId>
|
| 37 |
+
<version>${jempbox.version}</version>
|
| 38 |
+
</dependency>
|
| 39 |
+
<dependency>
|
| 40 |
+
<groupId>org.apache.pdfbox</groupId>
|
| 41 |
+
<artifactId>xmpbox</artifactId>
|
| 42 |
+
<version>${pdfbox.version}</version>
|
| 43 |
+
</dependency>
|
| 44 |
+
</dependencies>
|
| 45 |
+
<build>
|
| 46 |
+
<plugins>
|
| 47 |
+
<plugin>
|
| 48 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 49 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 50 |
+
<configuration>
|
| 51 |
+
<archive>
|
| 52 |
+
<manifestEntries>
|
| 53 |
+
<Automatic-Module-Name>org.apache.tika.parser.xmp</Automatic-Module-Name>
|
| 54 |
+
</manifestEntries>
|
| 55 |
+
</archive>
|
| 56 |
+
</configuration>
|
| 57 |
+
<executions>
|
| 58 |
+
<execution>
|
| 59 |
+
<goals>
|
| 60 |
+
<goal>test-jar</goal>
|
| 61 |
+
</goals>
|
| 62 |
+
</execution>
|
| 63 |
+
</executions>
|
| 64 |
+
</plugin>
|
| 65 |
+
</plugins>
|
| 66 |
+
</build>
|
| 67 |
+
|
| 68 |
+
<scm>
|
| 69 |
+
<tag>3.0.0-rc1</tag>
|
| 70 |
+
</scm>
|
| 71 |
+
</project>
|
local-test-tika-delta-02/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-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1558-excludesub.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.DefaultParser">
|
| 21 |
+
<parser-exclude class="org.apache.tika.parser.xml.XMLParser"/>
|
| 22 |
+
</parser>
|
| 23 |
+
</parsers>
|
| 24 |
+
</properties>
|
local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1702-translator-default.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 |
+
<!-- Explicitly request default parsers and translators -->
|
| 20 |
+
<parsers/>
|
| 21 |
+
<detectors/>
|
| 22 |
+
<!-- Explicitly request the default Translator -->
|
| 23 |
+
<translator class="org.apache.tika.language.translate.DefaultTranslator"/>
|
| 24 |
+
</properties>
|
local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1702-translator-empty.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 |
+
<translator class="org.apache.tika.language.translate.EmptyTranslator"/>
|
| 20 |
+
</properties>
|
local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1708-detector-composite.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 |
+
<parsers/>
|
| 20 |
+
<detectors>
|
| 21 |
+
<detector class="org.apache.tika.detect.microsoft.POIFSContainerDetector"/>
|
| 22 |
+
<detector class="org.apache.tika.mime.MimeTypes"/>
|
| 23 |
+
</detectors>
|
| 24 |
+
<translator class="org.apache.tika.language.translate.DefaultTranslator"/>
|
| 25 |
+
</properties>
|
local-test-tika-delta-02/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-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/embedded_then_npe.xml
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8" ?>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 5 |
+
or more contributor license agreements. See the NOTICE file
|
| 6 |
+
distributed with this work for additional information
|
| 7 |
+
regarding copyright ownership. The ASF licenses this file
|
| 8 |
+
to you under the Apache License, Version 2.0 (the
|
| 9 |
+
"License"); you may not use this file except in compliance
|
| 10 |
+
with the License. You may obtain a copy of the License at
|
| 11 |
+
|
| 12 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 13 |
+
|
| 14 |
+
Unless required by applicable law or agreed to in writing,
|
| 15 |
+
software distributed under the License is distributed on an
|
| 16 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 17 |
+
KIND, either express or implied. See the License for the
|
| 18 |
+
specific language governing permissions and limitations
|
| 19 |
+
under the License.
|
| 20 |
+
-->
|
| 21 |
+
|
| 22 |
+
<mock>
|
| 23 |
+
|
| 24 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 25 |
+
<write element="p">main_content</write>
|
| 26 |
+
<!-- auto detection wasn't working for some reason; add content-type as
|
| 27 |
+
is to trigger mock on the embedded -->
|
| 28 |
+
<embedded filename="embed1.xml" content-type="application/mock+xml">
|
| 29 |
+
<mock>
|
| 30 |
+
<metadata action="add" name="author">embeddedAuthor</metadata>
|
| 31 |
+
<write element="p">some_embedded_content</write>
|
| 32 |
+
</mock>
|
| 33 |
+
</embedded>
|
| 34 |
+
<throw class="java.lang.NullPointerException">another null pointer exception</throw>
|
| 35 |
+
|
| 36 |
+
</mock>
|
local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/example.xml
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8" ?>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 5 |
+
or more contributor license agreements. See the NOTICE file
|
| 6 |
+
distributed with this work for additional information
|
| 7 |
+
regarding copyright ownership. The ASF licenses this file
|
| 8 |
+
to you under the Apache License, Version 2.0 (the
|
| 9 |
+
"License"); you may not use this file except in compliance
|
| 10 |
+
with the License. You may obtain a copy of the License at
|
| 11 |
+
|
| 12 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 13 |
+
|
| 14 |
+
Unless required by applicable law or agreed to in writing,
|
| 15 |
+
software distributed under the License is distributed on an
|
| 16 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 17 |
+
KIND, either express or implied. See the License for the
|
| 18 |
+
specific language governing permissions and limitations
|
| 19 |
+
under the License.
|
| 20 |
+
-->
|
| 21 |
+
|
| 22 |
+
<mock>
|
| 23 |
+
<!-- this file offers all of the options as documentation
|
| 24 |
+
Parsing should stop at an IOException, of course
|
| 25 |
+
-->
|
| 26 |
+
|
| 27 |
+
<!-- action can be "add" or "set" -->
|
| 28 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 29 |
+
<!-- element is the name of the sax event to write, p=paragraph
|
| 30 |
+
if the element is not specified, the default is <p> -->
|
| 31 |
+
<write element="p">some content</write>
|
| 32 |
+
<!-- write something to System.out -->
|
| 33 |
+
<print_out>writing to System.out</print_out>
|
| 34 |
+
<!-- write something to System.err -->
|
| 35 |
+
<print_err>writing to System.err</print_err>
|
| 36 |
+
<!-- hang
|
| 37 |
+
millis: how many milliseconds to pause. The actual hang time will probably
|
| 38 |
+
be a bit longer than the value specified. heavy: whether or not the hang should do something computationally expensive.
|
| 39 |
+
If the value is false, this just does a Thread.sleep(millis).
|
| 40 |
+
This attribute is optional, with default of heavy=false.
|
| 41 |
+
pulse_millis: (required if "heavy" is true), how often to check to see
|
| 42 |
+
whether the thread was interrupted or that the total hang time exceeded the millis
|
| 43 |
+
interruptible: whether or not the parser will check to see if its thread
|
| 44 |
+
has been interrupted; this attribute is optional with default of true
|
| 45 |
+
-->
|
| 46 |
+
<hang millis="100" heavy="true" pulse_millis="10" interruptible="true" />
|
| 47 |
+
<!-- throw an exception or error; optionally include a message or not -->
|
| 48 |
+
<throw class="java.io.IOException">not another IOException</throw>
|
| 49 |
+
<!-- perform a genuine OutOfMemoryError -->
|
| 50 |
+
<oom/>
|
| 51 |
+
</mock>
|
local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/fake_oom.xml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8" ?>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 5 |
+
or more contributor license agreements. See the NOTICE file
|
| 6 |
+
distributed with this work for additional information
|
| 7 |
+
regarding copyright ownership. The ASF licenses this file
|
| 8 |
+
to you under the Apache License, Version 2.0 (the
|
| 9 |
+
"License"); you may not use this file except in compliance
|
| 10 |
+
with the License. You may obtain a copy of the License at
|
| 11 |
+
|
| 12 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 13 |
+
|
| 14 |
+
Unless required by applicable law or agreed to in writing,
|
| 15 |
+
software distributed under the License is distributed on an
|
| 16 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 17 |
+
KIND, either express or implied. See the License for the
|
| 18 |
+
specific language governing permissions and limitations
|
| 19 |
+
under the License.
|
| 20 |
+
-->
|
| 21 |
+
|
| 22 |
+
<mock>
|
| 23 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 24 |
+
<throw class="java.lang.OutOfMemoryError">not another oom</throw>
|
| 25 |
+
</mock>
|
local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/heavy_hang.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
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<hang millis="3000" heavy="true" pulse_millis="100" />
|
| 25 |
+
</mock>
|
local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/null_pointer.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
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<throw class="java.lang.NullPointerException">another null pointer exception</throw>
|
| 25 |
+
</mock>
|
local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/null_pointer_no_msg.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
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<throw class="java.lang.NullPointerException"/>
|
| 25 |
+
</mock>
|
local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/real_oom.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
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<oom/>
|
| 24 |
+
</mock>
|
local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/sleep_interruptible.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
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<hang millis="3000" heavy="false" interruptible="true" />
|
| 25 |
+
</mock>
|
local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/sleep_not_interruptible.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
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<hang millis="3000" heavy="false" interruptible="false" />
|
| 25 |
+
</mock>
|
local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/system_exit.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
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<system_exit />
|
| 25 |
+
</mock>
|
local-test-tika-delta-02/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/thread_interrupt.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
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<thread_interrupt />
|
| 25 |
+
</mock>
|