Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testKML.kml URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testKML.kml?rev=1722027&view=auto ============================================================================== --- tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testKML.kml (added) +++ tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testKML.kml Mon Dec 28 23:10:16 2015 @@ -0,0 +1,917 @@ +<?xml version="1.0" encoding="UTF-8"?> +<kml xmlns="http://www.opengis.net/kml/2.2"> + <!-- Provided by Google as part of their KML Documentation --> + <!-- Available at https://developers.google.com/kml/documentation/KML_Samples.kml --> + <Document> + <name>KML Samples</name> + <open>1</open> + <description>Unleash your creativity with the help of these examples!</description> + <Style id="downArrowIcon"> + <IconStyle> + <Icon> + <href>http://maps.google.com/mapfiles/kml/pal4/icon28.png</href> + </Icon> + </IconStyle> + </Style> + <Style id="globeIcon"> + <IconStyle> + <Icon> + <href>http://maps.google.com/mapfiles/kml/pal3/icon19.png</href> + </Icon> + </IconStyle> + <LineStyle> + <width>2</width> + </LineStyle> + </Style> + <Style id="transPurpleLineGreenPoly"> + <LineStyle> + <color>7fff00ff</color> + <width>4</width> + </LineStyle> + <PolyStyle> + <color>7f00ff00</color> + </PolyStyle> + </Style> + <Style id="yellowLineGreenPoly"> + <LineStyle> + <color>7f00ffff</color> + <width>4</width> + </LineStyle> + <PolyStyle> + <color>7f00ff00</color> + </PolyStyle> + </Style> + <Style id="thickBlackLine"> + <LineStyle> + <color>87000000</color> + <width>10</width> + </LineStyle> + </Style> + <Style id="redLineBluePoly"> + <LineStyle> + <color>ff0000ff</color> + </LineStyle> + <PolyStyle> + <color>ffff0000</color> + </PolyStyle> + </Style> + <Style id="blueLineRedPoly"> + <LineStyle> + <color>ffff0000</color> + </LineStyle> + <PolyStyle> + <color>ff0000ff</color> + </PolyStyle> + </Style> + <Style id="transRedPoly"> + <LineStyle> + <width>1.5</width> + </LineStyle> + <PolyStyle> + <color>7d0000ff</color> + </PolyStyle> + </Style> + <Style id="transBluePoly"> + <LineStyle> + <width>1.5</width> + </LineStyle> + <PolyStyle> + <color>7dff0000</color> + </PolyStyle> + </Style> + <Style id="transGreenPoly"> + <LineStyle> + <width>1.5</width> + </LineStyle> + <PolyStyle> + <color>7d00ff00</color> + </PolyStyle> + </Style> + <Style id="transYellowPoly"> + <LineStyle> + <width>1.5</width> + </LineStyle> + <PolyStyle> + <color>7d00ffff</color> + </PolyStyle> + </Style> + <Style id="noDrivingDirections"> + <BalloonStyle> + <text><![CDATA[ + <b>$[name]</b> + <br /><br /> + $[description] + ]]></text> + </BalloonStyle> + </Style> + <Folder> + <name>Placemarks</name> + <description>These are just some of the different kinds of placemarks with + which you can mark your favorite places</description> + <LookAt> + <longitude>-122.0839597145766</longitude> + <latitude>37.42222904525232</latitude> + <altitude>0</altitude> + <heading>-148.4122922628044</heading> + <tilt>40.5575073395506</tilt> + <range>500.6566641072245</range> + </LookAt> + <Placemark> + <name>Simple placemark</name> + <description>Attached to the ground. Intelligently places itself at the + height of the underlying terrain.</description> + <Point> + <coordinates>-122.0822035425683,37.42228990140251,0</coordinates> + </Point> + </Placemark> + <Placemark> + <name>Floating placemark</name> + <visibility>0</visibility> + <description>Floats a defined distance above the ground.</description> + <LookAt> + <longitude>-122.0839597145766</longitude> + <latitude>37.42222904525232</latitude> + <altitude>0</altitude> + <heading>-148.4122922628044</heading> + <tilt>40.5575073395506</tilt> + <range>500.6566641072245</range> + </LookAt> + <styleUrl>#downArrowIcon</styleUrl> + <Point> + <altitudeMode>relativeToGround</altitudeMode> + <coordinates>-122.084075,37.4220033612141,50</coordinates> + </Point> + </Placemark> + <Placemark> + <name>Extruded placemark</name> + <visibility>0</visibility> + <description>Tethered to the ground by a customizable + "tail"</description> + <LookAt> + <longitude>-122.0845787421525</longitude> + <latitude>37.42215078737763</latitude> + <altitude>0</altitude> + <heading>-148.4126684946234</heading> + <tilt>40.55750733918048</tilt> + <range>365.2646606980322</range> + </LookAt> + <styleUrl>#globeIcon</styleUrl> + <Point> + <extrude>1</extrude> + <altitudeMode>relativeToGround</altitudeMode> + <coordinates>-122.0857667006183,37.42156927867553,50</coordinates> + </Point> + </Placemark> + </Folder> + <Folder> + <name>Styles and Markup</name> + <visibility>0</visibility> + <description>With KML it is easy to create rich, descriptive markup to + annotate and enrich your placemarks</description> + <LookAt> + <longitude>-122.0845787422371</longitude> + <latitude>37.42215078726837</latitude> + <altitude>0</altitude> + <heading>-148.4126777488172</heading> + <tilt>40.55750733930874</tilt> + <range>365.2646826292919</range> + </LookAt> + <styleUrl>#noDrivingDirections</styleUrl> + <Document> + <name>Highlighted Icon</name> + <visibility>0</visibility> + <description>Place your mouse over the icon to see it display the new + icon</description> + <LookAt> + <longitude>-122.0856552124024</longitude> + <latitude>37.4224281311035</latitude> + <altitude>0</altitude> + <heading>0</heading> + <tilt>0</tilt> + <range>265.8520424250024</range> + </LookAt> + <Style id="highlightPlacemark"> + <IconStyle> + <Icon> + <href>http://maps.google.com/mapfiles/kml/paddle/red-stars.png</href> + </Icon> + </IconStyle> + </Style> + <Style id="normalPlacemark"> + <IconStyle> + <Icon> + <href>http://maps.google.com/mapfiles/kml/paddle/wht-blank.png</href> + </Icon> + </IconStyle> + </Style> + <StyleMap id="exampleStyleMap"> + <Pair> + <key>normal</key> + <styleUrl>#normalPlacemark</styleUrl> + </Pair> + <Pair> + <key>highlight</key> + <styleUrl>#highlightPlacemark</styleUrl> + </Pair> + </StyleMap> + <Placemark> + <name>Roll over this icon</name> + <visibility>0</visibility> + <styleUrl>#exampleStyleMap</styleUrl> + <Point> + <coordinates>-122.0856545755255,37.42243077405461,0</coordinates> + </Point> + </Placemark> + </Document> + <Placemark> + <name>Descriptive HTML</name> + <visibility>0</visibility> + <description><![CDATA[Click on the blue link!<br><br> +Placemark descriptions can be enriched by using many standard HTML tags.<br> +For example: +<hr> +Styles:<br> +<i>Italics</i>, +<b>Bold</b>, +<u>Underlined</u>, +<s>Strike Out</s>, +subscript<sub>subscript</sub>, +superscript<sup>superscript</sup>, +<big>Big</big>, +<small>Small</small>, +<tt>Typewriter</tt>, +<em>Emphasized</em>, +<strong>Strong</strong>, +<code>Code</code> +<hr> +Fonts:<br> +<font color="red">red by name</font>, +<font color="#408010">leaf green by hexadecimal RGB</font> +<br> +<font size=1>size 1</font>, +<font size=2>size 2</font>, +<font size=3>size 3</font>, +<font size=4>size 4</font>, +<font size=5>size 5</font>, +<font size=6>size 6</font>, +<font size=7>size 7</font> +<br> +<font face=times>Times</font>, +<font face=verdana>Verdana</font>, +<font face=arial>Arial</font><br> +<hr> +Links: +<br> +<a href="http://earth.google.com/">Google Earth!</a> +<br> + or: Check out our website at www.google.com +<hr> +Alignment:<br> +<p align=left>left</p> +<p align=center>center</p> +<p align=right>right</p> +<hr> +Ordered Lists:<br> +<ol><li>First</li><li>Second</li><li>Third</li></ol> +<ol type="a"><li>First</li><li>Second</li><li>Third</li></ol> +<ol type="A"><li>First</li><li>Second</li><li>Third</li></ol> +<hr> +Unordered Lists:<br> +<ul><li>A</li><li>B</li><li>C</li></ul> +<ul type="circle"><li>A</li><li>B</li><li>C</li></ul> +<ul type="square"><li>A</li><li>B</li><li>C</li></ul> +<hr> +Definitions:<br> +<dl> +<dt>Google:</dt><dd>The best thing since sliced bread</dd> +</dl> +<hr> +Centered:<br><center> +Time present and time past<br> +Are both perhaps present in time future,<br> +And time future contained in time past.<br> +If all time is eternally present<br> +All time is unredeemable.<br> +</center> +<hr> +Block Quote: +<br> +<blockquote> +We shall not cease from exploration<br> +And the end of all our exploring<br> +Will be to arrive where we started<br> +And know the place for the first time.<br> +<i>-- T.S. Eliot</i> +</blockquote> +<br> +<hr> +Headings:<br> +<h1>Header 1</h1> +<h2>Header 2</h2> +<h3>Header 3</h3> +<h3>Header 4</h4> +<h3>Header 5</h5> +<hr> +Images:<br> +<i>Remote image</i><br> +<img src="//developers.google.com/kml/documentation/images/googleSample.png"><br> +<i>Scaled image</i><br> +<img src="//developers.google.com/kml/documentation/images/googleSample.png" width=100><br> +<hr> +Simple Tables:<br> +<table border="1" padding="1"> +<tr><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td></tr> +<tr><td>a</td><td>b</td><td>c</td><td>d</td><td>e</td></tr> +</table> +<br> +[Did you notice that double-clicking on the placemark doesn't cause the viewer to take you anywhere? This is because it is possible to directly author a "placeless placemark". If you look at the code for this example, you will see that it has neither a point coordinate nor a LookAt element.]]]></description> + </Placemark> + </Folder> + <Folder> + <name>Ground Overlays</name> + <visibility>0</visibility> + <description>Examples of ground overlays</description> + <GroundOverlay> + <name>Large-scale overlay on terrain</name> + <visibility>0</visibility> + <description>Overlay shows Mount Etna erupting on July 13th, 2001.</description> + <LookAt> + <longitude>15.02468937557116</longitude> + <latitude>37.67395167941667</latitude> + <altitude>0</altitude> + <heading>-16.5581842842829</heading> + <tilt>58.31228652890705</tilt> + <range>30350.36838438907</range> + </LookAt> + <Icon> + <href>http://developers.google.com/kml/documentation/images/etna.jpg</href> + </Icon> + <LatLonBox> + <north>37.91904192681665</north> + <south>37.46543388598137</south> + <east>15.35832653742206</east> + <west>14.60128369746704</west> + <rotation>-0.1556640799496235</rotation> + </LatLonBox> + </GroundOverlay> + </Folder> + <Folder> + <name>Screen Overlays</name> + <visibility>0</visibility> + <description>Screen overlays have to be authored directly in KML. These + examples illustrate absolute and dynamic positioning in screen space.</description> + <ScreenOverlay> + <name>Simple crosshairs</name> + <visibility>0</visibility> + <description>This screen overlay uses fractional positioning to put the + image in the exact center of the screen</description> + <Icon> + <href>http://developers.google.com/kml/documentation/images/crosshairs.png</href> + </Icon> + <overlayXY x="0.5" y="0.5" xunits="fraction" yunits="fraction"/> + <screenXY x="0.5" y="0.5" xunits="fraction" yunits="fraction"/> + <rotationXY x="0.5" y="0.5" xunits="fraction" yunits="fraction"/> + <size x="0" y="0" xunits="pixels" yunits="pixels"/> + </ScreenOverlay> + <ScreenOverlay> + <name>Absolute Positioning: Top left</name> + <visibility>0</visibility> + <Icon> + <href>http://developers.google.com/kml/documentation/images/top_left.jpg</href> + </Icon> + <overlayXY x="0" y="1" xunits="fraction" yunits="fraction"/> + <screenXY x="0" y="1" xunits="fraction" yunits="fraction"/> + <rotationXY x="0" y="0" xunits="fraction" yunits="fraction"/> + <size x="0" y="0" xunits="fraction" yunits="fraction"/> + </ScreenOverlay> + <ScreenOverlay> + <name>Absolute Positioning: Top right</name> + <visibility>0</visibility> + <Icon> + <href>http://developers.google.com/kml/documentation/images/top_right.jpg</href> + </Icon> + <overlayXY x="1" y="1" xunits="fraction" yunits="fraction"/> + <screenXY x="1" y="1" xunits="fraction" yunits="fraction"/> + <rotationXY x="0" y="0" xunits="fraction" yunits="fraction"/> + <size x="0" y="0" xunits="fraction" yunits="fraction"/> + </ScreenOverlay> + <ScreenOverlay> + <name>Absolute Positioning: Bottom left</name> + <visibility>0</visibility> + <Icon> + <href>http://developers.google.com/kml/documentation/images/bottom_left.jpg</href> + </Icon> + <overlayXY x="0" y="-1" xunits="fraction" yunits="fraction"/> + <screenXY x="0" y="0" xunits="fraction" yunits="fraction"/> + <rotationXY x="0" y="0" xunits="fraction" yunits="fraction"/> + <size x="0" y="0" xunits="fraction" yunits="fraction"/> + </ScreenOverlay> + <ScreenOverlay> + <name>Absolute Positioning: Bottom right</name> + <visibility>0</visibility> + <Icon> + <href>http://developers.google.com/kml/documentation/images/bottom_right.jpg</href> + </Icon> + <overlayXY x="1" y="-1" xunits="fraction" yunits="fraction"/> + <screenXY x="1" y="0" xunits="fraction" yunits="fraction"/> + <rotationXY x="0" y="0" xunits="fraction" yunits="fraction"/> + <size x="0" y="0" xunits="fraction" yunits="fraction"/> + </ScreenOverlay> + <ScreenOverlay> + <name>Dynamic Positioning: Top of screen</name> + <visibility>0</visibility> + <Icon> + <href>http://developers.google.com/kml/documentation/images/dynamic_screenoverlay.jpg</href> + </Icon> + <overlayXY x="0" y="1" xunits="fraction" yunits="fraction"/> + <screenXY x="0" y="1" xunits="fraction" yunits="fraction"/> + <rotationXY x="0" y="0" xunits="fraction" yunits="fraction"/> + <size x="1" y="0.2" xunits="fraction" yunits="fraction"/> + </ScreenOverlay> + <ScreenOverlay> + <name>Dynamic Positioning: Right of screen</name> + <visibility>0</visibility> + <Icon> + <href>http://developers.google.com/kml/documentation/images/dynamic_right.jpg</href> + </Icon> + <overlayXY x="1" y="1" xunits="fraction" yunits="fraction"/> + <screenXY x="1" y="1" xunits="fraction" yunits="fraction"/> + <rotationXY x="0" y="0" xunits="fraction" yunits="fraction"/> + <size x="0" y="1" xunits="fraction" yunits="fraction"/> + </ScreenOverlay> + </Folder> + <Folder> + <name>Paths</name> + <visibility>0</visibility> + <description>Examples of paths. Note that the tessellate tag is by default + set to 0. If you want to create tessellated lines, they must be authored + (or edited) directly in KML.</description> + <Placemark> + <name>Tessellated</name> + <visibility>0</visibility> + <description><![CDATA[If the <tessellate> tag has a value of 1, the line will contour to the underlying terrain]]></description> + <LookAt> + <longitude>-112.0822680013139</longitude> + <latitude>36.09825589333556</latitude> + <altitude>0</altitude> + <heading>103.8120432044965</heading> + <tilt>62.04855796276328</tilt> + <range>2889.145007690472</range> + </LookAt> + <LineString> + <tessellate>1</tessellate> + <coordinates> -112.0814237830345,36.10677870477137,0 + -112.0870267752693,36.0905099328766,0 </coordinates> + </LineString> + </Placemark> + <Placemark> + <name>Untessellated</name> + <visibility>0</visibility> + <description><![CDATA[If the <tessellate> tag has a value of 0, the line follow a simple straight-line path from point to point]]></description> + <LookAt> + <longitude>-112.0822680013139</longitude> + <latitude>36.09825589333556</latitude> + <altitude>0</altitude> + <heading>103.8120432044965</heading> + <tilt>62.04855796276328</tilt> + <range>2889.145007690472</range> + </LookAt> + <LineString> + <tessellate>0</tessellate> + <coordinates> -112.080622229595,36.10673460007995,0 + -112.085242575315,36.09049598612422,0 </coordinates> + </LineString> + </Placemark> + <Placemark> + <name>Absolute</name> + <visibility>0</visibility> + <description>Transparent purple line</description> + <LookAt> + <longitude>-112.2719329043177</longitude> + <latitude>36.08890633450894</latitude> + <altitude>0</altitude> + <heading>-106.8161545998597</heading> + <tilt>44.60763714063257</tilt> + <range>2569.386744398339</range> + </LookAt> + <styleUrl>#transPurpleLineGreenPoly</styleUrl> + <LineString> + <tessellate>1</tessellate> + <altitudeMode>absolute</altitudeMode> + <coordinates> -112.265654928602,36.09447672602546,2357 + -112.2660384528238,36.09342608838671,2357 + -112.2668139013453,36.09251058776881,2357 + -112.2677826834445,36.09189827357996,2357 + -112.2688557510952,36.0913137941187,2357 + -112.2694810717219,36.0903677207521,2357 + -112.2695268555611,36.08932171487285,2357 + -112.2690144567276,36.08850916060472,2357 + -112.2681528815339,36.08753813597956,2357 + -112.2670588176031,36.08682685262568,2357 + -112.2657374587321,36.08646312301303,2357 </coordinates> + </LineString> + </Placemark> + <Placemark> + <name>Absolute Extruded</name> + <visibility>0</visibility> + <description>Transparent green wall with yellow outlines</description> + <LookAt> + <longitude>-112.2643334742529</longitude> + <latitude>36.08563154742419</latitude> + <altitude>0</altitude> + <heading>-125.7518698668815</heading> + <tilt>44.61038665812578</tilt> + <range>4451.842204068102</range> + </LookAt> + <styleUrl>#yellowLineGreenPoly</styleUrl> + <LineString> + <extrude>1</extrude> + <tessellate>1</tessellate> + <altitudeMode>absolute</altitudeMode> + <coordinates> -112.2550785337791,36.07954952145647,2357 + -112.2549277039738,36.08117083492122,2357 + -112.2552505069063,36.08260761307279,2357 + -112.2564540158376,36.08395660588506,2357 + -112.2580238976449,36.08511401044813,2357 + -112.2595218489022,36.08584355239394,2357 + -112.2608216347552,36.08612634548589,2357 + -112.262073428656,36.08626019085147,2357 + -112.2633204928495,36.08621519860091,2357 + -112.2644963846444,36.08627897945274,2357 + -112.2656969554589,36.08649599090644,2357 </coordinates> + </LineString> + </Placemark> + <Placemark> + <name>Relative</name> + <visibility>0</visibility> + <description>Black line (10 pixels wide), height tracks terrain</description> + <LookAt> + <longitude>-112.2580438551384</longitude> + <latitude>36.1072674824385</latitude> + <altitude>0</altitude> + <heading>4.947421249553717</heading> + <tilt>44.61324882043339</tilt> + <range>2927.61105910266</range> + </LookAt> + <styleUrl>#thickBlackLine</styleUrl> + <LineString> + <tessellate>1</tessellate> + <altitudeMode>relativeToGround</altitudeMode> + <coordinates> -112.2532845153347,36.09886943729116,645 + -112.2540466121145,36.09919570465255,645 + -112.254734666947,36.09984998366178,645 + -112.255493345654,36.10051310621746,645 + -112.2563157098468,36.10108441943419,645 + -112.2568033076439,36.10159722088088,645 + -112.257494011321,36.10204323542867,645 + -112.2584106072308,36.10229131995655,645 + -112.2596588987972,36.10240001286358,645 + -112.2610581199487,36.10213176873407,645 + -112.2626285262793,36.10157011437219,645 </coordinates> + </LineString> + </Placemark> + <Placemark> + <name>Relative Extruded</name> + <visibility>0</visibility> + <description>Opaque blue walls with red outline, height tracks terrain</description> + <LookAt> + <longitude>-112.2683594333433</longitude> + <latitude>36.09884362144909</latitude> + <altitude>0</altitude> + <heading>-72.24271551768405</heading> + <tilt>44.60855445139561</tilt> + <range>2184.193522571467</range> + </LookAt> + <styleUrl>#redLineBluePoly</styleUrl> + <LineString> + <extrude>1</extrude> + <tessellate>1</tessellate> + <altitudeMode>relativeToGround</altitudeMode> + <coordinates> -112.2656634181359,36.09445214722695,630 + -112.2652238941097,36.09520916122063,630 + -112.2645079986395,36.09580763864907,630 + -112.2638827428817,36.09628572284063,630 + -112.2635746835406,36.09679275951239,630 + -112.2635711822407,36.09740038871899,630 + -112.2640296531825,36.09804913435539,630 + -112.264327720538,36.09880337400301,630 + -112.2642436562271,36.09963644790288,630 + -112.2639148687042,36.10055381117246,630 + -112.2626894973474,36.10149062823369,630 </coordinates> + </LineString> + </Placemark> + </Folder> + <Folder> + <name>Polygons</name> + <visibility>0</visibility> + <description>Examples of polygon shapes</description> + <Folder> + <name>Google Campus</name> + <visibility>0</visibility> + <description>A collection showing how easy it is to create 3-dimensional + buildings</description> + <LookAt> + <longitude>-122.084120030116</longitude> + <latitude>37.42174011925477</latitude> + <altitude>0</altitude> + <heading>-34.82469740081282</heading> + <tilt>53.454348562403</tilt> + <range>276.7870053764046</range> + </LookAt> + <Placemark> + <name>Building 40</name> + <visibility>0</visibility> + <styleUrl>#transRedPoly</styleUrl> + <Polygon> + <extrude>1</extrude> + <altitudeMode>relativeToGround</altitudeMode> + <outerBoundaryIs> + <LinearRing> + <coordinates> -122.0848938459612,37.42257124044786,17 + -122.0849580979198,37.42211922626856,17 + -122.0847469573047,37.42207183952619,17 + -122.0845725380962,37.42209006729676,17 + -122.0845954886723,37.42215932700895,17 + -122.0838521118269,37.42227278564371,17 + -122.083792243335,37.42203539112084,17 + -122.0835076656616,37.42209006957106,17 + -122.0834709464152,37.42200987395161,17 + -122.0831221085748,37.4221046494946,17 + -122.0829247374572,37.42226503990386,17 + -122.0829339169385,37.42231242843094,17 + -122.0833837359737,37.42225046087618,17 + -122.0833607854248,37.42234159228745,17 + -122.0834204551642,37.42237075460644,17 + -122.083659133885,37.42251292011001,17 + -122.0839758438952,37.42265873093781,17 + -122.0842374743331,37.42265143972521,17 + -122.0845036949503,37.4226514386435,17 + -122.0848020460801,37.42261133916315,17 + -122.0847882750515,37.42256395055121,17 + -122.0848938459612,37.42257124044786,17 </coordinates> + </LinearRing> + </outerBoundaryIs> + </Polygon> + </Placemark> + <Placemark> + <name>Building 41</name> + <visibility>0</visibility> + <styleUrl>#transBluePoly</styleUrl> + <Polygon> + <extrude>1</extrude> + <altitudeMode>relativeToGround</altitudeMode> + <outerBoundaryIs> + <LinearRing> + <coordinates> -122.0857412771483,37.42227033155257,17 + -122.0858169768481,37.42231408832346,17 + -122.085852582875,37.42230337469744,17 + -122.0858799945639,37.42225686138789,17 + -122.0858860101409,37.4222311076138,17 + -122.0858069157288,37.42220250173855,17 + -122.0858379542653,37.42214027058678,17 + -122.0856732640519,37.42208690214408,17 + -122.0856022926407,37.42214885429042,17 + -122.0855902778436,37.422128290487,17 + -122.0855841672237,37.42208171967246,17 + -122.0854852065741,37.42210455874995,17 + -122.0855067264352,37.42214267949824,17 + -122.0854430712915,37.42212783846172,17 + -122.0850990714904,37.42251282407603,17 + -122.0856769818632,37.42281815323651,17 + -122.0860162273783,37.42244918858722,17 + -122.0857260327004,37.42229239604253,17 + -122.0857412771483,37.42227033155257,17 </coordinates> + </LinearRing> + </outerBoundaryIs> + </Polygon> + </Placemark> + <Placemark> + <name>Building 42</name> + <visibility>0</visibility> + <styleUrl>#transGreenPoly</styleUrl> + <Polygon> + <extrude>1</extrude> + <altitudeMode>relativeToGround</altitudeMode> + <outerBoundaryIs> + <LinearRing> + <coordinates> -122.0857862287242,37.42136208886969,25 + -122.0857312990603,37.42136935989481,25 + -122.0857312992918,37.42140934910903,25 + -122.0856077073679,37.42138390166565,25 + -122.0855802426516,37.42137299550869,25 + -122.0852186221971,37.42137299504316,25 + -122.0852277765639,37.42161656508265,25 + -122.0852598189347,37.42160565894403,25 + -122.0852598185499,37.42168200156,25 + -122.0852369311478,37.42170017860346,25 + -122.0852643957828,37.42176197982575,25 + -122.0853239032746,37.42176198013907,25 + -122.0853559454324,37.421852864452,25 + -122.0854108752463,37.42188921823734,25 + -122.0854795379357,37.42189285337048,25 + -122.0855436229819,37.42188921797546,25 + -122.0856260178042,37.42186013499926,25 + -122.085937287963,37.42186013453605,25 + -122.0859428718666,37.42160898590042,25 + -122.0859655469861,37.42157992759144,25 + -122.0858640462341,37.42147115002957,25 + -122.0858548911215,37.42140571326184,25 + -122.0858091162768,37.4214057134039,25 + -122.0857862287242,37.42136208886969,25 </coordinates> + </LinearRing> + </outerBoundaryIs> + </Polygon> + </Placemark> + <Placemark> + <name>Building 43</name> + <visibility>0</visibility> + <styleUrl>#transYellowPoly</styleUrl> + <Polygon> + <extrude>1</extrude> + <altitudeMode>relativeToGround</altitudeMode> + <outerBoundaryIs> + <LinearRing> + <coordinates> -122.0844371128284,37.42177253003091,19 + -122.0845118855746,37.42191111542896,19 + -122.0850470999805,37.42178755121535,19 + -122.0850719913391,37.42143663023161,19 + -122.084916406232,37.42137237822116,19 + -122.0842193868167,37.42137237801626,19 + -122.08421938659,37.42147617161496,19 + -122.0838086419991,37.4214613409357,19 + -122.0837899728564,37.42131306410796,19 + -122.0832796534698,37.42129328840593,19 + -122.0832609819207,37.42139213944298,19 + -122.0829373621737,37.42137236399876,19 + -122.0829062425667,37.42151569778871,19 + -122.0828502269665,37.42176282576465,19 + -122.0829435788635,37.42176776969635,19 + -122.083217411188,37.42179248552686,19 + -122.0835970430103,37.4217480074456,19 + -122.0839455556771,37.42169364237603,19 + -122.0840077894637,37.42176283815853,19 + -122.084113587521,37.42174801104392,19 + -122.0840762473784,37.42171341292375,19 + -122.0841447047739,37.42167881534569,19 + -122.084144704223,37.42181720660197,19 + -122.0842503333074,37.4218170700446,19 + -122.0844371128284,37.42177253003091,19 </coordinates> + </LinearRing> + </outerBoundaryIs> + </Polygon> + </Placemark> + </Folder> + <Folder> + <name>Extruded Polygon</name> + <description>A simple way to model a building</description> + <Placemark> + <name>The Pentagon</name> + <LookAt> + <longitude>-77.05580139178142</longitude> + <latitude>38.870832443487</latitude> + <heading>59.88865561738225</heading> + <tilt>48.09646074797388</tilt> + <range>742.0552506670548</range> + </LookAt> + <Polygon> + <extrude>1</extrude> + <altitudeMode>relativeToGround</altitudeMode> + <outerBoundaryIs> + <LinearRing> + <coordinates> -77.05788457660967,38.87253259892824,100 + -77.05465973756702,38.87291016281703,100 + -77.05315536854791,38.87053267794386,100 + -77.05552622493516,38.868757801256,100 + -77.05844056290393,38.86996206506943,100 + -77.05788457660967,38.87253259892824,100 </coordinates> + </LinearRing> + </outerBoundaryIs> + <innerBoundaryIs> + <LinearRing> + <coordinates> -77.05668055019126,38.87154239798456,100 + -77.05542625960818,38.87167890344077,100 + -77.05485125901024,38.87076535397792,100 + -77.05577677433152,38.87008686581446,100 + -77.05691162017543,38.87054446963351,100 + -77.05668055019126,38.87154239798456,100 </coordinates> + </LinearRing> + </innerBoundaryIs> + </Polygon> + </Placemark> + </Folder> + <Folder> + <name>Absolute and Relative</name> + <visibility>0</visibility> + <description>Four structures whose roofs meet exactly. Turn on/off + terrain to see the difference between relative and absolute + positioning.</description> + <LookAt> + <longitude>-112.3348969157552</longitude> + <latitude>36.14845533214919</latitude> + <altitude>0</altitude> + <heading>-86.91235037566909</heading> + <tilt>49.30695423894192</tilt> + <range>990.6761201087104</range> + </LookAt> + <Placemark> + <name>Absolute</name> + <visibility>0</visibility> + <styleUrl>#transBluePoly</styleUrl> + <Polygon> + <tessellate>1</tessellate> + <altitudeMode>absolute</altitudeMode> + <outerBoundaryIs> + <LinearRing> + <coordinates> -112.3372510731295,36.14888505105317,1784 + -112.3356128688403,36.14781540589019,1784 + -112.3368169371048,36.14658677734382,1784 + -112.3384408457543,36.14762778914076,1784 + -112.3372510731295,36.14888505105317,1784 </coordinates> + </LinearRing> + </outerBoundaryIs> + </Polygon> + </Placemark> + <Placemark> + <name>Absolute Extruded</name> + <visibility>0</visibility> + <styleUrl>#transRedPoly</styleUrl> + <Polygon> + <extrude>1</extrude> + <tessellate>1</tessellate> + <altitudeMode>absolute</altitudeMode> + <outerBoundaryIs> + <LinearRing> + <coordinates> -112.3396586818843,36.14637618647505,1784 + -112.3380597654315,36.14531751871353,1784 + -112.3368254237788,36.14659596244607,1784 + -112.3384555043203,36.14762621763982,1784 + -112.3396586818843,36.14637618647505,1784 </coordinates> + </LinearRing> + </outerBoundaryIs> + </Polygon> + </Placemark> + <Placemark> + <name>Relative</name> + <visibility>0</visibility> + <LookAt> + <longitude>-112.3350152490417</longitude> + <latitude>36.14943123077423</latitude> + <altitude>0</altitude> + <heading>-118.9214100848499</heading> + <tilt>37.92486261093203</tilt> + <range>345.5169113679813</range> + </LookAt> + <styleUrl>#transGreenPoly</styleUrl> + <Polygon> + <tessellate>1</tessellate> + <altitudeMode>relativeToGround</altitudeMode> + <outerBoundaryIs> + <LinearRing> + <coordinates> -112.3349463145932,36.14988705767721,100 + -112.3354019540677,36.14941108398372,100 + -112.3344428289146,36.14878490381308,100 + -112.3331289492913,36.14780840132443,100 + -112.3317019516947,36.14680755678357,100 + -112.331131440106,36.1474173426228,100 + -112.332616324338,36.14845453364654,100 + -112.3339876620524,36.14926570522069,100 + -112.3349463145932,36.14988705767721,100 </coordinates> + </LinearRing> + </outerBoundaryIs> + </Polygon> + </Placemark> + <Placemark> + <name>Relative Extruded</name> + <visibility>0</visibility> + <LookAt> + <longitude>-112.3351587892382</longitude> + <latitude>36.14979247129029</latitude> + <altitude>0</altitude> + <heading>-55.42811560891606</heading> + <tilt>56.10280503739589</tilt> + <range>401.0997279712519</range> + </LookAt> + <styleUrl>#transYellowPoly</styleUrl> + <Polygon> + <extrude>1</extrude> + <tessellate>1</tessellate> + <altitudeMode>relativeToGround</altitudeMode> + <outerBoundaryIs> + <LinearRing> + <coordinates> -112.3348783983763,36.1514008468736,100 + -112.3372535345629,36.14888517553886,100 + -112.3356068927954,36.14781612679284,100 + -112.3350034807972,36.14846469024177,100 + -112.3358353861232,36.1489624162954,100 + -112.3345888301373,36.15026229372507,100 + -112.3337937856278,36.14978096026463,100 + -112.3331798208424,36.1504472788618,100 + -112.3348783983763,36.1514008468736,100 </coordinates> + </LinearRing> + </outerBoundaryIs> + </Polygon> + </Placemark> + </Folder> + </Folder> + </Document> +</kml>
Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testKMZ.kmz URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testKMZ.kmz?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testKMZ.kmz ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testKeynote.key URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testKeynote.key?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testKeynote.key ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-arm-32le URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-arm-32le?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-arm-32le ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-mips-32be URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-mips-32be?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-mips-32be ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-mips-32le URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-mips-32le?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-mips-32le ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-ppc-32be URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-ppc-32be?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-ppc-32be ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-x86-32 URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-x86-32?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-x86-32 ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-x86-64 URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-x86-64?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLinux-x86-64 ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLotusEml.eml URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLotusEml.eml?rev=1722027&view=auto ============================================================================== --- tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLotusEml.eml (added) +++ tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testLotusEml.eml Mon Dec 28 23:10:16 2015 @@ -0,0 +1,71 @@ +X-Notes-Item: CN=XXXX/OU=XX/OU=XXXX/O=XXX/C=XX; + flags=44; name=ForwardedFrom +X-Notes-Item: Thu, 4 Oct 2012 13:01:56 +0200; + type=400; name=ForwardedDate +X-Notes-Item: Thu, 4 Oct 2012 13:02:39 +0200; + type=400; name=OriginalModTime +X-Notes-Item: .; + name=$StorageTo +X-Notes-Item: 62AEA923:7CEE804A-C1257A8D:003C970D; + type=4; name=$Orig +X-Notes-Item: 2031619; + name=MIMEMailHeaderCharset +MIME-Version: 1.0 +X-Mailer: Lotus Notes Release 8.5.3 September 15, 2011 +Message-ID: <OF62AEA923.7CEE804A-ONC1257A8D.003C970D-C1257A8D.003CAB24@LocalDomain> +Date: Thu, 4 Oct 2012 13:02:39 +0200 +X-Notes-Item: 0; + name=MAILOPTIONS +X-Notes-Item: 1; + name=SaveOptions +X-Notes-Item: Memo; + name=Form +From: [email protected] +X-Notes-Item: CN=XXXX/OU=XX/OU=XXXX/O=XXX/C=XX; + name=AltFrom +X-Notes-Item: StdNotesLtr25; + name=Logo +X-Notes-Item: StdNotesLtr25; + name=dLogo +X-Notes-Item: True; + name=useApplet +X-Notes-Item: 1; + name=DefaultMailSaveOptions +X-Notes-Item: ; + name=Query_String +X-Notes-Item: 1; + name=ExpandPersonalGroups +To: [email protected] +X-Notes-Item: ; + flags=44; name=INetCopyTo +X-Notes-Item: ; + flags=44; name=INetBlindCopyTo +X-Notes-Item: ; + name=tmpImp +X-Notes-Item: ; + name=Sign +X-Notes-Item: ; + name=Encrypt +X-Notes-Item: ; + name=tmpClassification +X-Notes-Item: ; + name=SetClassification +X-Notes-Item: 1; + name=$NoteHasNativeMIME +X-MIMETrack: Serialize by Notes Client on XXXX(Release + 8.5.3|September 15, 2011) at 25.10.2012 12:14:50 +Content-type: multipart/related; + Boundary="0__=4EBBF01EDFAF119D8f9e8a93df938690918c4EBBF01EDFAF119D" +Content-Disposition: inline + +--0__=4EBBF01EDFAF119D8f9e8a93df938690918c4EBBF01EDFAF119D +Content-type: text/html; charset=ISO-8859-1 +Content-Disposition: inline +Content-transfer-encoding: quoted-printable + +<html><body> +Message body +</body></html>= + +--0__=4EBBF01EDFAF119D8f9e8a93df938690918c4EBBF01EDFAF119D-- + Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMATLAB.m URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMATLAB.m?rev=1722027&view=auto ============================================================================== --- tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMATLAB.m (added) +++ tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMATLAB.m Mon Dec 28 23:10:16 2015 @@ -0,0 +1,4 @@ +function helloworld +fprintf('Hello, World!\n') +disp('Hello, World!'); +end Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMATLAB_barcast.m URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMATLAB_barcast.m?rev=1722027&view=auto ============================================================================== --- tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMATLAB_barcast.m (added) +++ tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMATLAB_barcast.m Mon Dec 28 23:10:16 2015 @@ -0,0 +1,383 @@ +%% CONTROL CODE FOR FULLY BAYESIAN SPATIO-TEMPORAL TEMPERATURE RECONSTRUCTION +%EVERYTHING IS MODULAR TO ALLOW FOR EASY DEBUGGING AND ADAPTATION +% _vNewModel_Oct08: change the formalism to reflect new model (Beta_1 now +% normal). Allows for multiple proxies +clear all; close all; +%SET MATLAB'S CURRENT DIRECTORY TO HERE. +% set the priors and the inital values for the MCMC sampler +Prior_pars_vNewModel +Initial_par_vals_vNewModel +%% Set the seed of the random number generators +randn('state', sum((1000+600)*clock)) +rand('state', sum((1000+800)*clock)) + +%% load the data +cd TestData +load BARCAST_INPUT_vNewMeth1 +%break it apart +Locs=BARCAST_INPUT.Master_Locs; +N_Locs=length(Locs(:,1)); %Number of locations: +timeline=[BARCAST_INPUT.Data_timeline(1)-1, BARCAST_INPUT.Data_timeline]; +N_Times=length(timeline)-1; %Number of DATA times +loc_areas=BARCAST_INPUT.Areas; +Inds_GridLocs_Central=BARCAST_INPUT.Inds_Central; + +%get the number of proxy types: +N_PT=length(fieldnames(BARCAST_INPUT))-5; + +%stack the three data matrices, one on top of the other +%the first N_Locs ROWS are the Inst, the next N_Locs ROWS the first proxy +%type, the next the third. . . . .. Each column a year. The first +%corresponds to the SECOND entry in timeline. +Data_ALL=BARCAST_INPUT.Inst_Data; +for kk=1:1:N_PT + tp=eval(['BARCAST_INPUT.Prox_Data', num2str(kk)]); + Data_ALL=[Data_ALL; tp]; +end + +% % % % All_locs_wInd=BARCAST_INPUT.All_locs_wInd; +% % % % lon_lat_area=BARCAST_INPUT.lon_lat_area; +% % % % DATA_Mat=BARCAST_INPUT.DATA_Mat; +% % % % DATA_Mat_locs=BARCAST_INPUT.DATA_Mat_locs; +% % % % Inds_GridLocs_Central=BARCAST_INPUT.Inds_GridLocs_Central; +% % % % timeline=BARCAST_INPUT.timeline; +% % % % clear BARCAST_INPUT + +%Priors and MH jumping parameters, from Prior_pars_vNewModel +load PRIORS_vNewMeth1 +load MHpars_vNewMeth1 +%Initial values from Initial_par_vals_vNewModel +load INITIAL_VALS_vNewMeth1 + +%The Order of THE SCALAR parameters WILL ALWAYS thus: +%1 = alpha, the AR(1) coefficient +%2 = mu, the constant par in the linear mean of the AR(1) process +%3 = sigma2, the partial sill in the spatial covariance matrix +%4 = phi, the range parameter in the spatial covariance matrix +%5 = tau2_I, the Inst measurement error +%6 = tau2_P, the measurement error, first PROX type +%7 = Beta_1, the scaling par in the first P observation equation +%8 = Beta_0, the additive par in the first P observation equation +%and, if there is second proxy type +%9 = tau2_P_2, the measurement error, second PROX type +%10 = Beta_1, the scaling par in the second P observation equation +%11 = Beta_0, the additive par in the second P observation equation +%and, if there is third proxy type . . . . + +%A NOTE ON GAMMA NOTATION. WE USE THE NOTATION OF Gelman et al, "Bayesian +%Data Analysis", WHERE GAMMA PARAMETERS ALPHA, BETA)==(SHAPE, INVERSE SCALE). +%THE RANDRAW.M CODE USES (A,B)==(SHAPE, SCALE), AND THE CALL IS RANDRAW('GAMMA', [M,B,A], SAMPLESIZE), +%WHERE M IS THE LOCATION (NOT NEEDED). SO IN THE NOTATION OF GELMAN ET AT, THE CALL IS +%RANDRAW('GAMMA', [0,1/BETA,ALPHA], SAMPLESIZE). +%For example, +%RANDRAW('GAMMA', [0,1/PRIORS.sigma2(2),PRIORS.sigma2(1)], 1), AND ETC. + +%switch back tot he main directory +cd .. +%% SET a few parameters +%Number of iterations of the complete sampler +Sampler_Its=2000; + +%Number of times to update only the temperature array before beginning to +%update the other parameters +pre_Sampler_Its=500; + + +%% Areal weights vector for averaging the temperatures at each year +%note that some of the elments of the temeprature are given 0 weight - +%outside the prediction bounds. This is based on an input of the area of +%each gridbox +SpaceWeight=loc_areas/sum(loc_areas); +%and for the central region/region of interest +Areas_Central=zeros(1,N_Locs); +Areas_Central(Inds_GridLocs_Central)=loc_areas(Inds_GridLocs_Central); +SpaceWeight_Central=Areas_Central/sum(Areas_Central); + +%(In some applications, the goal might be to estimate the block average +%over a subset of the locations in the reconstruction. For example, the +%goal might be to reconstruct temperatures in Maine, but proxy records from +%NH are incldued in the analysis, as they help to constrain temperatures in +%Maine. SO some of the weights are, in this case, set to zero). + + +%% CALCULATE FIXED QUANTITIES (DO NOT DEPEND ON UNKOWN PARAMETERS) + +%The matrix of distances between every possible pair of points, (I,P,R) +All_DistMat=EarthDistances(Locs); + +%The H(t) selection matrix. +%Basically, H(t) tells us which Inst and prox +%locations have measurements for a given year. So: define H(t) for each +%year as an indicator vector, and thus HH a matrix such that each column is +%the indicator vector for that year. In other words, this is the complete +%indicator matrix for the presence of data:: +%1=YES Measurement; +%0=NO Measurement +%Simply a ZERO wherever there is a NaN in Data_ALL, and a ONE whereever +%this is a value +HH_SelectMat=ones(size(Data_ALL))-isnan(Data_ALL); + +%The total number of Inst/Prox Observations are needed for several +%conditional posteriors, and can be calculated from the HH_SelectMat: +M_InstProx=NaN(1+N_PT,1); +%vectot: first the total number of inst obsm then the total number of each +%prox type, in order. +%Inst: +M_InstProx(1)=sum(sum(HH_SelectMat(1:1:N_Locs, :))); +%Prox: +for kk=1:1:N_PT + M_InstProx(kk+1)=sum(sum(HH_SelectMat(kk*N_Locs+1:1:(kk+1)*N_Locs, :))); +end + +%% Set the initial values of the Field matrix and Current Parameter Vector +% These will be updated and then saved at each iteration of the sampler. +% They are initially filled with the values from INITIAL_VALS. +% Paramter/field values at each step of the gibbs sampler are taken from +% these objects, and new draws override the current entries. This ensures +% that each step of the Gibbs sampler is ALWAYS using the most recent set of ALL +% parameters, without having to deal with +/-1 indices. + +%Array of the estimated true temperature values, set to the initial values: +Temperature_MCMC_Sampler=INITIAL_VALS.Temperature; +%Order: All I, P with locs common to I, Rest of the P, R. +%In other words, ordered the same as InstProx_locs, then with Rand_locs +%added on +%note that +%[Inst_locs; Prox_locs] = InstProx_locs([Inst_inds,Prox_inds],:) +%SO: Temperature_MCMC_Sampler([Inst_inds,Prox_inds], KK) extracts the +%elements that can be compared to the corresponding time of DATA_Mat + +% Current values of the scalar parameters +INITIAL_SCALAR_VALS=rmfield(INITIAL_VALS, 'Temperature'); +CURRENT_PARS=cell2mat(struct2cell(INITIAL_SCALAR_VALS)); + +% OR LOAD TRUE VALUES - FOR TESTING +% load TestData\Pars_TRUE +% CURRENT_PARS=Pars_TRUE'; +% +% load TestData\TrueTemps_v1 +% Temperature_MCMC_Sampler=Temperature_Matrix; + +%% DEFINE EMPTY MATRICES that will be filled with the sampler +%DEFINE the empty parameter matrix: +N_Pars=length(CURRENT_PARS); +Paramters_MCMC_Samples=NaN(N_Pars, Sampler_Its); +%The empty matrix of the samples of the blockaverage timeseries: +BlockAve_MCMC_Samples=NaN(N_Times+1, pre_Sampler_Its+Sampler_Its); +%and the central/target portion +BlockAve_Central_MCMC_Samples=NaN(N_Times+1, pre_Sampler_Its+Sampler_Its); +%NOTE the initial values of the parameters, field, and block averages will +%NOT be saved. So the first item in all matrices/arrays are the results +%after the first iteration of the sampler + +%IN this case, as the amount of data is small, we are able to deal +%with the whole array of space time draws. In applications with larger +%data, this is not possible (memory overflow). +Temperature_ARRAY=NaN(N_Locs, N_Times+1, pre_Sampler_Its+Sampler_Its); + + +%% CALCULATE PARAMETER DEPENDENT QUANTITIES +%that are used several times in the sampler +% +%The idea: calculate the quantities with the initial parameter values, then +%update as soon as possible, leaving the variablle name the same +% +%calculate the initial spatial correlation matrix, and its inverse +%these are needed several times. +%AS SOON as phi is updated, this is updated, ensuring that the +%correlation matrix and its inverse are always up to date, regardless of +%the order of the sampling below. +CURRENT_spatial_corr_mat=exp(-CURRENT_PARS(4)*All_DistMat); +CURRENT_inv_spatial_corr_mat=inv(CURRENT_spatial_corr_mat); + +%% To speed up the code +%1. Find the UNIQUE missing data patterns, number them. +%2. Index each year by the missing data pattern. +%3. For each missing data pattern, calculate the inverse and square root of +%the conditional posterior covariance of a T_k, and stack them +%4. Rewrite the T_k_Updater to simply call these matrices. +%This reduces the number of matrix inversions for each FULL iteration of +%the sampler to the number of UNIQUE data patterns, and reduces the number +%for the pre iterations to 2. + +U_Patterns=unique(HH_SelectMat', 'rows'); +%create an index vector that gices, for each year, the number of the +%corresponding pattern in U_Patterns +%Basically - HH_SelectMat can be represented by U_Patterns and this index vector: +Pattern_by_Year=NaN(N_Times,1); +for kk=1:1:length(U_Patterns(:,1)); + dummy=ismember(HH_SelectMat', U_Patterns(kk,:), 'rows'); + Pattern_by_Year(find(dummy==1))=kk; +end + +%Input the CURRENT_PARS vector and etc into Covariance_Patterns, which returns two 3d +%arrays: the covariance amtrix for each missing data patter (for +%the mean calculation) and the squre root of the covariance matrix (to make +%the draw). +[CURRENT_COV_ARRAY, CURRENT_SQRT_COV_ARRAY]=Covariance_Patterns(U_Patterns, CURRENT_PARS, CURRENT_inv_spatial_corr_mat, N_Locs, N_PT); + + + +%% In an attempt to speed convergence of the variance paramters +% we will uptate only the true temperature array for a number of +% iterations, and then add the updating of the other parameters. This is to +% prevent the model from requiring large variances to fit the observations +% to the data. +%timertimer=NaN; +for samples=1:1:pre_Sampler_Its + tic; + %% SAMPLE T(0): True temperature the year before the first measurement. + Temperature_MCMC_Sampler(:,1)=T_0_Updater_vNM(PRIORS.T_0, Temperature_MCMC_Sampler(:,2), CURRENT_PARS, CURRENT_inv_spatial_corr_mat); + + %% SAMPLE T(1), . . ., T(last-1). Recall that the T matrix starts at time=0, while the W matrix starts at time=1 + for Tm=2:1:N_Times + Temperature_MCMC_Sampler(:,Tm)=T_k_Updater_vFAST(Temperature_MCMC_Sampler(:, Tm-1), Temperature_MCMC_Sampler(:,Tm+1), Data_ALL(:,Tm-1), CURRENT_PARS, U_Patterns(Pattern_by_Year(Tm-1),:),CURRENT_COV_ARRAY(:,:,Pattern_by_Year(Tm-1)),CURRENT_SQRT_COV_ARRAY(:,:,Pattern_by_Year(Tm-1)),CURRENT_inv_spatial_corr_mat, N_Locs, N_PT); + end + %This is a SLOW step, because it is actually N_Times-1 steps. . . + + %% SAMPLE T(last) + Temperature_MCMC_Sampler(:,N_Times+1)=T_last_Updater_vNM(Temperature_MCMC_Sampler(:, N_Times), Data_ALL(:,N_Times), HH_SelectMat(:, N_Times), CURRENT_PARS, CURRENT_inv_spatial_corr_mat, N_Locs, N_PT); + + %% Fill in the next iteration of the BlockAve_MCMC_Samples matrix: + BlockAve_MCMC_Samples(:,samples)=(SpaceWeight*Temperature_MCMC_Sampler)'; + BlockAve_Central_MCMC_Samples(:, samples)=(SpaceWeight_Central*Temperature_MCMC_Sampler)'; + %Fill in the next slice of the space-time field draw array + Temperature_ARRAY(:,:,samples)=Temperature_MCMC_Sampler; + + %save the current draw of the space-time temp matrix + %save(['TestData\FieldDraws\Temp_MCMC_vNM_Test_PreStep' num2str(samples)],'Temperature_MCMC_Sampler'); + + timertimer=toc; + disp(['Working on pre-MCMC iteration ', num2str(samples), ' of ', num2str(pre_Sampler_Its), '. Last iteration took ', num2str(timertimer), ' seconds.']) + +end + +timertimer=NaN; +%% RUN THE SAMPLER +for samples=1:1:Sampler_Its + + tic + %% SAMPLE T(0): True temperature the year before the first measurement. + Temperature_MCMC_Sampler(:,1)=T_0_Updater_vNM(PRIORS.T_0, Temperature_MCMC_Sampler(:,2), CURRENT_PARS, CURRENT_inv_spatial_corr_mat); + + %% SAMPLE T(1), . . ., T(last-1). Recall that the T matrix starts at time=0, while the W matrix starts at time=1 + for Tm=2:1:N_Times + Temperature_MCMC_Sampler(:,Tm)=T_k_Updater_vFAST(Temperature_MCMC_Sampler(:, Tm-1), Temperature_MCMC_Sampler(:,Tm+1), Data_ALL(:,Tm-1), CURRENT_PARS, U_Patterns(Pattern_by_Year(Tm-1),:),CURRENT_COV_ARRAY(:,:,Pattern_by_Year(Tm-1)),CURRENT_SQRT_COV_ARRAY(:,:,Pattern_by_Year(Tm-1)),CURRENT_inv_spatial_corr_mat, N_Locs, N_PT); + end + %This is a SLOW step, because it is actually N_Times-1 steps. . . + + %% SAMPLE T(last) + Temperature_MCMC_Sampler(:,N_Times+1)=T_last_Updater_vNM(Temperature_MCMC_Sampler(:, N_Times), Data_ALL(:,N_Times), HH_SelectMat(:, N_Times), CURRENT_PARS, CURRENT_inv_spatial_corr_mat, N_Locs, N_PT); + + %% SAMPLE AR(1) coefficient + New_Alpha=Alpha_Updater_vNM(PRIORS.alpha, Temperature_MCMC_Sampler, CURRENT_PARS, CURRENT_inv_spatial_corr_mat); + CURRENT_PARS(1)=New_Alpha; + clear New_Alpha + + %% SAMPLE AR(1) mean constant parameter, mu: + New_mu=Mu_Updater_vNM(PRIORS.mu, Temperature_MCMC_Sampler, CURRENT_PARS, CURRENT_inv_spatial_corr_mat); + CURRENT_PARS(2)=New_mu; + clear New_AR_mean_mu + + %% SAMPLE Partial Sill of the spatial covaraince martrix + New_sigma2=Sigma2_Updater_vNM(PRIORS.sigma2, Temperature_MCMC_Sampler, CURRENT_PARS, CURRENT_inv_spatial_corr_mat); + %ARTIFICIALLY put a cieling at, say, 5. + %CHECK a posterior that, one the algorithm has converged, ALL draws are + %lower than this. + CURRENT_PARS(3)=min(5, New_sigma2); + clear New_sigma2 + + %% SAMPLE Range Parameter of the spatial covaraince martrix (METROPOLIS) + % This also updates the spatial corelation matrix and its inverse + [New_phi, New_scm, New_iscm]=Phi_Updater_vNM(PRIORS.phi, Temperature_MCMC_Sampler, CURRENT_PARS, CURRENT_spatial_corr_mat, CURRENT_inv_spatial_corr_mat, All_DistMat, MHpars.log_phi); + CURRENT_PARS(4)=New_phi; + CURRENT_spatial_corr_mat=New_scm; + CURRENT_inv_spatial_corr_mat=New_iscm; + clear New_phi New_iscm New_scm + + %% SAMPLE Instrumental measurement error + New_tau2_I=tau2_I_Updater_vNM(PRIORS.tau2_I, Temperature_MCMC_Sampler, Data_ALL, N_Locs, M_InstProx(1)); + %ARTIFICIALLY put a cieling at, say, 5. + %CHECK a posterior that, one the algorithm has converged, ALL draws are + %lower than this. + CURRENT_PARS(5)=min(5, New_tau2_I); + clear New_tau2_I + + + + %% NEED TO LOOP THE SAMPLING OF THESE THREE PARAMETERS + for Pnum=1:1:N_PT + %curtail the CURRENT_PARS vector to only include the pars for one + %proxy type at a time: + CURRENT_PARS_Brief=[CURRENT_PARS(1:1:5); CURRENT_PARS([6:1:8]+(Pnum-1)*3)]; + %Similarily exract each type of proxy data: + Prox_Data_Brief=eval(['BARCAST_INPUT.Prox_Data', num2str(Pnum)]); + + %% SAMPLE Proxy measurement error + New_tau2_P=tau2_P_Updater_vNM(eval(['PRIORS.tau2_P_', num2str(Pnum)]), Temperature_MCMC_Sampler, Prox_Data_Brief, CURRENT_PARS_Brief, M_InstProx(Pnum+1)); + %ARTIFICIALLY put a cieling at, say, 50. + %CHECK a posterior that, one the algorithm has converged, ALL draws are + %lower than this. + CURRENT_PARS_Brief(6)=min(10, New_tau2_P); + clear New_tau2_P + + %% SAMPLE Scaling constant in the proxy observation equation + New_beta_1=Beta_1_Updater_vNM(eval(['PRIORS.Beta_1_', num2str(Pnum)]), Temperature_MCMC_Sampler, Prox_Data_Brief, CURRENT_PARS_Brief); + CURRENT_PARS_Brief(7)=New_beta_1; + clear New_beta_1 + + %% SAMPLE Additive constant in the proxy observation equation + New_Beta_0=Beta_0_Updater_vNM(eval(['PRIORS.Beta_0_', num2str(Pnum)]), Temperature_MCMC_Sampler, Prox_Data_Brief, CURRENT_PARS_Brief, M_InstProx(Pnum+1)); + CURRENT_PARS_Brief(8)=New_Beta_0; + clear New_Beta_0 + + CURRENT_PARS([6:1:8]+(Pnum-1)*3)=CURRENT_PARS_Brief(6:1:8); + + end + + %% UPDATE the covariance arrays used in the T_k_Updater step + [CURRENT_COV_ARRAY, CURRENT_SQRT_COV_ARRAY]=Covariance_Patterns(U_Patterns, CURRENT_PARS, CURRENT_inv_spatial_corr_mat, N_Locs, N_PT); + + + %% UPDATE THE VARIOUS MATRICES, SAVE CURRENT TEMPERTAURE MATRIX + %update the Paramters_MCMC_Samples matrix: + Paramters_MCMC_Samples(:, samples)=CURRENT_PARS; + %CURRENT_PARS is not cleared: it is, after all, the current parameter + %vector. + + %Fill in the next iteration of the BlockAve_MCMC_Samples matrix: + BlockAve_MCMC_Samples(:, pre_Sampler_Its+samples)=(SpaceWeight*Temperature_MCMC_Sampler)'; + BlockAve_Central_MCMC_Samples(:, pre_Sampler_Its+samples)=(SpaceWeight_Central*Temperature_MCMC_Sampler)'; + + %add the new draw of the space-time temp matrix + Temperature_ARRAY(:,:,pre_Sampler_Its+samples)=Temperature_MCMC_Sampler; + %save the current draw of the space-time temp matrix + %save(['TestData\FieldDraws\Temp_MCMC_vNM_Test_Step' num2str(samples)],'Temperature_MCMC_Sampler'); + + %SAVE the matrix of parameter vector draws and the matrix of block + %average vectors. (This way, even if the code is stopped prematurely, + %we get something) + %cd TestData + %cd FieldDraws + %save TestData\FieldDraws\Paramters_MCMC_Samples_vNM Paramters_MCMC_Samples + %save TestData\FieldDraws\Temperature_ARRAY_vNM Temperature_ARRAY + %save TestData\FieldDraws\BlockAve_MCMC_Samples_vNM BlockAve_MCMC_Samples + %save TestData\FieldDraws\BlockAve_Central_MCMC_Samples_vNM BlockAve_Central_MCMC_Samples + %and back + %cd .. + %cd .. + timertimer=toc; + disp(['Finished MCMC iteration ', num2str(samples), ' of ', num2str(Sampler_Its), '. Last iteration took ', num2str(timertimer), ' seconds.']) +end + +%% SAVE the matrix of parameter vector draws and the matrix of block +%average vectors. +cd TestData +cd FieldDraws + save Paramters_MCMC_Samples_vNM Paramters_MCMC_Samples + save Temperature_ARRAY_vNM Temperature_ARRAY + save BlockAve_MCMC_Samples_vNM BlockAve_MCMC_Samples + save BlockAve_Central_MCMC_Samples_vNM BlockAve_Central_MCMC_Samples +%and back +cd .. +cd .. Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMATLAB_wtsgaus.m URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMATLAB_wtsgaus.m?rev=1722027&view=auto ============================================================================== --- tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMATLAB_wtsgaus.m (added) +++ tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMATLAB_wtsgaus.m Mon Dec 28 23:10:16 2015 @@ -0,0 +1,52 @@ +function b=wtsgaus(p,N) +% wtsgaus: weights for gaussian filter with specified frequency response +% b=wtsgaus(p,N); +% Last revised 2003-3-14 +% +% Weights for gaussian filter with specified frequency response +% Specify te wavelength for the 0.50 respons, and the length of series, get +% the coefficients, or weights +% +%*** INPUT +% +% p (1 x 1)i period (years) at which filter is to have amp frequency response of 0.5 +% N (1 x 1)i length of the time series (number of observations) +% +%*** OUTPUT +% +% b (1 x n)r computed weights +% +% +%*** REFERENCES +% +% WMO 1966, p. 47 +% +%*** UW FUNCTIONS CALLED -- NONE +%*** TOOLBOXES NEEDED -- stats +% +%*** NOTES +% +% Amplitude of frequency response drops to 0.50 at a wavelength of +% about 6 standard deviations of the appropriate guassian curve +% +% N is used as an input to restict the possible filter size (number of weights) to no larger than the sample length + +if p>N; + error(['Desired 50% period ' num2str(p) ' is greater than the sample length ' int2str(N)]); +end; + + +% Check that period of 50% response at least 5 yr +if p<5; + error('Period of 50% response must be at least 5 yr'); +end; + +sigma=p/6; % Gaussian curve should have this standard deviation + +x=-N:N; +b=normpdf(x/sigma,0,1); +bmax=max(b); +bkeep = b>=0.05*bmax; % keep weights at least 5% as big as central weight +b=b(bkeep); +b=b/sum(b); % force weights to sum to one + Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMHTMLFirefox.mhtml URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMHTMLFirefox.mhtml?rev=1722027&view=auto ============================================================================== --- tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMHTMLFirefox.mhtml (added) +++ tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMHTMLFirefox.mhtml Mon Dec 28 23:10:16 2015 @@ -0,0 +1,455 @@ +From: <Saved by Mozilla 5.0 (Windows; en-US)> +Subject: Aperture Framework +Date: Fri Mar 10 2006 13:40:00 GMT+0100 +MIME-Version: 1.0 +Content-Location: http://aperture.sourceforge.net/ +Content-Type: multipart/related; + boundary="----=_NextPart_000_0000_B40804DE.BBCA09DC"; + type="text/html" +X-MAF: Produced By MAF MHT Archive Handler V0.4.1 + +This is a multi-part message in MIME format. + +------=_NextPart_000_0000_B40804DE.BBCA09DC +Content-Type: text/html +Content-Transfer-Encoding: quoted-printable +Content-Location: http://aperture.sourceforge.net/ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/= +TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html><head><!-- This document is inspired by the content style at http://ww= +w.csszengarden.com --> + + + +<meta http-equiv=3D"content-type" content=3D"text/html; charset=3Diso-8859-1= +"> +<meta name=3D"author" content=3D"Leo Sauermann, Christiaan Fluit"> +<meta name=3D"keywords" content=3D"aperture, rdf, data"><title>Aperture Fram= +ework</title> + +<script type=3D"text/javascript"></script> +<link title=3D"Default" rel=3D"stylesheet" type=3D"text/css" href=3D"index_f= +iles/frontpage.css" media=3D"screen"> +<link title=3D"Default" rel=3D"stylesheet" type=3D"text/css" href=3D"index_f= +iles/print.css" media=3D"print"> +<link title=3D"Basic" rel=3D"alternate stylesheet" type=3D"text/css" href=3D= +"index_files/all.css" media=3D"all"></head><body> + +<div id=3D"header"> + +<h1>Aperture</h1> +<h2>a Java framework for getting data and metadata</h2> + +</div> <!-- header --> + +<div id=3D"content"> + +<div id=3D"preamble"> + +<p> +<b>Project name</b> +</p> + +<p> +From <a class=3D"ext-link" title=3D"http://www.webster.com/" href=3D"http://= +www.webster.com/">Merriam-Webster Online</a>: +</p> + +<p> +Main Entry: <strong>ap=B7er=B7ture</strong> +(sounds like <a class=3D"ext-link" title=3D"http://cougar.eb.com/sound/a/ape= +rtu01.wav" href=3D"http://cougar.eb.com/sound/a/apertu01.wav">this</a>)<br> +Pronunciation: 'ap-&(r)-"chur, -ch&r, -"tyur, -"tur<br> +Function: noun<br> +Etymology: Middle English, from Latin apertura, from apertus, past +participle of aperire to open<br> +</p> + +<ol> +<li>an opening or open space : HOLE</li> +<li>a : the opening in a photographic lens that admits the light<br> +b : the diameter of the stop in an optical system that determines the diamet= +er +of the bundle of rays traversing the instrument<br> +c : the diameter of the objective lens or mirror of a telescope</li> +</ol> + +</div> <!-- preamble --> + +<h2>News</h2> + +<p> +<b>March 6, 2006:</b> <a href=3D"https://sourceforge.net/project/showfiles.p= +hp?group_id=3D150969">Aperture +2006.1 alpha 2</a> released! +</p> + +<p> +This release adds support for crawling file systems, web sites, IMAP and Out= +look mail boxes. +Furthermore, the number of supported file formats has increased significantl= +y. +</p> + +<h2>Features</h2> + +<ul> +<li>Crawl information systems such as file systems, websites, mail boxes and= + mail servers</li> +<li>Extract full-text and metadata from many common file formats</li> +<li>View files in their native applications</li> +<li>Ease of use: easy to learn, easy to code, easy to deploy in industrial p= +rojects</li> +<li>Flexible architecture: can be extended with custom file formats, data so= +urces, etc., + with support for deployment on OSGi platforms</li> +<li>Data exchange based on Semantic Web standards (e.g. RDF, SPARQL, ...)</l= +i> +</ul> + +<h2>Supported File Formats</h2> + +<ul> +<li>Plain text</li> +<li>HTML, XHTML</li> +<li>XML</li> +<li>PDF (Portable Document Format)</li> +<li>RTF (Rich Text Format)</li> +<li>Microsoft Office: Word, Excel, Powerpoint, Visio, Publisher</li> +<li>Microsoft Works</li> +<li>OpenOffice 1.x: Writer, Calc, Impress, Draw</li> +<li>StarOffice 6.x - 7.x+: Writer, Calc, Impress, Draw</li> +<li>OpenDocument (OpenOffice 2.x, StarOffice 8.x)</li> +<li>Corel WordPerfect, Quattro, Presentations</li> +<li>Emails (.eml files)</li> +</ul> + +<h2>Crawlers</h2> + +<p> +Crawlers support the extraction of information from heterogenous data source= +s. +At the moment we support the following source types:</p> + +<ul> +<li>File Systems (local, remote, removeable media)</li> +<li>Websites and intranets</li> +<li>IMAP e-mail servers</li> +<li>Microsoft Outlook (alpha)</li> +</ul> + +<h2><a name=3D"support"></a>Support</h2> + +<p> +At this moment the project is still in alpha stage and we provide only limit= +ed support. +If you have any questions about the project, feel free to join the +<a href=3D"https://sourceforge.net/mail/?group_id=3D150969">development mail= +inglist</a> and ask us. +</p> + +<h2><a name=3D"development"></a>Development</h2> + +<p> +To use Aperture in your own projects, read the <a href=3D"http://aperture.so= +urceforge.net/documentation.html">documentation</a> +for information about requirements and code examples. +</p> + +<p> +If you are interested in contributing, feel free to contact the project admi= +ns or join the +<a href=3D"https://sourceforge.net/mail/?group_id=3D150969">development mail= +inglist</a>. +We are very interested in new extractors and other contributions including c= +rawlers. +</p> + +</div> <!-- content --> + +<div id=3D"sideBar"> + +<p> +Aperture is a Java framework for extracting and querying full-text +content and metadata from various information systems (e.g. file systems, +web sites, mail boxes) and the file formats (e.g. documents, images) +occurring in these systems. +</p> + +<h2>Contents</h2> + +<ul> +<li><a href=3D"http://aperture.sourceforge.net/index.html">Home</a></li> +<li><a href=3D"https://sourceforge.net/project/showfiles.php?group_id=3D1509= +69">Download</a></li> +<li><a href=3D"http://aperture.sourceforge.net/doc/javadoc/index.html">Javad= +oc</a></li> +<li><a href=3D"http://aperture.sourceforge.net/documentation.html">Documenta= +tion</a></li> +<li><a href=3D"http://aperture.sourceforge.net/faq.html">FAQ</a></li> +<li><a href=3D"http://aperture.sourceforge.net/index.html#support">Support</= +a></li> +<li><a href=3D"http://aperture.sourceforge.net/index.html#development">Devel= +opment</a></li> +<li><a href=3D"http://aperture.sourceforge.net/license.html">License</a></li= +> +</ul> + +<h2>Developed By</h2> + +<ul> +<li><a href=3D"http://aduna.biz/">Aduna</a></li> +<li><a href=3D"http://www.dfki.de/">DFKI</a></li> +</ul> + +<h2>Site Info</h2> + +<p> +Hosted by <a href=3D"http://sourceforge.net/">SourceForge.net</a> +</p> + +<p> +<a href=3D"http://sourceforge.net/"><img class=3D"logo" src=3D"index_files/s= +flogo.png" alt=3D"SourceForge.net Logo" height=3D"37" width=3D"125"></a> +</p> + +<p> +<br> +Graphical design by <a href=3D"http://www.pixul.net/">Pixul.net</a>. Used wi= +th permission. +</p> + +</div> <!-- sideBar --> + +<div id=3D"footer"> +<a href=3D"http://validator.w3.org/check/referer" title=3D"Check the validit= +y of this site’s XHTML">xhtml</a> +=A0<a href=3D"http://jigsaw.w3.org/css-validator/check/referer" title=3D"Che= +ck the validity of this site’s CSS">css</a> +</div> <!-- footer --> + +</body></html> + + +------=_NextPart_000_0000_B40804DE.BBCA09DC +Content-Type: text/css +Content-Transfer-Encoding: quoted-printable +Content-Location: index_files/all.css + +@import url(../w3-html40-recommended.css); + +img { +=09border: 0; +} + + + +------=_NextPart_000_0000_B40804DE.BBCA09DC +Content-Type: text/css +Content-Transfer-Encoding: quoted-printable +Content-Location: index_files/frontpage.css + +/* + Parts of this style-sheet are copied from the=20 + css Zen Garden submission 164 - 'Chien', by Alex Miller, http://www.pixul.n= +et/=20 + http://www.csszengarden.com/?cssfile=3D/164/164.css&page=3D2 +=20 + css released under Creative Commons License - http://creativecommons.org/li= +censes/by-nc-sa/1.0/=20 +*/ + +@import url(../w3-html40-recommended.css); + +html, body, div, ul, ol, p, li { +=09margin: 0; +=09border: 0; +=09padding: 0; +} + +html { +=09background-image: url(img/background.gif); +=09font-family: verdana, arial, serif; +=09font-size: 82%; +=09line-height: 120%; +=09color: #333; +} + +body { +=09background-image: url(img/containerbackground.gif); +=09background-repeat: repeat-y; +=09width: 590px; +=09margin-left: auto; +=09margin-right: auto; +=09padding: 0 38px 0 37px; +} + +ul, ol, p { +=09padding: 0 12px 10px 12px; +} + +ul, ol { +=09list-style-position: outside; +=09padding-left: 16px; +=09margin-left: 0px; +} + +li { +=09margin-left: 15px; +=09margin-bottom: 8px; +} + +h2 { +=09margin: 20px 0 15px 0; +=09padding: 0; +=09text-align: center; +=09font-size: 130%; +} + +img { +=09border: 0; +} + +a:link { +=09text-decoration: none; +=09color: #CC0000; +} +=09 +a:visited { +=09text-decoration: none; +=09color: #CC6666; +} +=09 +a:hover { +=09text-decoration: underline; +=09color: #CC0000; +} + +#header { +=09color: #d88; +=09background-color: rgb(156,26,0); +=09padding: 20px; +=09margin-bottom: 20px; +} + +#header h1 { + =09color: #eaa; +} + +#content { +=09float: left; +=09width: 389px; +} + +#content h2 { +=09text-align:center; +=09color: #ffffff; +=09background-image: url(img/bgheader-content.png); +=09background-position: left; +=09height: 28px; +=09padding-top: 6px; +} + +#sideBar { +=09float: right; +=09width: 192px; +} + +#sideBar h2 { +=09background-color: #f7b356; +=09color: #fff; +=09background-image: url(img/bgheader-sidebar.png); +=09background-position: left; +=09height: 28px; +=09padding-top: 6px; +} + +#preamble { +=09font-size: 82%; +=09color: #996666; +} + +#footer { +=09clear: both; +=09border-top: 1px solid #999; +=09padding: 6px 0 6px 0; +=09background-color: #FFF; +=09font-weight: bold; +=09text-align: center; +} + + + +------=_NextPart_000_0000_B40804DE.BBCA09DC +Content-Type: text/css +Content-Transfer-Encoding: quoted-printable +Content-Location: index_files/print.css + +html, body { +=09color: #000; +=09background: #fff; +=09font-family: "Times New Roman", "Times", serif; +=09font-size: 100%; +=09line-height: 110%; +} + + +------=_NextPart_000_0000_B40804DE.BBCA09DC +Content-Type: image/png +Content-Transfer-Encoding: base64 +Content-Location: index_files/sflogo.png + +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 + +------=_NextPart_000_0000_B40804DE.BBCA09DC-- Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMID.mid URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMID.mid?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMID.mid ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMKV.mkv URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMKV.mkv?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMKV.mkv ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3i18n.mp3 URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3i18n.mp3?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3i18n.mp3 ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3id3v1.mp3 URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3id3v1.mp3?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3id3v1.mp3 ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3id3v1_v2.mp3 URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3id3v1_v2.mp3?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3id3v1_v2.mp3 ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3id3v2.mp3 URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3id3v2.mp3?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3id3v2.mp3 ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3id3v24.mp3 URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3id3v24.mp3?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3id3v24.mp3 ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3lyrics.mp3 URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3lyrics.mp3?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3lyrics.mp3 ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3noid3.mp3 URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3noid3.mp3?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3noid3.mp3 ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3truncated.mp3 URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3truncated.mp3?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP3truncated.mp3 ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP4.m4a URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP4.m4a?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMP4.m4a ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMSG.msg URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMSG.msg?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMSG.msg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMSG_att_doc.msg URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMSG_att_doc.msg?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMSG_att_doc.msg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMSG_att_msg.msg URL: http://svn.apache.org/viewvc/tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMSG_att_msg.msg?rev=1722027&view=auto ============================================================================== Binary file - no diff available. Propchange: tika/branches/2.x/tika-parser-test/src/main/resources/test-documents/testMSG_att_msg.msg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream
