Kitxuuu commited on
Commit
590e892
·
verified ·
1 Parent(s): eff5797

Add files using upload-large-folder tool

Browse files
Files changed (20) hide show
  1. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-1986-parameterized.xml +38 -0
  2. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-2653-vowel-parser-ae.xml +26 -0
  3. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-866-valid.xml +22 -0
  4. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/brwNIMS_2014.dif +56 -0
  5. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/circles.svg +8 -0
  6. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/custom-mimetypes-badMinShouldMatch1.xml +37 -0
  7. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/custom-mimetypes-badMinShouldMatch2.xml +37 -0
  8. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/external-mimetypes.xml +22 -0
  9. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/htmlfragment +18 -0
  10. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/plotutils-bin-cgm-v3.cgm +0 -0
  11. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/stylesheet.xsl +9 -0
  12. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/test-difficult-rdf2.xml +44 -0
  13. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/test-long-comment.xml +21 -0
  14. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/test-utf16be.xml +0 -0
  15. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/test-utf16le.xml +0 -0
  16. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/test-utf8-bom.xml +2 -0
  17. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/test-utf8.xml +2 -0
  18. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/test.html +10 -0
  19. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/pipes/TIKA-3941.xml +30 -0
  20. local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/pipes/TIKA-4207-limit-bytes.xml +34 -0
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-1986-parameterized.xml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <properties>
19
+ <parsers>
20
+ <parser class="org.apache.tika.parser.DummyParameterizedParser">
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
+ <!-- for cross platform testing, can't include / in file -->
32
+ <param name="xfile" type="file">somefile</param>
33
+ <param name="xuri" type="uri">tika://customuri?param=value</param>
34
+ </params>
35
+ </parser>
36
+
37
+ </parsers>
38
+ </properties>
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-2653-vowel-parser-ae.xml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <properties>
19
+ <parsers>
20
+ <parser class="org.apache.tika.parser.mock.VowelParser">
21
+ <params>
22
+ <param name="vowel" type="string">ae</param>
23
+ </params>
24
+ </parser>
25
+ </parsers>
26
+ </properties>
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/config/TIKA-866-valid.xml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.EmptyParser"/>
21
+ </parsers>
22
+ </properties>
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/brwNIMS_2014.dif ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <DIF xmlns="http://gcmd.gsfc.nasa.gov/Aboutus/xml/dif/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://gcmd.gsfc.nasa.gov/Aboutus/xml/dif/ http://gcmd.gsfc.nasa.gov/Aboutus/xml/dif/dif_v9.8.4.xsd">
3
+ <Entry_ID>02a6301c-3ab3-11e4-8ee7-00c0f03d5b7c</Entry_ID>
4
+ <Entry_Title>Barrow Logger Data NIMS 2014</Entry_Title>
5
+
6
+ <Parameters>
7
+ <Category>EARTH SCIENCE</Category>
8
+ <Topic>BIOSPHERE</Topic>
9
+ <Term>ECOLOGICAL DYNAMICS</Term>
10
+ </Parameters>
11
+
12
+
13
+ <Spatial_Coverage>
14
+ <Southernmost_Latitude>70</Southernmost_Latitude>
15
+ <Northernmost_Latitude>72</Northernmost_Latitude>
16
+ <Westernmost_Longitude>-162</Westernmost_Longitude>
17
+ <Easternmost_Longitude>-150</Easternmost_Longitude>
18
+ </Spatial_Coverage>
19
+
20
+ <Data_Center>
21
+ <Data_Center_Name>
22
+ <Short_Name>ACADIS</Short_Name>
23
+ <Long_Name>Advanced Cooperative Arctic Data and Information Service</Long_Name>
24
+ </Data_Center_Name>
25
+ <Data_Center_URL>http://www.aoncadis.org/</Data_Center_URL>
26
+ <Personnel>
27
+ <Role>DATA CENTER CONTACT</Role>
28
+ <First_Name>ACADIS</First_Name>
29
+ <Last_Name>User Services</Last_Name>
30
+ <Contact_Address>
31
+ <Address>NCAR/CISL</Address>
32
+ <Address>P.O. Box 3000</Address>
33
+ <City>Boulder</City>
34
+ <Province_or_State>CO</Province_or_State>
35
+ <Postal_Code>80307</Postal_Code>
36
+ <Country>USA</Country>
37
+ </Contact_Address>
38
+ </Personnel>
39
+ </Data_Center>
40
+
41
+ <Summary>
42
+ <Abstract>Logger records from the Networked Info-mechanical Systems (NIMS), Transect length: ~50m The data was recorded using a CR3000 logger. The sensor trolley was equipped with instruments for recording the distance to vegetation canopy (SR50a Sonic Distance, Campbell Scientific), up- and downwelling short- and longwave radiation (CNR4 net radiometer, Kipp &amp; Zonen), air temperature and surface temperature (SI-111 IR radiometer, Apogee Instruments Inc.) and spectral reflection (Jaz Combo-2, Ocean Optics; GreenSeeker RT100 (505), NTech).</Abstract>
43
+ </Summary>
44
+
45
+ <Related_URL>
46
+ <URL_Content_Type>
47
+ <Type>GET DATA</Type>
48
+ </URL_Content_Type>
49
+ <URL>http://www.aoncadis.org/dataset/id/02a6301c-3ab3-11e4-8ee7-00c0f03d5b7c.html</URL>
50
+ <Description>Data Center top-level access page for this resource</Description>
51
+ </Related_URL>
52
+
53
+ <Metadata_Name>ACADIS IDN DIF</Metadata_Name>
54
+ <Metadata_Version>9.8.4</Metadata_Version>
55
+ <Last_DIF_Revision_Date>2015-02-05</Last_DIF_Revision_Date>
56
+ </DIF>
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/circles.svg ADDED
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/custom-mimetypes-badMinShouldMatch1.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
+ <!--
19
+ Description: This test XML file is used to test minShouldMatch
20
+ -->
21
+ <mime-info>
22
+
23
+
24
+ <mime-type type="hello/world-min-file">
25
+ <_comment>A "Hello World MinShouldMatch" file</_comment>
26
+ <magic priority="50">
27
+ <match minShouldMatch="5">
28
+ <match value="Hello" type="string" offset="0:20" />
29
+ <match value="Hallow" type="string" offset="0:20" />
30
+ <match value="World!" type="string" offset="0:20" />
31
+ <match value="Welt!" type="string" offset="0:20" />
32
+ </match>
33
+ </magic>
34
+ </mime-type>
35
+
36
+
37
+ </mime-info>
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/custom-mimetypes-badMinShouldMatch2.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
+ <!--
19
+ Description: This test XML file is used to test minShouldMatch
20
+ -->
21
+ <mime-info>
22
+
23
+
24
+ <mime-type type="hello/world-min-file">
25
+ <_comment>A "Hello World MinShouldMatch" file</_comment>
26
+ <magic priority="50">
27
+ <match minShouldMatch="-1">
28
+ <match value="Hello" type="string" offset="0:20" />
29
+ <match value="Hallow" type="string" offset="0:20" />
30
+ <match value="World!" type="string" offset="0:20" />
31
+ <match value="Welt!" type="string" offset="0:20" />
32
+ </match>
33
+ </magic>
34
+ </mime-type>
35
+
36
+
37
+ </mime-info>
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/external-mimetypes.xml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <mime-info>
19
+ <mime-type type="external/mime-type">
20
+ <glob pattern="*.external.mime.type" />
21
+ </mime-type>
22
+ </mime-info>
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/htmlfragment ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div id="leftcol">
2
+ <ul>
3
+ <li><a href="/mission/sec/sec.html"> Security and Information Sciences Home&nbsp;&rsaquo;</a> </li>
4
+ <li><a href="/mission/sec/publications/-publications.html">Publications&nbsp;&rsaquo;</a> </li>
5
+ <li><a href="/mission/sec/corpora/corpora.html">Corpora&nbsp;&rsaquo;</a> </li>
6
+ <li><a href="/mission/sec/softwaretools/tools.html">Software Tools&nbsp;&rsaquo;</a></li>
7
+ <li><a href="/mission/sec/CSO/CSO.html"> Systems and Operations&nbsp;&rsaquo;</a>
8
+ <ul>
9
+ <li><a href="/mission/sec/publications/-publications.html">Publications &rsaquo;</a></li>
10
+ <li><a href="/mission/sec/CSO/biographies/CSObios.html">Biographies&nbsp;&rsaquo;</a></li>
11
+ </ul>
12
+ </li>
13
+ <li><a href="/mission/sec/CST/CST.html"> Systems and Technology&nbsp;&rsaquo;</a> </li>
14
+ <li><a href="/mission/sec/CSA/CSA.html"> System Assessments&nbsp;&rsaquo;</a> </li>
15
+ <li><a href="/mission/sec/HLT/HLT.html">Human Language Technology&nbsp;&rsaquo;</a>
16
+ <li><a href="/mission/sec/computing/computing.html">Computing and Analytics&nbsp;&rsaquo;</a></li>
17
+ </ul>
18
+ </div>
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/plotutils-bin-cgm-v3.cgm ADDED
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/stylesheet.xsl ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3
+
4
+ <xsl:output method="xml" indent="yes"/>
5
+
6
+ <xsl:template match="/">
7
+ <test hello="world"/>
8
+ </xsl:template>
9
+ </xsl:stylesheet>
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/test-difficult-rdf2.xml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- This is the OWL 2 Namespace Document, sometimes
2
+ called the "owl.owl" file.
3
+
4
+ For some commentary about its creation, see
5
+ http://www.w3.org/2007/OWL/wiki/Owl2DotOwlDevel
6
+
7
+ This was created from the 16 Oct 2009 version of
8
+ that page, with the turtle-to-rdf/xml conversion
9
+ done by cwm, and the conversion to XML entity
10
+ references done by hand. The GRDDL triple and
11
+ namespace have also been added by hand
12
+
13
+ The real OWL 1 and OWL 2 namespace is:
14
+ http://www.w3.org/2002/07/owl#
15
+
16
+ -->
17
+ <!DOCTYPE rdf:RDF [
18
+
19
+ <!ENTITY location "http://www.w3.org/2002/07/owl" >
20
+ <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
21
+ <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
22
+ <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
23
+ <!ENTITY dc "http://purl.org/dc/elements/1.1/" >
24
+ <!ENTITY grddl "http://www.w3.org/2003/g/data-view#" >
25
+ <!ENTITY owl "&location;#" >
26
+
27
+ ]>
28
+ <rdf:RDF
29
+ xml:base ="&location;"
30
+ xmlns:rdf ="&rdf;"
31
+ xmlns:rdfs="&rdfs;"
32
+ xmlns:xsd = "&xsd;"
33
+ xmlns:owl ="&owl;"
34
+ xmlns:dc = "&dc;"
35
+ xmlns:grddl = "&grddl;"
36
+ >
37
+
38
+ <!--
39
+ TIKA-309: Mime type application/rdf+xml not correctly detected
40
+ Simplified test case based on the OWL 2 Namespace Document at
41
+ http://www.w3.org/2002/07/owl#
42
+ -->
43
+
44
+ </rdf:RDF>
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/test-long-comment.xml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="ISO-8859-1"?>
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
+ <?somepi blahblah test="ignore-me.xml" ?>
21
+ <test hello="world"/>
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/test-utf16be.xml ADDED
Binary file (126 Bytes). View file
 
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/test-utf16le.xml ADDED
Binary file (126 Bytes). View file
 
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/test-utf8-bom.xml ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <test hello="world"/>
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/test-utf8.xml ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <test hello="world"/>
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/mime/test.html ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
5
+ <title>Hello World</title>
6
+ </head>
7
+ <body>
8
+ <p>Hello World!<p/>
9
+ </body>
10
+ </html>
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/pipes/TIKA-3941.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
+ <autoDetectParserConfig>
20
+ <digesterFactory class="org.apache.tika.pipes.async.MockDigesterFactory">
21
+ <skipContainerDocument>false</skipContainerDocument>
22
+ </digesterFactory>
23
+ </autoDetectParserConfig>
24
+ <fetchers>
25
+ <fetcher class="org.apache.tika.pipes.fetcher.fs.FileSystemFetcher">
26
+ <name>fs</name>
27
+ <basePath>BASE_PATH</basePath>
28
+ </fetcher>
29
+ </fetchers>
30
+ </properties>
local-test-tika-delta-05/afc-tika/tika-core/src/test/resources/org/apache/tika/pipes/TIKA-4207-limit-bytes.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
+ <autoDetectParserConfig>
20
+ <digesterFactory class="org.apache.tika.pipes.async.MockDigesterFactory">
21
+ <skipContainerDocument>false</skipContainerDocument>
22
+ </digesterFactory>
23
+ <embeddedDocumentExtractorFactory class="org.apache.tika.extractor.RUnpackExtractorFactory">
24
+ <writeFileNameToContent>false</writeFileNameToContent>
25
+ <maxEmbeddedBytesForExtraction>10</maxEmbeddedBytesForExtraction>
26
+ </embeddedDocumentExtractorFactory>
27
+ </autoDetectParserConfig>
28
+ <fetchers>
29
+ <fetcher class="org.apache.tika.pipes.fetcher.fs.FileSystemFetcher">
30
+ <name>fs</name>
31
+ <basePath>BASE_PATH</basePath>
32
+ </fetcher>
33
+ </fetchers>
34
+ </properties>