Release of libxml-1.1, Daniel.
diff --git a/result/SVG/4rects.xml b/result/SVG/4rects.xml
new file mode 100644
index 0000000..dfaa02d
--- /dev/null
+++ b/result/SVG/4rects.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>Four separate rectangles
+ </desc>
+ <rect width="20" height="60"/>
+ <rect width="30" height="70"/>
+ <rect width="40" height="80"/>
+ <rect width="50" height="90"/>
+</svg>
diff --git a/result/SVG/a-valid.xml b/result/SVG/a-valid.xml
new file mode 100644
index 0000000..8f4a204
--- /dev/null
+++ b/result/SVG/a-valid.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>This valid svg document draws a triangle which is a hyperlink
+ </desc>
+ <a href="http://www.w3.org">
+ <p d="M 0 0 L 200 0 L 100 200 Z"/>
+ </a>
+</svg>
diff --git a/result/SVG/a-wf.xml b/result/SVG/a-wf.xml
new file mode 100644
index 0000000..c4301bb
--- /dev/null
+++ b/result/SVG/a-wf.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" standalone="yes"?>
+<svg xmlns="http://www.w3.org/Graphics/SVG/svg-19990412.dtd" width="4in" height="3in">
+ <desc>This well formed svg document draws a triangle which is a hyperlink
+ </desc>
+ <a link="simple" show="replace" actuate="user" href="http://www.w3.org">
+ <p d="M 0 0 L 200 0 L 100 200 Z"/>
+ </a>
+</svg>
diff --git a/result/SVG/bike-errors.xml b/result/SVG/bike-errors.xml
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/result/SVG/bike-errors.xml
diff --git a/result/SVG/bike.xml b/result/SVG/bike.xml
new file mode 100644
index 0000000..f74034b
--- /dev/null
+++ b/result/SVG/bike.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <title>Kona Lavadome mountain bike
+ </title>
+ <desc>This picture shows a mountain bike, a human-propelled,
+ multi-terrain vehicle. While it can be succesfully used on moorland,
+ forest, roads, and large hills it is not actually suitable for going
+ up mountains.
+ </desc>
+ <g id="bike">
+ <defs>
+ <symbol id="spoke">
+ <desc>14/12 gauge double butted spoke</desc>
+ </symbol>
+ <symbol id="hub">
+ <desc>black anodised low torsion hub</desc>
+ </symbol>
+ <symbol id="rim">
+ <desc>twin wall, eyeletted rim</desc>
+ </symbol>
+ <symbol id="cogs">
+ <desc>8 speed, wide ratio gearing</desc>
+ </symbol>
+ <symbol id="lacing">
+ <desc>double cross lacing of 32 spokes</desc>
+ </symbol>
+ </defs>
+ <g id="frontwheel">
+ <title>Front wheel</title>
+ <desc>The front wheel provides grip, steering and some shock absorption</desc>
+ <use href="id(lacing)" style="rotation: 20deg; fillcolor: black"/>
+ </g>
+ <g id="backwheel"/>
+ <g id="frame"/>
+ </g>
+</svg>
diff --git a/result/SVG/circle.xml b/result/SVG/circle.xml
new file mode 100644
index 0000000..ae7d545
--- /dev/null
+++ b/result/SVG/circle.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>This is a blue circle with a red outline
+ </desc>
+ <g>
+ <circle style="fill: blue; stroke: red" cx="200" cy="200" r="100"/>
+ </g>
+</svg>
diff --git a/result/SVG/defs.xml b/result/SVG/defs.xml
new file mode 100644
index 0000000..ba48572
--- /dev/null
+++ b/result/SVG/defs.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <defs>
+ <rect id="TemplateObject01" width="100" height="37.34"/>
+ <lineargradient id="Gradient01">
+ <gradientstop offset="30%" color="#39F"/>
+ </lineargradient>
+ </defs>
+ <desc>Defining things for later use
+ </desc>
+</svg>
diff --git a/result/SVG/desc.xml b/result/SVG/desc.xml
new file mode 100644
index 0000000..ed598b9
--- /dev/null
+++ b/result/SVG/desc.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg SYSTEM "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <g>
+ <title>
+ Company sales by region
+ </title>
+ <desc>
+ This is a bar chart which shows
+ company sales by region.
+ </desc>
+ </g>
+</svg>
diff --git a/result/SVG/ellipse.xml b/result/SVG/ellipse.xml
new file mode 100644
index 0000000..1f72346
--- /dev/null
+++ b/result/SVG/ellipse.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>This is an ellipse, axis aligned and centered on the origin
+ </desc>
+ <g>
+ <ellipse major="85" minor="45"/>
+ </g>
+</svg>
diff --git a/result/SVG/flower2.xml b/result/SVG/flower2.xml
new file mode 100644
index 0000000..f8970db
--- /dev/null
+++ b/result/SVG/flower2.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="800px" height="800px">
+ <desc>This sample SVG file draws a flower</desc>
+ <g style="transform: matrix(1 0 0 -1 -25.88 798.60);
+ stroke: #000; stroke-width: 1">
+ <path style="fill: #1A5466" d="m 242.33 684.19
+ C 346.44 757.48 271.45 647.38 213.17 641.37
+ C 271.45 647.38 383.43 575.21 256.71 613.30
+ C 383.43 575.21 251.04 565.90 205.23 609.68
+ C 251.04 565.90 265.13 432.88 210.71 557.95
+ C 265.13 432.88 175.04 531.37 175.67 596.26
+ C 175.04 531.37 80.63 437.67 138.96 559.82
+ C 80.63 437.67 100.67 569.80 146.75 611.20
+ C 100.67 569.80 -31.14 585.98 95.49 617.49
+ C -31.14 585.98 83.94 652.25 140.24 643.26
+ C 83.94 652.25 13.98 766.12 113.04 687.55
+ C 13.98 766.12 137.45 716.63 161.05 668.30
+ C 137.45 716.63 182.02 842.45 178.39 717.23
+ C 182.02 842.45 220.90 714.46 193.51 667.46
+ C 220.90 714.46 346.44 757.48 242.33 684.19 z"/>
+ <path style="fill: #34AACD" d="M 235.33 691.19
+ C 339.44 764.48 264.45 654.38 206.17 648.37
+ C 264.45 654.38 376.43 582.21 249.71 620.30
+ C 376.43 582.21 244.04 572.90 198.23 616.68
+ C 244.04 572.90 258.13 439.88 203.71 564.95
+ C 258.13 439.88 168.04 538.37 168.67 603.26
+ C 168.04 538.37 73.63 444.67 131.96 566.82
+ C 73.63 444.67 93.67 576.80 139.75 618.20
+ C 93.67 576.80 -38.14 592.98 88.49 624.49
+ C -38.14 592.98 76.94 659.25 133.24 650.26
+ C 76.94 659.25 6.98 773.12 106.04 694.55
+ C 6.98 773.12 130.45 723.63 154.05 675.30
+ C 130.45 723.63 175.02 849.45 171.39 724.23
+ C 175.02 849.45 213.90 721.46 186.51 674.46
+ C 213.90 721.46 339.44 764.48 235.33 691.19 z"/>
+ <path style="fill: #F881BF" d="M 199.44 634.43
+ C 199.44 622.16 189.19 612.21 176.54 612.21
+ C 163.89 612.21 153.63 622.16 153.63 634.43
+ C 153.63 646.71 163.89 656.66 176.54 656.66
+ C 189.19 656.66 199.44 646.71 199.44 634.43 z"/>
+ </g>
+</svg>
diff --git a/result/SVG/gradient.xml b/result/SVG/gradient.xml
new file mode 100644
index 0000000..1905b60
--- /dev/null
+++ b/result/SVG/gradient.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>Gradient example
+ </desc>
+ <g>
+ <defs>
+ <lineargradient id="MyGradient">
+ <gradientstop offset="0%" color="#F60"/>
+ <gradientstop offset="70%" color="#FF6"/>
+ </lineargradient>
+ </defs>
+ <rect style="fill: url(#MyGradient)" width="20" height="15.8"/>
+ </g>
+</svg>
diff --git a/result/SVG/group01.xml b/result/SVG/group01.xml
new file mode 100644
index 0000000..f39ad88
--- /dev/null
+++ b/result/SVG/group01.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>Two groups, each of two rectangles
+ </desc>
+ <g style="fillcolor:red">
+ <rect x="100" y="100" width="100" height="100"/>
+ <rect x="300" y="100" width="100" height="100"/>
+ </g>
+ <g style="fillcolor:blue">
+ <rect x="100" y="300" width="100" height="100"/>
+ <rect x="300" y="300" width="100" height="100"/>
+ </g>
+</svg>
diff --git a/result/SVG/group02.xml b/result/SVG/group02.xml
new file mode 100644
index 0000000..85e1f52
--- /dev/null
+++ b/result/SVG/group02.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>Two named groups
+ </desc>
+ <g id="OBJECT1">
+ <rect x="100" y="100" width="100" height="100"/>
+ </g>
+ <g id="OBJECT2">
+ <circle cx="150" cy="300" r="25"/>
+ </g>
+</svg>
diff --git a/result/SVG/group03.xml b/result/SVG/group03.xml
new file mode 100644
index 0000000..20d75ad
--- /dev/null
+++ b/result/SVG/group03.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>Groups can nest
+ </desc>
+ <g>
+ <g>
+ <g/>
+ </g>
+ </g>
+</svg>
diff --git a/result/SVG/image-valid.xml b/result/SVG/image-valid.xml
new file mode 100644
index 0000000..d45d229
--- /dev/null
+++ b/result/SVG/image-valid.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>This graphic links to an external image
+ </desc>
+ <image x="200" y="200" style="width: 100px; height: 100px" href="myimage.png">
+ <title>My image</title>
+ </image>
+</svg>
diff --git a/result/SVG/image-wf.xml b/result/SVG/image-wf.xml
new file mode 100644
index 0000000..54c8df1
--- /dev/null
+++ b/result/SVG/image-wf.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" standalone="yes"?>
+<svg xmlns="http://www.w3.org/Graphics/SVG/svg-19990412.dtd" width="4in" height="3in">
+ <desc>This links to an external image
+ </desc>
+ <image x="200" y="200" style="width: 100px; height: 100px" link="simple" show="embed" actuate="auto" href="myimage.png">
+ <title>My image</title>
+ </image>
+</svg>
diff --git a/result/SVG/lin-gradient.xml b/result/SVG/lin-gradient.xml
new file mode 100644
index 0000000..645bdce
--- /dev/null
+++ b/result/SVG/lin-gradient.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>Linear gradient example
+ </desc>
+ <g>
+ <defs>
+ <lineargradient id="MyGradient">
+ <gradientstop offset="0%" color="#F60"/>
+ <gradientstop offset="70%" color="#FF6"/>
+ </lineargradient>
+ </defs>
+ <rect style="fill: url(#MyGradient)" width="20" height="15.8"/>
+ </g>
+</svg>
diff --git a/result/SVG/marker.xml b/result/SVG/marker.xml
new file mode 100644
index 0000000..013c5cd
--- /dev/null
+++ b/result/SVG/marker.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <defs>
+ <symbol id="Triangle" min-x="0" min-y="0" max-x="100" max-y="100" ref-x="0" ref-y="50">
+ <path d="M 0 0 L 0 100 L 100 50 z"/>
+ </symbol>
+ </defs>
+ <desc>An double-headed arrow example using markers
+ </desc>
+ <path d="M0 0">
+ <marker href="#Triangle" width="200" height="200" style="text-transform: rotate(180)"/>
+ <data d="M 2000 2000"/>
+ <marker href=""/>
+ <data d="L 4000 2000 L 4000 4000"/>
+ <marker href="#Triangle" width="200" height="200"/>
+ <data d="L 6000 4000"/>
+ </path>
+</svg>
diff --git a/result/SVG/mask.xml b/result/SVG/mask.xml
new file mode 100644
index 0000000..1204e06
--- /dev/null
+++ b/result/SVG/mask.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>Example of using a mask
+ </desc>
+ <g>
+ <defs>
+ <image id="MyMask" href="transp.png"/>
+ </defs>
+ <rect style="mask: url(#MyMask)" width="12.5" height="30"/>
+ </g>
+</svg>
diff --git a/result/SVG/mathswitch.xml b/result/SVG/mathswitch.xml
new file mode 100644
index 0000000..8f4e539
--- /dev/null
+++ b/result/SVG/mathswitch.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" standalone="yes"?>
+<svg xmlns="http://www.w3.org/Graphics/SVG/svg-19990412.dtd" width="4in" height="3in">
+ <desc>This example uses the switch element to provide a
+ fallback graphical representation of an equation, if
+ MathML is not supported.
+ </desc>
+ <switch>
+ <foreignobject system-required="http://www.w3.org/TR/REC-MathML-19980407" width="100" height="50"/>
+ <g>
+ <rect style="fill: red"/>
+ <text>Formula goes here</text>
+ </g>
+ </switch>
+</svg>
diff --git a/result/SVG/parentns.xml b/result/SVG/parentns.xml
new file mode 100644
index 0000000..b204637
--- /dev/null
+++ b/result/SVG/parentns.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<ABC xmlns="http://parent.name.space" xmlns:svg="http://www.w3.org/Graphics/SVG/1.0">
+ <svg:svg width="40%" height="40%">
+ <svg:rectangle width="43.6" height="31.5"/>
+ </svg:svg>
+</ABC>
diff --git a/result/SVG/path01.xml b/result/SVG/path01.xml
new file mode 100644
index 0000000..646940b
--- /dev/null
+++ b/result/SVG/path01.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" standalone="yes"?>
+<svg xmlns="http://www.w3.org/Graphics/SVG/svg-19990412.dtd" width="4in" height="3in">
+ <path d="M 100 100 L 140 100 L 120 140 z"/>
+</svg>
diff --git a/result/SVG/path02.xml b/result/SVG/path02.xml
new file mode 100644
index 0000000..b74f975
--- /dev/null
+++ b/result/SVG/path02.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <path d="M 100 100">
+ <data d="L 140 100"/>
+ <data d="L 120 140"/>
+ <data d="z"/>
+ </path>
+</svg>
diff --git a/result/SVG/patternfill.xml b/result/SVG/patternfill.xml
new file mode 100644
index 0000000..425b361
--- /dev/null
+++ b/result/SVG/patternfill.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <defs>
+ <symbol id="fourstar"/>
+ </defs>
+ <ellipse style="fill: url(#fourstar)" major="40" minor="27"/>
+</svg>
diff --git a/result/SVG/polyline.xml b/result/SVG/polyline.xml
new file mode 100644
index 0000000..9fa4071
--- /dev/null
+++ b/result/SVG/polyline.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>A sample polyline, and equivalent path
+ </desc>
+ <polyline verts="20,20 50,100 200,80 70,300"/>
+ <path d="M20,20 L50,100 L200,80 L70,300"/>
+</svg>
diff --git a/result/SVG/private.xml b/result/SVG/private.xml
new file mode 100644
index 0000000..e69fc46
--- /dev/null
+++ b/result/SVG/private.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" standalone="yes"?>
+<svg xmlns="http://www.w3.org/Graphics/SVG/svg-19990412.dtd" width="4in" height="3in">
+ <defs>
+ <private xmlns:myapp="http://mycompany/mapapp">
+ <myapp:piechart title="Sales by Region">
+ <myapp:piece label="Northern Region" value="1.23"/>
+ <myapp:piece label="Eastern Region" value="2.53"/>
+ <myapp:piece label="Southern Region" value="3.89"/>
+ <myapp:piece label="Western Region" value="2.04"/>
+ </myapp:piechart>
+ </private>
+ </defs>
+ <desc>This chart includes private data in another namespace
+ </desc>
+</svg>
diff --git a/result/SVG/rad-gradient.xml b/result/SVG/rad-gradient.xml
new file mode 100644
index 0000000..d5aadf0
--- /dev/null
+++ b/result/SVG/rad-gradient.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>Radial gradient example with three gradient stops
+ </desc>
+ <g>
+ <defs>
+ <radialgradient id="MyGradient">
+ <gradientstop offset="0%" color="white"/>
+ <gradientstop offset="50%" color="red"/>
+ <gradientstop offset="100%" color="black"/>
+ </radialgradient>
+ </defs>
+ <circle style="fill: url(#MyGradient)" r="42"/>
+ </g>
+</svg>
diff --git a/result/SVG/rectangle.xml b/result/SVG/rectangle.xml
new file mode 100644
index 0000000..919cd23
--- /dev/null
+++ b/result/SVG/rectangle.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>This is a rectangle
+ </desc>
+ <g>
+ <rect x="20" y="30" width="100" height="80"/>
+ </g>
+</svg>
diff --git a/result/SVG/richdesc.xml b/result/SVG/richdesc.xml
new file mode 100644
index 0000000..e2a15d9
--- /dev/null
+++ b/result/SVG/richdesc.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" standalone="yes"?>
+<svg xmlns="http://www.w3.org/Graphics/SVG/svg-19990412.dtd" width="4in" height="3in">
+ <desc xmlns:mydoc="http://foo.org/mydoc">
+ <mydoc:title>This is an example SVG file</mydoc:title>
+ <mydoc:para>The global description uses markup from the
+
+ <mydoc:emph>mydoc</mydoc:emph>
+ namespace. </mydoc:para>
+ </desc>
+ <g/>
+</svg>
diff --git a/result/SVG/script.xml b/result/SVG/script.xml
new file mode 100644
index 0000000..133c0a0
--- /dev/null
+++ b/result/SVG/script.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <defs>
+ <script>
+ /* Beep on mouseclick */
+ MouseClickHandler() { beep(); }
+ >
+ </script>
+ </defs>
+ <circle onclick="MouseClickHandler()" r="85"/>
+</svg>
diff --git a/result/SVG/structure01.xml b/result/SVG/structure01.xml
new file mode 100644
index 0000000..a60174a
--- /dev/null
+++ b/result/SVG/structure01.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" standalone="yes"?>
+<parent xmlns="http://someplace.org" xmlns:svg="http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+ <svg:svg width="5cm" height="8cm">
+ <svg:ellipse major="200" minor="130"/>
+ </svg:svg>
+</parent>
diff --git a/result/SVG/style.xml b/result/SVG/style.xml
new file mode 100644
index 0000000..80dfa42
--- /dev/null
+++ b/result/SVG/style.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <defs>
+ <style>
+ .TitleText { font-size: 16; font-family: Helvetica } >
+ </style>
+ </defs>
+ <text class="TitleText">Here is my title</text>
+</svg>
diff --git a/result/SVG/switch.xml b/result/SVG/switch.xml
new file mode 100644
index 0000000..383a47f
--- /dev/null
+++ b/result/SVG/switch.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" standalone="yes"?>
+<smil>
+ <body>
+ <switch>
+ <ref system-required="http://www.w3.org/Graphics/SVG/svg-19990412.dtd" type="image/svg" src="drawing.svg"/>
+ <img src="alternate_image.jpg"/>
+ </switch>
+ </body>
+</smil>
diff --git a/result/SVG/symbol-use.xml b/result/SVG/symbol-use.xml
new file mode 100644
index 0000000..9265a66
--- /dev/null
+++ b/result/SVG/symbol-use.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <defs>
+ <symbol id="TemplateObject01"/>
+ </defs>
+ <desc>Examples of inline and referenced content
+ </desc>
+ <g/>
+ <use href="#TemplateObject01"/>
+ <g>
+ <use href="#TemplateObject01"/>
+ </g>
+</svg>
diff --git a/result/SVG/template.xml b/result/SVG/template.xml
new file mode 100644
index 0000000..f844b48
--- /dev/null
+++ b/result/SVG/template.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/Graphics/SVG/svg-19990412.dtd" width="4in" height="3in">
+ <desc>This well formed svg document contains a hyperlink
+ </desc>
+ <a link="simple" show="replace" actuate="user" href="http://www.w3.org">
+ <p d="M 0 0 L 200 0 L 100 200 Z"/>
+ </a>
+</svg>
diff --git a/result/SVG/text01.xml b/result/SVG/text01.xml
new file mode 100644
index 0000000..0e2b44b
--- /dev/null
+++ b/result/SVG/text01.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <defs>
+ <text id="TextToUse">XYZ</text>
+ </defs>
+ <text>ABC</text>
+ <text>
+ <src href="#TextToUse"/>
+ </text>
+</svg>
diff --git a/result/SVG/text02.xml b/result/SVG/text02.xml
new file mode 100644
index 0000000..9656ea5
--- /dev/null
+++ b/result/SVG/text02.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" standalone="yes"?>
+<svg xmlns="http://www.w3.org/Graphics/SVG/svg-19990412.dtd" width="4in" height="3in">
+ <defs>
+ <textflow id="TF1">
+ <t href="#T1"/>
+ <t href="#T3"/>
+ </textflow>
+ <textflow id="TF2">
+ <t href="#T2"/>
+ <t href="#T4"/>
+ </textflow>
+ </defs>
+ <text x="100" y="100" id="T1">
+ <tf href="#TF1">123</tf>
+ </text>
+ <text x="100" y="200" id="T2">
+ <tf href="#TF2">ABC</tf>
+ </text>
+ <text x="150" y="100" id="T3">
+ <tf href="#TF1">456</tf>
+ </text>
+ <text x="150" y="200" id="T4">
+ <tf href="#TF2">DEF</tf>
+ </text>
+</svg>
diff --git a/result/SVG/text03.xml b/result/SVG/text03.xml
new file mode 100644
index 0000000..be92031
--- /dev/null
+++ b/result/SVG/text03.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" standalone="yes"?>
+<svg xmlns="http://www.w3.org/Graphics/SVG/svg-19990412.dtd" width="4in" height="3in">
+ <textflow id="TF1">
+ <text x="100" y="100">123</text>
+ <text>456</text>
+ </textflow>
+</svg>
diff --git a/result/SVG/toap01.xml b/result/SVG/toap01.xml
new file mode 100644
index 0000000..778d92f
--- /dev/null
+++ b/result/SVG/toap01.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>Simple text on a path
+ </desc>
+ <path id="MyPath" style="visibility: hidden" d="M 100 100 C 125 125 175 125 200 100"/>
+ <text>
+ <textpath href="#MyPath"/>
+Text on path </text>
+</svg>
diff --git a/result/SVG/toap02.xml b/result/SVG/toap02.xml
new file mode 100644
index 0000000..c62aa04
--- /dev/null
+++ b/result/SVG/toap02.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <defs>
+ <symbol id="Triangle1" min-x="0" min-y="0" max-x="300" max-y="200">
+ <path d="M 50 0 L 50 200 L 250 0 z"/>
+ </symbol>
+ <symbol id="Triangle2" min-x="0" min-y="0" max-x="300" max-y="200">
+ <path d="M 50 0 L 250 200 L 250 0 z"/>
+ </symbol>
+ </defs>
+ <desc>General graphics on a path
+ </desc>
+ <text>
+ <textpath href="#MyPath"/>
+ <use href="#Triangle1"/>
+ <use href="#Triangle2"/>
+ <use href="#Triangle1"/>
+ <use href="#Triangle2"/>
+ <use href="#Triangle1"/>
+ <use href="#Triangle2"/>
+ <use href="#Triangle1"/>
+ <use href="#Triangle2"/>
+ <use href="#Triangle1"/>
+ <use href="#Triangle2"/>
+ </text>
+</svg>
diff --git a/result/SVG/transform.xml b/result/SVG/transform.xml
new file mode 100644
index 0000000..65712ac
--- /dev/null
+++ b/result/SVG/transform.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>Demonstration of coordinate transforms
+ </desc>
+ <text style="font-size: 12">This prints 12 pixels high.</text>
+ <text style="font-size: 12px">This prints 12 pixels high.</text>
+ <g style="transform: scale(2)">
+ <text style="font-size: 12">This prints 24 pixels high.</text>
+ <text style="font-size: 12px">This prints 12 pixels high.</text>
+ </g>
+</svg>
diff --git a/result/SVG/trivial.xml b/result/SVG/trivial.xml
new file mode 100644
index 0000000..2ff9a37
--- /dev/null
+++ b/result/SVG/trivial.xml
@@ -0,0 +1,2 @@
+<?xml version="1.0" standalone="yes"?>
+<svg xmlns="http://www.w3.org/Graphics/SVG/svg-19990412.dtd" width="4in" height="3in"/>
diff --git a/result/SVG/twin-gradients.xml b/result/SVG/twin-gradients.xml
new file mode 100644
index 0000000..5ce25cc
--- /dev/null
+++ b/result/SVG/twin-gradients.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>Gradients apply to leaf nodes
+ </desc>
+ <g>
+ <defs>
+ <lineargradient id="MyGradient">
+ <gradientstop offset="0%" color="#F60"/>
+ <gradientstop offset="70%" color="#FF6"/>
+ </lineargradient>
+ </defs>
+ <g style="fill: url(#MyGradient)">
+ <rect width="20" height="15.8"/>
+ <rect width="35" height="8"/>
+ </g>
+ </g>
+</svg>
diff --git a/result/SVG/v-template.xml b/result/SVG/v-template.xml
new file mode 100644
index 0000000..20d19fc
--- /dev/null
+++ b/result/SVG/v-template.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc/>
+ <g/>
+</svg>
diff --git a/result/SVG/viewport-nest.xml b/result/SVG/viewport-nest.xml
new file mode 100644
index 0000000..c742635
--- /dev/null
+++ b/result/SVG/viewport-nest.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>This SVG drawing embeds another one,
+ thus establishing a new viewport
+ </desc>
+ <svg style="left: 25%; top: 25%" width="50%" height="50%"/>
+</svg>
diff --git a/result/SVG/viewport-transform.xml b/result/SVG/viewport-transform.xml
new file mode 100644
index 0000000..5acbc4c
--- /dev/null
+++ b/result/SVG/viewport-transform.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="300px" height="3oopx">
+ <desc>Transformation with establishment of a new viewport
+ </desc>
+ <text style="font-size: 12">This prints 12 pixels high.</text>
+ <text style="font-size: 12px">This prints 12 pixels high.</text>
+ <g style="transform: scale(2)">
+ <text style="font-size: 12">This prints 24 pixels high.</text>
+ <text style="font-size: 12px">This prints 12 pixels high.</text>
+ </g>
+ <g style="transform: scale(3)">
+ <svg style="left:0; top:0; right:100; bottom:100" width="100%" height="100%">
+ <text style="font-size: 12">This prints 36 pixels high.</text>
+ <text style="font-size: 12px">This prints 36 pixels high.</text>
+ </svg>
+ </g>
+</svg>
diff --git a/result/SVG/viewport.xml b/result/SVG/viewport.xml
new file mode 100644
index 0000000..26bb86c
--- /dev/null
+++ b/result/SVG/viewport.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" standalone="yes"?>
+<parent xmlns="http://some.url">
+ <svg xmlns="http://www.w3.org/Graphics/SVG/svg-19990412.dtd" width="100px" height="200px">
+ <path d="M100,100 Q200,400,300,100"/>
+ </svg>
+</parent>
diff --git a/result/SVG/wf-template.xml b/result/SVG/wf-template.xml
new file mode 100644
index 0000000..d30d8de
--- /dev/null
+++ b/result/SVG/wf-template.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" standalone="yes"?>
+<svg xmlns="http://www.w3.org/Graphics/SVG/svg-19990412.dtd" width="4in" height="3in">
+ <desc/>
+</svg>
diff --git a/result/dia1 b/result/dia1
new file mode 100644
index 0000000..207bd73
--- /dev/null
+++ b/result/dia1
@@ -0,0 +1,99 @@
+<?xml version="1.0"?>
+<dia:diagram xmlns:dia="http://www.lysator.liu.se/~alla/dia/">
+ <dia:diagramdata>
+ <dia:attribute name="background">
+ <dia:color val="#ffffff"/>
+ </dia:attribute>
+ </dia:diagramdata>
+ <dia:layer name="Background" visible="true">
+ <dia:object type="Standard - Line" version="0" id="O0">
+ <dia:attribute name="obj_pos">
+ <dia:point val="1.95,6.85"/>
+ </dia:attribute>
+ <dia:attribute name="obj_bb">
+ <dia:rectangle val="1.9,6.8;11,8.55"/>
+ </dia:attribute>
+ <dia:attribute name="conn_endpoints">
+ <dia:point val="1.95,6.85"/>
+ <dia:point val="10.95,8.5"/>
+ </dia:attribute>
+ <dia:attribute name="line_color">
+ <dia:color val="#000000"/>
+ </dia:attribute>
+ <dia:attribute name="line_width">
+ <dia:real val="0.1"/>
+ </dia:attribute>
+ <dia:attribute name="line_style">
+ <dia:enum val="0"/>
+ </dia:attribute>
+ <dia:attribute name="start_arrow">
+ <dia:enum val="0"/>
+ </dia:attribute>
+ <dia:attribute name="end_arrow">
+ <dia:enum val="0"/>
+ </dia:attribute>
+ <dia:connections>
+ <dia:connection handle="1" to="O2" connection="3"/>
+ </dia:connections>
+ </dia:object>
+ <dia:object type="Standard - Text" version="0" id="O1">
+ <dia:attribute name="obj_pos">
+ <dia:point val="4.8,4.75"/>
+ </dia:attribute>
+ <dia:attribute name="obj_bb">
+ <dia:rectangle val="2.579,3.96359;7.021,4.96359"/>
+ </dia:attribute>
+ <dia:attribute name="text">
+ <dia:composite type="text">
+ <dia:attribute name="string">
+ <dia:string val="sdfsdfg"/>
+ </dia:attribute>
+ <dia:attribute name="font">
+ <dia:font name="Courier"/>
+ </dia:attribute>
+ <dia:attribute name="height">
+ <dia:real val="1"/>
+ </dia:attribute>
+ <dia:attribute name="pos">
+ <dia:point val="4.8,4.75"/>
+ </dia:attribute>
+ <dia:attribute name="color">
+ <dia:color val="#000000"/>
+ </dia:attribute>
+ <dia:attribute name="alignment">
+ <dia:enum val="1"/>
+ </dia:attribute>
+ </dia:composite>
+ </dia:attribute>
+ </dia:object>
+ <dia:object type="Standard - Box" version="0" id="O2">
+ <dia:attribute name="obj_pos">
+ <dia:point val="10.95,7.5"/>
+ </dia:attribute>
+ <dia:attribute name="obj_bb">
+ <dia:rectangle val="10.9,7.45;13.05,9.55"/>
+ </dia:attribute>
+ <dia:attribute name="elem_corner">
+ <dia:point val="10.95,7.5"/>
+ </dia:attribute>
+ <dia:attribute name="elem_width">
+ <dia:real val="2.05"/>
+ </dia:attribute>
+ <dia:attribute name="elem_height">
+ <dia:real val="2"/>
+ </dia:attribute>
+ <dia:attribute name="border_width">
+ <dia:real val="0.1"/>
+ </dia:attribute>
+ <dia:attribute name="border_color">
+ <dia:color val="#000000"/>
+ </dia:attribute>
+ <dia:attribute name="inner_color">
+ <dia:color val="#ffffff"/>
+ </dia:attribute>
+ <dia:attribute name="line_style">
+ <dia:enum val="0"/>
+ </dia:attribute>
+ </dia:object>
+ </dia:layer>
+</dia:diagram>
diff --git a/result/dia2 b/result/dia2
new file mode 100644
index 0000000..207bd73
--- /dev/null
+++ b/result/dia2
@@ -0,0 +1,99 @@
+<?xml version="1.0"?>
+<dia:diagram xmlns:dia="http://www.lysator.liu.se/~alla/dia/">
+ <dia:diagramdata>
+ <dia:attribute name="background">
+ <dia:color val="#ffffff"/>
+ </dia:attribute>
+ </dia:diagramdata>
+ <dia:layer name="Background" visible="true">
+ <dia:object type="Standard - Line" version="0" id="O0">
+ <dia:attribute name="obj_pos">
+ <dia:point val="1.95,6.85"/>
+ </dia:attribute>
+ <dia:attribute name="obj_bb">
+ <dia:rectangle val="1.9,6.8;11,8.55"/>
+ </dia:attribute>
+ <dia:attribute name="conn_endpoints">
+ <dia:point val="1.95,6.85"/>
+ <dia:point val="10.95,8.5"/>
+ </dia:attribute>
+ <dia:attribute name="line_color">
+ <dia:color val="#000000"/>
+ </dia:attribute>
+ <dia:attribute name="line_width">
+ <dia:real val="0.1"/>
+ </dia:attribute>
+ <dia:attribute name="line_style">
+ <dia:enum val="0"/>
+ </dia:attribute>
+ <dia:attribute name="start_arrow">
+ <dia:enum val="0"/>
+ </dia:attribute>
+ <dia:attribute name="end_arrow">
+ <dia:enum val="0"/>
+ </dia:attribute>
+ <dia:connections>
+ <dia:connection handle="1" to="O2" connection="3"/>
+ </dia:connections>
+ </dia:object>
+ <dia:object type="Standard - Text" version="0" id="O1">
+ <dia:attribute name="obj_pos">
+ <dia:point val="4.8,4.75"/>
+ </dia:attribute>
+ <dia:attribute name="obj_bb">
+ <dia:rectangle val="2.579,3.96359;7.021,4.96359"/>
+ </dia:attribute>
+ <dia:attribute name="text">
+ <dia:composite type="text">
+ <dia:attribute name="string">
+ <dia:string val="sdfsdfg"/>
+ </dia:attribute>
+ <dia:attribute name="font">
+ <dia:font name="Courier"/>
+ </dia:attribute>
+ <dia:attribute name="height">
+ <dia:real val="1"/>
+ </dia:attribute>
+ <dia:attribute name="pos">
+ <dia:point val="4.8,4.75"/>
+ </dia:attribute>
+ <dia:attribute name="color">
+ <dia:color val="#000000"/>
+ </dia:attribute>
+ <dia:attribute name="alignment">
+ <dia:enum val="1"/>
+ </dia:attribute>
+ </dia:composite>
+ </dia:attribute>
+ </dia:object>
+ <dia:object type="Standard - Box" version="0" id="O2">
+ <dia:attribute name="obj_pos">
+ <dia:point val="10.95,7.5"/>
+ </dia:attribute>
+ <dia:attribute name="obj_bb">
+ <dia:rectangle val="10.9,7.45;13.05,9.55"/>
+ </dia:attribute>
+ <dia:attribute name="elem_corner">
+ <dia:point val="10.95,7.5"/>
+ </dia:attribute>
+ <dia:attribute name="elem_width">
+ <dia:real val="2.05"/>
+ </dia:attribute>
+ <dia:attribute name="elem_height">
+ <dia:real val="2"/>
+ </dia:attribute>
+ <dia:attribute name="border_width">
+ <dia:real val="0.1"/>
+ </dia:attribute>
+ <dia:attribute name="border_color">
+ <dia:color val="#000000"/>
+ </dia:attribute>
+ <dia:attribute name="inner_color">
+ <dia:color val="#ffffff"/>
+ </dia:attribute>
+ <dia:attribute name="line_style">
+ <dia:enum val="0"/>
+ </dia:attribute>
+ </dia:object>
+ </dia:layer>
+</dia:diagram>
diff --git a/result/dtd10 b/result/dtd10
new file mode 100644
index 0000000..82ac138
--- /dev/null
+++ b/result/dtd10
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<!DOCTYPE doc [
+<!ELEMENT doc ((a | b)+ , c , d)*>
+<!ELEMENT a (#PCDATA)>
+<!ELEMENT b (#PCDATA)>
+<!ELEMENT c (#PCDATA)>
+<!ELEMENT d (#PCDATA)>
+]>
+<doc>
+ <b>This</b>
+ <c> is a</c>
+ <d> valid document</d>
+</doc>
diff --git a/result/dtd11 b/result/dtd11
new file mode 100644
index 0000000..e0df8af
--- /dev/null
+++ b/result/dtd11
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+<!ATTLIST doc val CDATA #IMPLIED>
+]>
+<doc val="v1"/>
diff --git a/result/dtd2 b/result/dtd2
new file mode 100644
index 0000000..921fd94
--- /dev/null
+++ b/result/dtd2
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA)>
+]>
+<doc>This is a valid document !</doc>
diff --git a/result/dtd3 b/result/dtd3
new file mode 100644
index 0000000..6681ef7
--- /dev/null
+++ b/result/dtd3
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<!DOCTYPE doc [
+<!ELEMENT doc ANY>
+]>
+<doc>This is a valid document !</doc>
diff --git a/result/dtd4 b/result/dtd4
new file mode 100644
index 0000000..6cf2444
--- /dev/null
+++ b/result/dtd4
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<!DOCTYPE doc [
+<!ELEMENT doc EMPTY>
+]>
+<doc/>
diff --git a/result/dtd5 b/result/dtd5
new file mode 100644
index 0000000..4c0a0c5
--- /dev/null
+++ b/result/dtd5
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE doc [
+<!ELEMENT doc (#PCDATA | a | b)*>
+<!ELEMENT a (#PCDATA)>
+<!ELEMENT b (#PCDATA)>
+]>
+<doc>
+ <a>This</a>
+ is a <b>valid</b>
+ document</doc>
diff --git a/result/dtd6 b/result/dtd6
new file mode 100644
index 0000000..8b3875e
--- /dev/null
+++ b/result/dtd6
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<!DOCTYPE doc [
+<!ELEMENT doc (a | b)*>
+<!ELEMENT a (#PCDATA)>
+<!ELEMENT b (#PCDATA)>
+]>
+<doc>
+ <a>This</a>
+ <b> is a valid</b>
+ <a> document</a>
+</doc>
diff --git a/result/dtd7 b/result/dtd7
new file mode 100644
index 0000000..4da0ce6
--- /dev/null
+++ b/result/dtd7
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE doc [
+<!ELEMENT doc (a , b)*>
+<!ELEMENT a (#PCDATA)>
+<!ELEMENT b (#PCDATA)>
+]>
+<doc>
+ <a>This</a>
+ <b> is a valid document</b>
+</doc>
diff --git a/result/dtd8 b/result/dtd8
new file mode 100644
index 0000000..77ab642
--- /dev/null
+++ b/result/dtd8
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<!DOCTYPE doc [
+<!ELEMENT doc ((a | b) , (c | d))+>
+<!ELEMENT a (#PCDATA)>
+<!ELEMENT b (#PCDATA)>
+<!ELEMENT c (#PCDATA)>
+<!ELEMENT d (#PCDATA)>
+]>
+<doc>
+ <b>This</b>
+ <c> is a valid document</c>
+</doc>
diff --git a/result/dtd9 b/result/dtd9
new file mode 100644
index 0000000..020ab72
--- /dev/null
+++ b/result/dtd9
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<!DOCTYPE doc [
+<!ELEMENT doc ((a | b | c) , d)?>
+<!ELEMENT a (#PCDATA)>
+<!ELEMENT b (#PCDATA)>
+<!ELEMENT c (#PCDATA)>
+<!ELEMENT d (#PCDATA)>
+]>
+<doc>
+ <b>This</b>
+ <d> is a valid document</d>
+</doc>
diff --git a/result/ent2 b/result/ent2
index 670ce74..52e92f9 100644
--- a/result/ent2
+++ b/result/ent2
@@ -6,4 +6,6 @@
]>
<EXAMPLE>
&title;
- This text is about XML, the &xml; and this is an embedded ℑ</EXAMPLE>
+ This text is about XML, the &xml; and this is an embedded
+ <IMG src="image"/>
+</EXAMPLE>
diff --git a/result/p3p b/result/p3p
index e69de29..b2ba102 100644
--- a/result/p3p
+++ b/result/p3p
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<RDF:RDF xmlns:RDF="http://www.w3.org/TR/WD-rdf-syntax#" p3p="http//www.w3.org/TR/1998/WD-P3P10-syntax#proposal.DTD">
+ <PROP realm="http://www.CoolCatalog.com/catalogue/" entity="CoolCatalog" agreeID="94df1293a3e519bb" assurance="http://www.TrustUs.org">
+ <USES>
+ <STATEMENT purp="2,3" recpnt="0" id="0" consq="a site with clothes you'd appreciate.">
+ <WITH>
+ <PREFIX name="User.">
+ <REF name="Name.First"/>
+ <REF name="Bdate.Year" optional="1"/>
+ <REF name="Gender"/>
+ </PREFIX>
+ </WITH>
+ </STATEMENT>
+ </USES>
+ <USES>
+ <STATEMENT action="read&write" purp="0" recpnt="0" id="1">
+ <REF name="User.Shipping."/>
+ </STATEMENT>
+ </USES>
+ <DISCLOSURE discURI="http://www.CoolCatalog.com/PrivacyPractice.html" access="3" other="0,1"/>
+ </PROP>
+</RDF:RDF>
diff --git a/result/svg1 b/result/svg1
new file mode 100644
index 0000000..6802e5c
--- /dev/null
+++ b/result/svg1
@@ -0,0 +1,161 @@
+<?xml version="1.0" standalone="yes"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="242px" height="383px">
+ <g style="stroke: #000000"/>
+ <g style="fill: #f2cc99">
+ <polyline verts=" 69,18 82,8 99,3 118,5 135,12 149,21 156,13 165,9 177,13 183,28 180,50 164,91 155,107 154,114 151,121 141,127 139,136 155,206 157,251 126,342 133,357 128,376 83,376 75,368 67,350 61,350 53,369 4,369 2,361 5,354 12,342 16,321 4,257 4,244 7,218 9,179 26,127 43,93 32,77 30,70 24,67 16,49 17,35 18,23 30,12 40,7 53,7 62,12 69,18 69,18 69,18"/>
+ </g>
+ <g style="fill: #e5b27f">
+ <polyline verts=" 142,79 136,74 138,82 133,78 133,84 127,78 128,85 124,80 125,87 119,82 119,90 125,99 125,96 128,100 128,94 131,98 132,93 135,97 136,93 138,97 139,94 141,98 143,94 144,85 142,79 142,79 142,79"/>
+ </g>
+ <g style="fill: #eb8080">
+ <polyline verts=" 127,101 132,100 137,99 144,101 143,105 135,110 127,101 127,101 127,101"/>
+ </g>
+ <g style="fill: #f2cc99">
+ <polyline verts=" 178,229 157,248 139,296 126,349 137,356 158,357 183,342 212,332 235,288 235,261 228,252 212,250 188,251 178,229 178,229 178,229"/>
+ </g>
+ <g style="fill: #9c826b">
+ <polyline verts=" 56,229 48,241 48,250 57,281 63,325 71,338 81,315 76,321 79,311 83,301 75,308 80,298 73,303 76,296 71,298 74,292 69,293 74,284 78,278 71,278 74,274 68,273 70,268 66,267 68,261 60,266 62,259 65,253 57,258 59,251 55,254 55,248 60,237 54,240 58,234 54,236 56,229 56,229 56,229"/>
+ <polyline verts=" 74,363 79,368 81,368 85,362 89,363 92,370 96,373 101,372 108,361 110,371 113,373 116,371 120,358 122,363 123,371 126,371 129,367 132,357 135,361 130,376 127,377 94,378 84,376 76,371 74,363 74,363 74,363"/>
+ <polyline verts=" 212,250 219,251 228,258 236,270 235,287 225,304 205,332 177,343 171,352 158,357 166,352 168,346 168,339 165,333 155,327 155,323 161,320 165,316 169,316 167,312 171,313 168,308 173,309 170,306 177,306 175,308 177,311 174,311 176,316 171,315 174,319 168,320 168,323 175,327 179,332 183,326 184,332 189,323 190,328 194,320 194,325 199,316 201,320 204,313 206,316 208,310 211,305 219,298 226,288 229,279 228,266 224,259 217,253 212,250 212,250 212,250"/>
+ <polyline verts=" 151,205 151,238 149,252 141,268 128,282 121,301 130,300 126,313 118,324 116,337 120,346 133,352 133,340 137,333 145,329 156,327 153,319 153,291 157,271 170,259 178,277 193,250 174,216 151,205 151,205 151,205"/>
+ <polyline verts=" 78,127 90,142 95,155 108,164 125,167 139,175 150,206 152,191 141,140 121,148 100,136 78,127 78,127 78,127"/>
+ <polyline verts=" 21,58 35,63 38,68 32,69 42,74 40,79 47,80 54,83 45,94 34,81 32,73 24,66 21,58 21,58 21,58"/>
+ <polyline verts=" 71,34 67,34 66,27 59,24 54,17 48,17 39,22 30,26 28,31 31,39 38,46 29,45 36,54 41,61 41,70 50,69 54,71 55,58 67,52 76,43 76,39 68,44 71,34 71,34 71,34"/>
+ <polyline verts=" 139,74 141,83 143,89 144,104 148,104 155,106 154,86 157,77 155,72 150,77 144,77 139,74 139,74 139,74"/>
+ <polyline verts=" 105,44 102,53 108,58 111,62 112,55 105,44 105,44 105,44"/>
+ <polyline verts=" 141,48 141,54 144,58 139,62 137,66 136,59 137,52 141,48 141,48 141,48"/>
+ <polyline verts=" 98,135 104,130 105,134 108,132 108,135 112,134 113,137 116,136 116,139 119,139 124,141 128,140 133,138 140,133 139,140 126,146 104,144 98,135 98,135 98,135"/>
+ <polyline verts=" 97,116 103,119 103,116 111,118 116,117 122,114 127,107 135,111 142,107 141,114 145,118 149,121 145,125 140,124 127,121 113,125 100,124 97,116 97,116 97,116"/>
+ <polyline verts=" 147,33 152,35 157,34 153,31 160,31 156,28 161,28 159,24 163,25 163,21 165,22 170,23 167,17 172,21 174,18 175,23 176,22 177,28 177,33 174,37 176,39 174,44 171,49 168,53 164,57 159,68 156,70 154,60 150,51 146,43 144,35 147,33 147,33 147,33"/>
+ <polyline verts=" 85,72 89,74 93,75 100,76 105,75 102,79 94,79 88,76 85,72 85,72 85,72"/>
+ <polyline verts=" 86,214 79,221 76,232 82,225 78,239 82,234 78,245 81,243 79,255 84,250 84,267 87,254 90,271 90,257 95,271 93,256 95,249 92,252 93,243 89,253 89,241 86,250 87,236 83,245 87,231 82,231 90,219 84,221 86,214 86,214 86,214"/>
+ </g>
+ <g style="fill: #ffcc7f">
+ <polyline verts=" 93,68 96,72 100,73 106,72 108,66 105,63 100,62 93,68 93,68 93,68"/>
+ <polyline verts=" 144,64 142,68 142,73 146,74 150,73 154,64 149,62 144,64 144,64 144,64"/>
+ </g>
+ <g style="fill: #9c826b">
+ <polyline verts=" 57,91 42,111 52,105 41,117 53,112 46,120 53,116 50,124 57,119 55,127 61,122 60,130 67,126 66,134 71,129 72,136 77,130 76,137 80,133 82,138 86,135 96,135 94,129 86,124 83,117 77,123 79,117 73,120 75,112 68,116 71,111 65,114 69,107 63,110 68,102 61,107 66,98 61,103 63,97 57,99 57,91 57,91 57,91"/>
+ <polyline verts=" 83,79 76,79 67,82 75,83 65,88 76,87 65,92 76,91 68,96 77,95 70,99 80,98 72,104 80,102 76,108 85,103 92,101 87,98 93,96 86,94 91,93 85,91 93,89 99,89 105,93 107,85 102,82 92,80 83,79 83,79 83,79"/>
+ <polyline verts=" 109,77 111,83 109,89 113,94 117,90 117,81 114,78 109,77 109,77 109,77"/>
+ <polyline verts=" 122,128 127,126 134,127 136,129 134,130 130,128 124,129 122,128 122,128 122,128"/>
+ <polyline verts=" 78,27 82,32 80,33 82,36 78,37 82,40 78,42 81,46 76,47 78,49 74,50 82,52 87,50 83,48 91,46 86,45 91,42 88,40 92,37 86,34 90,31 86,29 89,26 78,27 78,27 78,27"/>
+ <polyline verts=" 82,17 92,20 79,21 90,25 81,25 94,28 93,26 101,30 101,26 107,33 108,28 111,40 113,34 115,45 117,39 119,54 121,46 124,58 126,47 129,59 130,49 134,58 133,44 137,48 133,37 137,40 133,32 126,20 135,26 132,19 138,23 135,17 142,18 132,11 116,6 94,6 78,11 92,12 80,14 90,16 82,17 82,17 82,17"/>
+ <polyline verts=" 142,234 132,227 124,223 115,220 110,225 118,224 127,229 135,236 122,234 115,237 113,242 121,238 139,243 121,245 111,254 95,254 102,244 104,235 110,229 100,231 104,224 113,216 122,215 132,217 141,224 145,230 149,240 142,234 142,234 142,234"/>
+ <polyline verts=" 115,252 125,248 137,249 143,258 134,255 125,254 115,252 115,252 115,252"/>
+ <polyline verts=" 114,212 130,213 140,219 147,225 144,214 137,209 128,207 114,212 114,212 114,212"/>
+ <polyline verts=" 102,263 108,258 117,257 131,258 116,260 109,265 102,263 102,263 102,263"/>
+ <polyline verts=" 51,241 35,224 40,238 23,224 31,242 19,239 28,247 17,246 25,250 37,254 39,263 44,271 47,294 48,317 51,328 60,351 60,323 53,262 47,246 51,241 51,241 51,241"/>
+ <polyline verts=" 2,364 9,367 14,366 18,355 20,364 26,366 31,357 35,364 39,364 42,357 47,363 53,360 59,357 54,369 7,373 2,364 2,364 2,364"/>
+ <polyline verts=" 7,349 19,345 25,339 18,341 23,333 28,326 23,326 27,320 23,316 25,311 20,298 15,277 12,264 9,249 10,223 3,248 5,261 15,307 17,326 11,343 7,349 7,349 7,349"/>
+ <polyline verts=" 11,226 15,231 25,236 18,227 11,226 11,226 11,226"/>
+ <polyline verts=" 13,214 19,217 32,227 23,214 16,208 15,190 24,148 31,121 24,137 14,170 8,189 13,214 13,214 13,214"/>
+ <polyline verts=" 202,254 195,258 199,260 193,263 197,263 190,268 196,268 191,273 188,282 200,272 194,272 201,266 197,265 204,262 200,258 204,256 202,254 202,254 202,254"/>
+ </g>
+ <g style="fill: #845433">
+ <polyline verts=" 151,213 165,212 179,225 189,246 187,262 179,275 176,263 177,247 171,233 163,230 165,251 157,264 146,298 145,321 133,326 143,285 154,260 153,240 151,213 151,213 151,213"/>
+ <polyline verts=" 91,132 95,145 97,154 104,148 107,155 109,150 111,158 115,152 118,159 120,153 125,161 126,155 133,164 132,154 137,163 137,152 142,163 147,186 152,192 148,167 141,143 124,145 105,143 91,132 91,132 91,132"/>
+ </g>
+ <g style="fill: #9c826b">
+ <polyline verts=" 31,57 23,52 26,51 20,44 23,42 21,36 22,29 25,23 24,32 30,43 26,41 30,50 26,48 31,57 31,57 31,57"/>
+ <polyline verts=" 147,21 149,28 155,21 161,16 167,14 175,15 173,11 161,9 147,21 147,21 147,21"/>
+ <polyline verts=" 181,39 175,51 169,57 171,65 165,68 165,75 160,76 162,91 171,71 180,51 181,39 181,39 181,39"/>
+ <polyline verts=" 132,346 139,348 141,346 142,341 147,342 143,355 133,350 132,346 132,346 132,346"/>
+ <polyline verts=" 146,355 151,352 155,348 157,343 160,349 151,356 147,357 146,355 146,355 146,355"/>
+ <polyline verts=" 99,266 100,281 94,305 86,322 78,332 72,346 73,331 91,291 99,266 99,266 99,266"/>
+ <polyline verts=" 20,347 32,342 45,340 54,345 45,350 42,353 38,350 31,353 29,356 23,350 19,353 15,349 20,347 20,347 20,347"/>
+ <polyline verts=" 78,344 86,344 92,349 88,358 84,352 78,344 78,344 78,344"/>
+ <polyline verts=" 93,347 104,344 117,345 124,354 121,357 116,351 112,351 108,355 102,351 93,347 93,347 93,347"/>
+ </g>
+ <g style="fill: #000000">
+ <polyline verts=" 105,12 111,18 113,24 113,29 119,34 116,23 112,16 105,12 105,12 105,12"/>
+ <polyline verts=" 122,27 125,34 127,43 128,34 125,29 122,27 122,27 122,27"/>
+ <polyline verts=" 115,13 122,19 122,15 113,10 115,13 115,13 115,13"/>
+ </g>
+ <g style="fill: #ffe5b2">
+ <polyline verts=" 116,172 107,182 98,193 98,183 90,199 89,189 84,207 88,206 87,215 95,206 93,219 91,230 98,216 97,226 104,214 112,209 104,208 113,202 126,200 139,207 132,198 142,203 134,192 142,195 134,187 140,185 130,181 136,177 126,177 125,171 116,180 116,172 116,172 116,172"/>
+ <polyline verts=" 74,220 67,230 67,221 59,235 63,233 60,248 70,232 65,249 71,243 67,256 73,250 69,262 73,259 71,267 76,262 72,271 78,270 76,275 82,274 78,290 86,279 86,289 92,274 88,275 87,264 82,270 82,258 77,257 78,247 73,246 77,233 72,236 74,220 74,220 74,220"/>
+ <polyline verts=" 133,230 147,242 148,250 145,254 138,247 129,246 142,245 138,241 128,237 137,238 133,230 133,230 133,230"/>
+ <polyline verts=" 133,261 125,261 116,263 111,267 125,265 133,261 133,261 133,261"/>
+ <polyline verts=" 121,271 109,273 103,279 99,305 92,316 85,327 83,335 89,340 97,341 94,336 101,336 96,331 103,330 97,327 108,325 99,322 109,321 100,318 110,317 105,314 110,312 107,310 113,308 105,306 114,303 105,301 115,298 107,295 115,294 108,293 117,291 109,289 117,286 109,286 118,283 112,281 118,279 114,278 119,276 115,274 121,271 121,271 121,271"/>
+ <polyline verts=" 79,364 74,359 74,353 76,347 80,351 83,356 82,360 79,364 79,364 79,364"/>
+ <polyline verts=" 91,363 93,356 97,353 103,355 105,360 103,366 99,371 94,368 91,363 91,363 91,363"/>
+ <polyline verts=" 110,355 114,353 118,357 117,363 113,369 111,362 110,355 110,355 110,355"/>
+ <polyline verts=" 126,354 123,358 124,367 126,369 129,361 129,357 126,354 126,354 126,354"/>
+ <polyline verts=" 30,154 24,166 20,182 23,194 29,208 37,218 41,210 41,223 46,214 46,227 52,216 52,227 61,216 59,225 68,213 73,219 70,207 77,212 69,200 77,202 70,194 78,197 68,187 76,182 64,182 58,175 58,185 53,177 50,186 46,171 44,182 39,167 36,172 36,162 30,166 30,154 30,154 30,154"/>
+ <polyline verts=" 44,130 41,137 45,136 43,150 48,142 48,157 53,150 52,164 60,156 61,169 64,165 66,175 70,167 74,176 77,168 80,183 85,172 90,182 93,174 98,181 99,173 104,175 105,169 114,168 102,163 95,157 94,166 90,154 87,162 82,149 75,159 72,148 68,155 67,143 62,148 62,138 58,145 56,133 52,142 52,128 49,134 47,125 44,130 44,130 44,130"/>
+ <polyline verts=" 13,216 19,219 36,231 22,223 16,222 22,227 12,224 13,220 16,220 13,216 13,216 13,216"/>
+ <polyline verts=" 10,231 14,236 25,239 27,237 19,234 10,231 10,231 10,231"/>
+ <polyline verts=" 9,245 14,242 25,245 13,245 9,245 9,245 9,245"/>
+ <polyline verts=" 33,255 26,253 18,254 25,256 18,258 27,260 18,263 27,265 19,267 29,270 21,272 29,276 21,278 30,281 22,283 31,287 24,288 32,292 23,293 34,298 26,299 37,303 32,305 39,309 33,309 39,314 34,314 40,318 34,317 40,321 34,321 41,326 33,326 40,330 33,332 39,333 33,337 42,337 54,341 49,337 52,335 47,330 50,330 45,325 49,325 45,321 48,321 45,316 46,306 45,286 43,274 36,261 33,255 33,255 33,255"/>
+ <polyline verts=" 7,358 9,351 14,351 17,359 11,364 7,358 7,358 7,358"/>
+ <polyline verts=" 44,354 49,351 52,355 49,361 44,354 44,354 44,354"/>
+ <polyline verts=" 32,357 37,353 40,358 36,361 32,357 32,357 32,357"/>
+ <polyline verts=" 139,334 145,330 154,330 158,334 154,341 152,348 145,350 149,340 147,336 141,339 139,345 136,342 136,339 139,334 139,334 139,334"/>
+ <polyline verts=" 208,259 215,259 212,255 220,259 224,263 225,274 224,283 220,292 208,300 206,308 203,304 199,315 197,309 195,318 193,313 190,322 190,316 185,325 182,318 180,325 172,321 178,320 176,313 186,312 180,307 188,307 184,303 191,302 186,299 195,294 187,290 197,288 192,286 201,283 194,280 203,277 198,275 207,271 200,269 209,265 204,265 212,262 208,259 208,259 208,259"/>
+ <polyline verts=" 106,126 106,131 109,132 111,134 115,132 115,135 119,133 118,137 123,137 128,137 133,134 136,130 136,127 132,124 118,128 112,128 106,126 106,126 106,126"/>
+ <polyline verts=" 107,114 101,110 98,102 105,97 111,98 119,102 121,108 118,112 113,115 107,114 107,114 107,114"/>
+ <polyline verts=" 148,106 145,110 146,116 150,118 152,111 151,107 148,106 148,106 148,106"/>
+ <polyline verts=" 80,55 70,52 75,58 63,57 72,61 57,61 67,66 57,67 62,69 54,71 61,73 54,77 63,78 53,85 60,84 56,90 69,84 63,82 75,76 70,75 77,72 72,71 78,69 72,66 81,67 78,64 82,63 80,60 86,62 80,55 80,55 80,55"/>
+ <polyline verts=" 87,56 91,52 96,50 102,56 98,56 92,60 87,56 87,56 87,56"/>
+ <polyline verts=" 85,68 89,73 98,76 106,74 96,73 91,70 85,68 85,68 85,68"/>
+ <polyline verts=" 115,57 114,64 111,64 115,75 122,81 122,74 126,79 126,74 131,78 130,72 133,77 131,68 126,61 119,57 115,57 115,57 115,57"/>
+ <polyline verts=" 145,48 143,53 147,59 151,59 150,55 145,48 145,48 145,48"/>
+ <polyline verts=" 26,22 34,15 43,10 52,10 59,16 47,15 32,22 26,22 26,22 26,22"/>
+ <polyline verts=" 160,19 152,26 149,34 154,33 152,30 157,30 155,26 158,27 157,23 161,23 160,19 160,19 160,19"/>
+ </g>
+ <g style="fill: #000000">
+ <polyline verts=" 98,117 105,122 109,122 105,117 113,120 121,120 130,112 128,108 123,103 123,99 128,101 132,106 135,109 142,105 142,101 145,101 145,91 148,101 145,105 136,112 135,116 143,124 148,120 150,122 142,128 133,122 121,125 112,126 103,125 100,129 96,124 98,117 98,117 98,117"/>
+ <polyline verts=" 146,118 152,118 152,115 149,115 146,118 146,118 146,118"/>
+ <polyline verts=" 148,112 154,111 154,109 149,109 148,112 148,112 148,112"/>
+ <polyline verts=" 106,112 108,115 114,116 118,114 106,112 106,112 106,112"/>
+ <polyline verts=" 108,108 111,110 116,110 119,108 108,108 108,108 108,108"/>
+ <polyline verts=" 106,104 109,105 117,106 115,104 106,104 106,104 106,104"/>
+ <polyline verts=" 50,25 41,26 34,33 39,43 49,58 36,51 47,68 55,69 54,59 61,57 74,46 60,52 67,42 57,48 61,40 54,45 60,36 59,29 48,38 52,30 47,32 50,25 50,25 50,25"/>
+ <polyline verts=" 147,34 152,41 155,49 161,53 157,47 164,47 158,43 168,44 159,40 164,37 169,37 164,33 169,34 165,28 170,30 170,25 173,29 175,27 176,32 173,36 175,39 172,42 172,46 168,49 170,55 162,57 158,63 155,58 153,50 149,46 147,34 147,34 147,34"/>
+ <polyline verts=" 155,71 159,80 157,93 157,102 155,108 150,101 149,93 154,101 152,91 151,83 155,79 155,71 155,71 155,71"/>
+ <polyline verts=" 112,78 115,81 114,91 112,87 113,82 112,78 112,78 112,78"/>
+ <polyline verts=" 78,28 64,17 58,11 47,9 36,10 28,16 21,26 18,41 20,51 23,61 33,65 28,68 37,74 36,81 43,87 48,90 43,100 40,98 39,90 31,80 30,72 22,71 17,61 14,46 16,28 23,17 33,9 45,6 54,6 65,12 78,28 78,28 78,28"/>
+ <polyline verts=" 67,18 76,9 87,5 101,2 118,3 135,8 149,20 149,26 144,19 132,12 121,9 105,7 89,8 76,14 70,20 67,18 67,18 67,18"/>
+ <polyline verts=" 56,98 48,106 56,103 47,112 56,110 52,115 57,113 52,121 62,115 58,123 65,119 63,125 69,121 68,127 74,125 74,129 79,128 83,132 94,135 93,129 85,127 81,122 76,126 75,121 71,124 71,117 66,121 66,117 62,117 64,112 60,113 60,110 57,111 61,105 57,107 60,101 55,102 56,98 56,98 56,98"/>
+ <polyline verts=" 101,132 103,138 106,134 106,139 112,136 111,142 115,139 114,143 119,142 125,145 131,142 135,138 140,134 140,129 143,135 145,149 150,171 149,184 145,165 141,150 136,147 132,151 131,149 126,152 125,150 121,152 117,148 111,152 110,148 105,149 104,145 98,150 96,138 94,132 94,130 98,132 101,132 101,132 101,132"/>
+ <polyline verts=" 41,94 32,110 23,132 12,163 6,190 7,217 5,236 3,247 9,230 12,211 12,185 18,160 26,134 35,110 43,99 41,94 41,94 41,94"/>
+ <polyline verts=" 32,246 41,250 50,257 52,267 53,295 53,323 59,350 54,363 51,365 44,366 42,360 40,372 54,372 59,366 62,353 71,352 75,335 73,330 66,318 68,302 64,294 67,288 63,286 63,279 59,275 58,267 56,262 50,247 42,235 44,246 32,236 35,244 32,246 32,246 32,246"/>
+ <polyline verts=" 134,324 146,320 159,322 173,327 179,337 179,349 172,355 158,357 170,350 174,343 170,333 163,328 152,326 134,329 134,324 134,324 134,324"/>
+ <polyline verts=" 173,339 183,334 184,338 191,329 194,332 199,323 202,325 206,318 209,320 213,309 221,303 228,296 232,289 234,279 233,269 230,262 225,256 219,253 208,252 198,252 210,249 223,250 232,257 237,265 238,277 238,291 232,305 221,323 218,335 212,342 200,349 178,348 173,339 173,339 173,339"/>
+ <polyline verts=" 165,296 158,301 156,310 156,323 162,324 159,318 162,308 162,304 165,296 165,296 165,296"/>
+ <polyline verts=" 99,252 105,244 107,234 115,228 121,228 131,235 122,233 113,235 109,246 121,239 133,243 121,243 110,251 99,252 99,252 99,252"/>
+ <polyline verts=" 117,252 124,247 134,249 136,253 126,252 117,252 117,252 117,252"/>
+ <polyline verts=" 117,218 132,224 144,233 140,225 132,219 117,218 117,218 117,218"/>
+ <polyline verts=" 122,212 134,214 143,221 141,213 132,210 122,212 122,212 122,212"/>
+ <polyline verts=" 69,352 70,363 76,373 86,378 97,379 108,379 120,377 128,378 132,373 135,361 133,358 132,366 127,375 121,374 121,362 119,367 117,374 110,376 110,362 107,357 106,371 104,375 97,376 90,375 90,368 86,362 83,364 86,369 85,373 78,370 73,362 71,351 69,352 69,352 69,352"/>
+ <polyline verts=" 100,360 96,363 99,369 102,364 100,360 100,360 100,360"/>
+ <polyline verts=" 115,360 112,363 114,369 117,364 115,360 115,360 115,360"/>
+ <polyline verts=" 127,362 125,364 126,369 128,365 127,362 127,362 127,362"/>
+ <polyline verts=" 5,255 7,276 11,304 15,320 13,334 6,348 2,353 0,363 5,372 12,374 25,372 38,372 44,369 42,367 36,368 31,369 30,360 27,368 20,370 16,361 15,368 10,369 3,366 3,359 6,352 11,348 17,331 19,316 12,291 9,274 5,255 5,255 5,255"/>
+ <polyline verts=" 10,358 7,362 10,366 11,362 10,358 10,358 10,358"/>
+ <polyline verts=" 25,357 22,360 24,366 27,360 25,357 25,357 25,357"/>
+ <polyline verts=" 37,357 34,361 36,365 38,361 37,357 37,357 37,357"/>
+ <polyline verts=" 49,356 46,359 47,364 50,360 49,356 49,356 49,356"/>
+ <polyline verts=" 130,101 132,102 135,101 139,102 143,103 142,101 137,100 133,100 130,101 130,101 130,101"/>
+ <polyline verts=" 106,48 105,52 108,56 109,52 106,48 106,48 106,48"/>
+ <polyline verts=" 139,52 139,56 140,60 142,58 141,56 139,52 139,52 139,52"/>
+ <polyline verts=" 25,349 29,351 30,355 33,350 37,348 42,351 45,347 49,345 44,343 36,345 25,349 25,349 25,349"/>
+ <polyline verts=" 98,347 105,351 107,354 109,349 115,349 120,353 118,349 113,346 104,346 98,347 98,347 98,347"/>
+ <polyline verts=" 83,348 87,352 87,357 89,351 87,348 83,348 83,348 83,348"/>
+ <polyline verts=" 155,107 163,107 170,107 186,108 175,109 155,109 155,107 155,107 155,107"/>
+ <polyline verts=" 153,114 162,113 175,112 192,114 173,114 154,115 153,114 153,114 153,114"/>
+ <polyline verts=" 152,118 164,120 180,123 197,129 169,123 151,120 152,118 152,118 152,118"/>
+ <polyline verts=" 68,109 87,106 107,106 106,108 88,108 68,109 68,109 68,109"/>
+ <polyline verts=" 105,111 95,112 79,114 71,116 85,115 102,113 105,111 105,111 105,111"/>
+ <polyline verts=" 108,101 98,99 87,99 78,99 93,100 105,102 108,101 108,101 108,101"/>
+ <polyline verts=" 85,63 91,63 97,60 104,60 108,62 111,69 112,75 110,74 108,71 103,73 106,69 105,65 103,64 103,67 102,70 99,70 97,66 94,67 97,72 88,67 84,66 85,63 85,63 85,63"/>
+ <polyline verts=" 140,74 141,66 144,61 150,61 156,62 153,70 150,73 152,65 150,65 151,68 149,71 146,71 144,66 143,70 143,74 140,74 140,74 140,74"/>
+ <polyline verts=" 146,20 156,11 163,9 172,9 178,14 182,18 184,32 182,42 182,52 177,58 176,67 171,76 165,90 157,105 160,92 164,85 168,78 167,73 173,66 172,62 175,59 174,55 177,53 180,46 181,29 179,21 173,13 166,11 159,13 153,18 148,23 146,20 146,20 146,20"/>
+ <polyline verts=" 150,187 148,211 150,233 153,247 148,267 135,283 125,299 136,292 131,313 122,328 122,345 129,352 133,359 133,367 137,359 148,356 140,350 131,347 129,340 132,332 140,328 137,322 140,304 154,265 157,244 155,223 161,220 175,229 186,247 185,260 176,275 178,287 185,277 188,261 196,253 189,236 174,213 150,187 150,187 150,187"/>
+ <polyline verts=" 147,338 142,341 143,345 141,354 147,343 147,338 147,338 147,338"/>
+ <polyline verts=" 157,342 156,349 150,356 157,353 163,346 162,342 157,342 157,342 157,342"/>
+ <polyline verts=" 99,265 96,284 92,299 73,339 73,333 87,300 99,265 99,265 99,265"/>
+ </g>
+</svg>
diff --git a/result/svg2 b/result/svg2
new file mode 100644
index 0000000..5e53829
--- /dev/null
+++ b/result/svg2
@@ -0,0 +1,54 @@
+<?xml version="1.0" standalone="yes"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="268px" height="207px">
+ <g style="stroke: #000000">
+ <path d=" M 29 28 "/>
+ <path d=" L 19 74 "/>
+ </g>
+ <g style="stroke: #800040">
+ <polyline verts=" 32,100 72,50 90,82 73,16 120,64 152,9 177,107"/>
+ </g>
+ <g style="stroke: #000000"/>
+ <g style="stroke: #0000ff">
+ <rect x="30" y="101" width="51" height="33"/>
+ </g>
+ <g style="fill: #0000ff">
+ <ellipse cx="182" cy="127" major="37" minor="31" angle="90"/>
+ </g>
+ <g style="fill: #ff0000">
+ <polyline verts=" 78,180 76,151 131,149 136,182 135,182 134,183 127,185 117,186 109,192 104,194 98,199 96,200 95,201 94,202 92,202 85,202 70,200 54,199 47,198 46,197 45,197 37,195 26,193 17,187 9,181 8,181 7,176 6,175 6,173 6,172 6,170 8,164 8,163 8,162 9,162 10,162 11,162 13,162 20,162 26,162 27,162 28,162 30,162 30,163 31,163 32,164 34,166 35,166 36,167 36,168 37,169 38,169 39,169 41,170 43,170 45,170 47,170 49,170 50,168 50,161 50,160 50,159 47,162 78,180"/>
+ <g>
+ <desc> Java Font definition:Dialog 0</desc>
+ </g>
+ <g>
+ <desc> Java Font definition:Helvetica 0</desc>
+ </g>
+ </g>
+ <g style="stroke: #000000">
+ <text x="188" y="36">this is text</text>
+ </g>
+ <g style="stroke: #000000">
+ <g>
+ <desc> Java Font definition:Dialog 0</desc>
+ </g>
+ <g>
+ <desc> Java Font definition:Helvetica 700</desc>
+ </g>
+ </g>
+ <g style="stroke: #008080">
+ <text x="176" y="85">sadfsadfsad</text>
+ </g>
+ <g style="stroke: #000000"/>
+ <g style="fill: #800040">
+ <ellipse cx="208" cy="180" major="45" minor="31" angle="0"/>
+ </g>
+ <g style="stroke: #000000"/>
+ <g style="fill: #ffffff">
+ <g>
+ <desc> Java Font definition:Dialog 700</desc>
+ </g>
+ <g>
+ <desc> Java Font definition:Dialog 700</desc>
+ </g>
+ </g>
+</svg>
diff --git a/result/xml1 b/result/xml1
new file mode 100644
index 0000000..d32f56c
--- /dev/null
+++ b/result/xml1
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<!DOCTYPE test [
+<!ENTITY example "<p>An ampersand (&#38;) may be escaped
+ numerically (&#38;#38;) or with a general entity
+ (&amp;).</p>">
+]>
+<test>&example;</test>
diff --git a/result/xml2 b/result/xml2
new file mode 100644
index 0000000..89abac1
--- /dev/null
+++ b/result/xml2
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!DOCTYPE test [
+<!ENTITY % xx "%zz;">
+<!ENTITY % zz '<!ENTITY tricky "error-prone" >'>
+<!ENTITY tricky "error-prone">
+<!ELEMENT test (#PCDATA)>
+]>
+<test>This sample shows a &tricky; method.</test>