summaryrefslogtreecommitdiff
path: root/testautomation/xml/optional/input/docbook
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/xml/optional/input/docbook')
-rwxr-xr-xtestautomation/xml/optional/input/docbook/informaltable.001.xml38
-rwxr-xr-xtestautomation/xml/optional/input/docbook/informaltable.002.xml50
-rwxr-xr-xtestautomation/xml/optional/input/docbook/informaltable.003.xml52
-rwxr-xr-xtestautomation/xml/optional/input/docbook/informaltable.004.xml49
-rwxr-xr-xtestautomation/xml/optional/input/docbook/informaltable.005.xml38
-rwxr-xr-xtestautomation/xml/optional/input/docbook/informaltable.006.xml48
-rwxr-xr-xtestautomation/xml/optional/input/docbook/informaltable.007.xml61
-rwxr-xr-xtestautomation/xml/optional/input/docbook/informaltable.008.xml52
-rwxr-xr-xtestautomation/xml/optional/input/docbook/informaltable.009.xml46
-rwxr-xr-xtestautomation/xml/optional/input/docbook/informaltable.010.xml45
-rwxr-xr-xtestautomation/xml/optional/input/docbook/informaltable.011.xml44
-rwxr-xr-xtestautomation/xml/optional/input/docbook/informaltable.012.xml36
-rwxr-xr-xtestautomation/xml/optional/input/docbook/informaltable.013.xml29
-rwxr-xr-xtestautomation/xml/optional/input/docbook/informaltable.014.xml54
-rwxr-xr-xtestautomation/xml/optional/input/docbook/inline.001.xml27
-rwxr-xr-xtestautomation/xml/optional/input/docbook/itemizedlist.001.xml27
-rwxr-xr-xtestautomation/xml/optional/input/docbook/itemizedlist.002.xml38
-rwxr-xr-xtestautomation/xml/optional/input/docbook/itemizedlist.003.xml53
-rwxr-xr-xtestautomation/xml/optional/input/docbook/link.001.xml36
-rwxr-xr-xtestautomation/xml/optional/input/docbook/literallayout.001.xml19
-rwxr-xr-xtestautomation/xml/optional/input/docbook/literallayout.002.xml21
-rwxr-xr-xtestautomation/xml/optional/input/docbook/literallayout.003.xml19
-rwxr-xr-xtestautomation/xml/optional/input/docbook/lot.001.xml56
-rwxr-xr-xtestautomation/xml/optional/input/docbook/mathml.001.xml19
-rwxr-xr-xtestautomation/xml/optional/input/docbook/methodsynopsis.001.xml55
-rwxr-xr-xtestautomation/xml/optional/input/docbook/note.001.xml18
-rwxr-xr-xtestautomation/xml/optional/input/docbook/olink.001.xml22
-rwxr-xr-xtestautomation/xml/optional/input/docbook/orderedlist.001.xml38
-rwxr-xr-xtestautomation/xml/optional/input/docbook/orderedlist.002.xml38
-rwxr-xr-xtestautomation/xml/optional/input/docbook/procedure.001.xml44
-rwxr-xr-xtestautomation/xml/optional/input/docbook/procedure.003.xml19
-rwxr-xr-xtestautomation/xml/optional/input/docbook/productionset.001.xml66
-rwxr-xr-xtestautomation/xml/optional/input/docbook/productionset.002.xml27
-rwxr-xr-xtestautomation/xml/optional/input/docbook/productionset.003.xml30
-rwxr-xr-xtestautomation/xml/optional/input/docbook/productionset.004.xml53
-rwxr-xr-xtestautomation/xml/optional/input/docbook/productionset.005.xml89
-rwxr-xr-xtestautomation/xml/optional/input/docbook/programlisting.001.xml19
-rwxr-xr-xtestautomation/xml/optional/input/docbook/programlisting.002.xml19
-rwxr-xr-xtestautomation/xml/optional/input/docbook/programlisting.003.xml45
-rwxr-xr-xtestautomation/xml/optional/input/docbook/programlistingco.001.xml78
-rwxr-xr-xtestautomation/xml/optional/input/docbook/programlistingco.002.xml34
-rwxr-xr-xtestautomation/xml/optional/input/docbook/qandaset.001.xml45
-rwxr-xr-xtestautomation/xml/optional/input/docbook/qandaset.002.xml35
-rwxr-xr-xtestautomation/xml/optional/input/docbook/qandaset.003.xml92
-rwxr-xr-xtestautomation/xml/optional/input/docbook/refentry.001.xml25
-rwxr-xr-xtestautomation/xml/optional/input/docbook/refentry.002.xml29
-rwxr-xr-xtestautomation/xml/optional/input/docbook/refentry.003.xml65
-rwxr-xr-xtestautomation/xml/optional/input/docbook/refentry.004.xml68
-rwxr-xr-xtestautomation/xml/optional/input/docbook/reference.001.xml59
-rwxr-xr-xtestautomation/xml/optional/input/docbook/revhistory.001.xml41
-rwxr-xr-xtestautomation/xml/optional/input/docbook/screen.001.xml19
-rwxr-xr-xtestautomation/xml/optional/input/docbook/sect1.001.xml53
-rwxr-xr-xtestautomation/xml/optional/input/docbook/sect1.002.xml56
-rwxr-xr-xtestautomation/xml/optional/input/docbook/section.001.xml53
-rwxr-xr-xtestautomation/xml/optional/input/docbook/section.002.xml56
-rwxr-xr-xtestautomation/xml/optional/input/docbook/section.003.xml20
-rwxr-xr-xtestautomation/xml/optional/input/docbook/segmentedlist.001.xml21
-rwxr-xr-xtestautomation/xml/optional/input/docbook/segmentedlist.002.xml23
-rwxr-xr-xtestautomation/xml/optional/input/docbook/set.001.xml31
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.001.xml26
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.002.xml31
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.003.xml30
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.004.xml30
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.005.xml28
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.006.xml29
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.007.xml29
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.008.xml27
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.009.xml28
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.010.xml28
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.011.xml31
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.012.xml41
-rwxr-xr-xtestautomation/xml/optional/input/docbook/svg.001.xml38
-rwxr-xr-xtestautomation/xml/optional/input/docbook/svg.002.xml31
-rwxr-xr-xtestautomation/xml/optional/input/docbook/table.001.xml31
-rwxr-xr-xtestautomation/xml/optional/input/docbook/table.002.xml37
-rwxr-xr-xtestautomation/xml/optional/input/docbook/table.003.xml38
-rwxr-xr-xtestautomation/xml/optional/input/docbook/table.004.xml30
-rwxr-xr-xtestautomation/xml/optional/input/docbook/table.005.xml35
-rwxr-xr-xtestautomation/xml/optional/input/docbook/table.006.xml207
-rwxr-xr-xtestautomation/xml/optional/input/docbook/template.xml17
-rwxr-xr-xtestautomation/xml/optional/input/docbook/toc.001.xml63
-rwxr-xr-xtestautomation/xml/optional/input/docbook/ulink.001.xml23
-rwxr-xr-xtestautomation/xml/optional/input/docbook/variablelist.001.xml64
-rwxr-xr-xtestautomation/xml/optional/input/docbook/variablelist.002.xml35
-rwxr-xr-xtestautomation/xml/optional/input/docbook/variablelist.003.xml26
-rwxr-xr-xtestautomation/xml/optional/input/docbook/variablelist.004.xml26
-rwxr-xr-xtestautomation/xml/optional/input/docbook/xref.001.xml98
-rwxr-xr-xtestautomation/xml/optional/input/docbook/xrefstyle.001.xml19
88 files changed, 3618 insertions, 0 deletions
diff --git a/testautomation/xml/optional/input/docbook/informaltable.001.xml b/testautomation/xml/optional/input/docbook/informaltable.001.xml
new file mode 100755
index 000000000000..65b4cbfb62f7
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/informaltable.001.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: informaltable.001</title>
+<releaseinfo role="CVS">$Id: informaltable.001.xml,v 1.2 2008-07-11 07:47:52 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<!--
++........+........+........+........+
+| | B | | D |
++ A +........+ C +........+
+| | | | E |
++........+........+........+........+
+-->
+
+<informaltable frame="all">
+<tgroup cols="4">
+<colspec colname="c4a" colnum="4"/>
+<tbody>
+<row>
+ <entry morerows="1">A</entry>
+ <entry>B</entry>
+ <entry morerows="1">C</entry>
+ <entry>D</entry>
+</row>
+<row>
+ <entry namest="c4a">E</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/informaltable.002.xml b/testautomation/xml/optional/input/docbook/informaltable.002.xml
new file mode 100755
index 000000000000..9de04b7129e0
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/informaltable.002.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: informaltable.002</title>
+<releaseinfo role="CVS">$Id: informaltable.002.xml,v 1.2 2008-07-11 07:48:04 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<!--
++........+........+........+........+
+| A | B | C | D |
++........+........+ + +
+| E | F | | |
++ +........+ + +
+| | G | | |
++ +........+........+........+
+| | H | | I |
++........+........+........+........+
+-->
+
+<informaltable frame="all">
+<tgroup cols="4">
+<colspec colname="c4b" colnum="4"/>
+<tbody>
+<row>
+ <entry>A</entry>
+ <entry>B</entry>
+ <entry morerows="2">C</entry>
+ <entry morerows="2">D</entry>
+</row>
+<row>
+ <entry morerows="2">E</entry>
+ <entry>F</entry>
+</row>
+<row>
+ <entry>G</entry>
+</row>
+<row>
+ <entry>H</entry>
+ <entry namest="c4b">I</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/informaltable.003.xml b/testautomation/xml/optional/input/docbook/informaltable.003.xml
new file mode 100755
index 000000000000..e0f8c47e9a2a
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/informaltable.003.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: informaltable.003</title>
+<releaseinfo role="CVS">$Id: informaltable.003.xml,v 1.2 2008-07-11 07:48:14 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<!--
++........+........+........+........+
+| A | B | C | D |
++........+ +........+ +
+| E | | F | |
++ + +........+........+
+| | | | G |
++........+........+........+........+
+| H | | I | J |
++........+........+........+........+
+-->
+
+<informaltable frame="all">
+<tgroup cols="4">
+<colspec colname="c3c" colnum="3"/>
+<colspec colname="c4c" colnum="4"/>
+<tbody>
+<row>
+ <entry>A</entry>
+ <entry morerows="2">B</entry>
+ <entry>C</entry>
+ <entry morerows="1">D</entry>
+</row>
+<row>
+ <entry morerows="1">E</entry>
+ <entry>F</entry>
+</row>
+<row>
+ <entry namest="c4c">G</entry>
+</row>
+<row>
+ <entry>H</entry>
+ <entry namest="c3c">I</entry>
+ <entry>J</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/informaltable.004.xml b/testautomation/xml/optional/input/docbook/informaltable.004.xml
new file mode 100755
index 000000000000..76fafa95f57e
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/informaltable.004.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: informaltable.004</title>
+<releaseinfo role="CVS">$Id: informaltable.004.xml,v 1.2 2008-07-11 07:48:24 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<!--
++........+........+........+........+........+
+| A | | | | |
++ +........+........+........+........+
+| | B | | C |
++ +........+........+........+........+
+| | | D | F | |
++........+........+ +........+........+
+| | | | | E |
++........+........+........+........+........+
+-->
+
+<informaltable frame="all">
+<tgroup cols="5">
+<colspec colname="c3d" colnum="3"/>
+<colspec colname="c4d" colnum="4"/>
+<colspec colname="c5d" colnum="5"/>
+<tbody>
+<row>
+ <entry morerows="2">A</entry>
+</row>
+<row>
+ <entry>B</entry>
+ <entry namest="c4d" nameend="c5d">C</entry>
+</row>
+<row>
+ <entry namest="c3d" morerows="1">D</entry>
+ <entry>F</entry>
+</row>
+<row>
+ <entry namest="c5d">E</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/informaltable.005.xml b/testautomation/xml/optional/input/docbook/informaltable.005.xml
new file mode 100755
index 000000000000..2983d78998e1
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/informaltable.005.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: informaltable.005</title>
+<releaseinfo role="CVS">$Id: informaltable.005.xml,v 1.2 2008-07-11 07:48:36 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<!--
++........+........+........+........+
+| | B | | D |
++ A +........+ C +........+
+| | | | E |
++........+........+........+........+
+-->
+
+<informaltable frame="all">
+<tgroup cols="4">
+<colspec colname="c4a" colnum="4"/>
+<tbody>
+<row>
+ <entry morerows="1">A</entry>
+ <entry>B</entry>
+ <entry morerows="1">C</entry>
+ <entry>D</entry>
+</row>
+<row>
+ <entry namest="c4a">E</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/informaltable.006.xml b/testautomation/xml/optional/input/docbook/informaltable.006.xml
new file mode 100755
index 000000000000..d6e1c4562ee9
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/informaltable.006.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: informaltable.006</title>
+<releaseinfo role="CVS">$Id: informaltable.006.xml,v 1.2 2008-07-11 07:48:46 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<!--
++........+........+........+........+
+| A | | | |
++ +........+........+........+
+| | B | | C |
++ +........+........+........+
+| | | D | F |
++........+........+ +........+
+| | | | E |
++........+........+........+........+
+-->
+
+<informaltable frame="all">
+<tgroup cols="4">
+<colspec colname="c3d" colnum="3"/>
+<colspec colname="c4d" colnum="4"/>
+<tbody>
+<row>
+ <entry morerows="2">A</entry>
+</row>
+<row>
+ <entry>B</entry>
+ <entry namest="c4d">C</entry>
+</row>
+<row>
+ <entry namest="c3d" morerows="1">D</entry>
+ <entry>F</entry>
+</row>
+<row>
+ <entry namest="c4d">E</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/informaltable.007.xml b/testautomation/xml/optional/input/docbook/informaltable.007.xml
new file mode 100755
index 000000000000..5becb5ff3e2c
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/informaltable.007.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: informaltable.007</title>
+<releaseinfo role="CVS">$Id: informaltable.007.xml,v 1.2 2008-07-11 07:48:55 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<!--
++........+........+........+........+........+
+| A | | B |
++........+........+........+........+........+
+| X | | |
++........+ C +........+
+| Y | | |
++........+........+........+........+........+
+| D | | E |
++........+........+........+........+........+
+| F | G | H | I | J |
++........+........+........+........+........+
+-->
+
+<informaltable frame="all">
+<tgroup cols="5">
+<colspec colname="c1c"/>
+<colspec colname="c2c"/>
+<colspec colname="c3c"/>
+<colspec colname="c4c"/>
+<colspec colname="c5c"/>
+<tbody>
+<row>
+ <entry namest="c1c" nameend="c2c">A</entry>
+ <entry namest="c4c" nameend="c5c">B</entry>
+</row>
+<row>
+ <entry>X</entry>
+ <entry namest="c2c" nameend="c4c" morerows="1">C</entry>
+</row>
+<row>
+ <entry>Y</entry>
+</row>
+<row>
+ <entry namest="c1c" nameend="c2c">D</entry>
+ <entry namest="c4c" nameend="c5c">E</entry>
+</row>
+<row>
+ <entry>F</entry>
+ <entry>G</entry>
+ <entry>H</entry>
+ <entry>I</entry>
+ <entry>J</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/informaltable.008.xml b/testautomation/xml/optional/input/docbook/informaltable.008.xml
new file mode 100755
index 000000000000..48818aa072e2
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/informaltable.008.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: informaltable.008</title>
+<releaseinfo role="CVS">$Id: informaltable.008.xml,v 1.2 2008-07-11 07:49:06 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<!--
++........+........+........+........+........+
+| A | | B |
++........+........+........+........+........+
+| X | | |
++........+ C +........+
+| Y | | |
++........+........+........+........+........+
+| D | | E |
++........+........+........+........+........+
+-->
+
+<informaltable frame="all">
+<tgroup cols="5">
+<colspec colname="c1c"/>
+<colspec colname="c2c"/>
+<colspec colname="c3c"/>
+<colspec colname="c4c"/>
+<colspec colname="c5c"/>
+<tbody>
+<row>
+ <entry namest="c1c" nameend="c2c">A</entry>
+ <entry namest="c4c" nameend="c5c">B</entry>
+</row>
+<row>
+ <entry>X</entry>
+ <entry namest="c2c" nameend="c4c" morerows="1">C</entry>
+</row>
+<row>
+ <entry>Y</entry>
+</row>
+<row>
+ <entry namest="c1c" nameend="c2c">D</entry>
+ <entry namest="c4c" nameend="c5c">E</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/informaltable.009.xml b/testautomation/xml/optional/input/docbook/informaltable.009.xml
new file mode 100755
index 000000000000..7d0cc40812f2
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/informaltable.009.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: informaltable.009</title>
+<releaseinfo role="CVS">$Id: informaltable.009.xml,v 1.2 2008-07-11 07:49:16 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<!--
++........+........+........+........+........+
+| A | | B |
++........+........+........+........+........+
+| | C | |
++........+........+........+........+........+
+| D | | E |
++........+........+........+........+........+
+-->
+
+<informaltable frame="all">
+<tgroup cols="5">
+<colspec colname="c1c"/>
+<colspec colname="c2c"/>
+<colspec colname="c3c"/>
+<colspec colname="c4c"/>
+<colspec colname="c5c"/>
+<tbody>
+<row>
+ <entry namest="c1c" nameend="c2c">A</entry>
+ <entry namest="c4c" nameend="c5c">B</entry>
+</row>
+<row>
+ <entry namest="c2c" nameend="c4c">C</entry>
+</row>
+<row>
+ <entry namest="c1c" nameend="c2c">D</entry>
+ <entry namest="c4c" nameend="c5c">E</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/informaltable.010.xml b/testautomation/xml/optional/input/docbook/informaltable.010.xml
new file mode 100755
index 000000000000..f161073d2328
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/informaltable.010.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: informaltable.010</title>
+<releaseinfo role="CVS">$Id: informaltable.010.xml,v 1.2 2008-07-11 07:49:26 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<!--
++........+........+........+........+
+| A | | | F |
++........+........+........+........+
+| | B | |
++........+........+ D +
+| C | | |
++........+........+........+........+
+-->
+
+<informaltable frame="all">
+<tgroup cols="4">
+<colspec colname="c1a" colnum="1"/>
+<colspec colname="c2a" colnum="2"/>
+<colspec colname="c3a" colnum="3"/>
+<colspec colname="c4a" colnum="4"/>
+<tbody>
+<row>
+ <entry>A</entry>
+ <entry colname="c4a">F</entry>
+</row>
+<row>
+ <entry colname="c2a">B</entry>
+ <entry namest="c3a" nameend="c4a" morerows="1">D</entry>
+</row>
+<row>
+ <entry>C</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/informaltable.011.xml b/testautomation/xml/optional/input/docbook/informaltable.011.xml
new file mode 100755
index 000000000000..5ed718934be1
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/informaltable.011.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: informaltable.011</title>
+<releaseinfo role="CVS">$Id: informaltable.011.xml,v 1.2 2008-07-11 07:49:36 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<!--
++........+........+........+........+
+| | | | F |
++ A +........+........+........+
+| | B |
++........+ +
+| C | |
++........+........+........+........+
+-->
+
+<informaltable frame="all">
+<tgroup cols="4">
+<colspec colname="c1a" colnum="1"/>
+<colspec colname="c2a" colnum="2"/>
+<colspec colname="c3a" colnum="3"/>
+<colspec colname="c4a" colnum="4"/>
+<tbody>
+<row>
+ <entry morerows="1">A</entry>
+ <entry colname="c4a">F</entry>
+</row>
+<row>
+ <entry namest="c2a" nameend="c4a" morerows="1">B</entry>
+</row>
+<row>
+ <entry>C</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/informaltable.012.xml b/testautomation/xml/optional/input/docbook/informaltable.012.xml
new file mode 100755
index 000000000000..bffc2c3c4f9e
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/informaltable.012.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: informaltable.012</title>
+<releaseinfo role="CVS">$Id: informaltable.012.xml,v 1.2 2008-07-11 07:49:46 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<!--
++........+........+........+
+| A | | |
++........+........+........+
+| | B |
++........+........+........+
+-->
+
+<informaltable frame="all">
+<tgroup cols="3">
+<colspec colname="c2a" colnum="2"/>
+<colspec colname="c3a" colnum="3"/>
+<tbody>
+<row>
+ <entry>A</entry>
+</row>
+<row>
+ <entry namest="c2a" nameend="c3a">B</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/informaltable.013.xml b/testautomation/xml/optional/input/docbook/informaltable.013.xml
new file mode 100755
index 000000000000..574e3f2cd341
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/informaltable.013.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: informaltable.013</title>
+<releaseinfo role="CVS">$Id: informaltable.013.xml,v 1.2 2008-07-11 07:49:55 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<!--
++........+........+........+........+........+
+| A | | | | |
++........+........+........+........+........+
+-->
+
+<informaltable frame="all">
+<tgroup cols="5">
+<tbody>
+<row>
+ <entry>A</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/informaltable.014.xml b/testautomation/xml/optional/input/docbook/informaltable.014.xml
new file mode 100755
index 000000000000..6b36611b77de
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/informaltable.014.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: informaltable.014</title>
+<releaseinfo role="CVS">$Id: informaltable.014.xml,v 1.2 2008-07-11 07:50:04 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<!--
++........+........+........+........+........+
+| A | | | | |
++ +........+........+........+........+
+| | B | | C |
++ +........+........+........+........+
+| | | D | G | |
++........+........+ +........+........+
+| | | | | E |
++........+........+........+........+........+
+| | | F |
++........+........+........+........+........+
+-->
+
+<informaltable frame="all">
+<tgroup cols="5">
+<colspec colname="c3d" colnum="3"/>
+<colspec colname="c4d" colnum="4"/>
+<colspec colname="c5d" colnum="5"/>
+<tbody>
+<row>
+ <entry morerows="2">A</entry>
+</row>
+<row>
+ <entry>B</entry>
+ <entry namest="c4d" nameend="c5d">C</entry>
+</row>
+<row>
+ <entry namest="c3d" morerows="1">D</entry>
+ <entry>G</entry>
+</row>
+<row>
+ <entry namest="c5d">E</entry>
+</row>
+<row>
+ <entry namest="c3d" nameend="c5d">F</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/inline.001.xml b/testautomation/xml/optional/input/docbook/inline.001.xml
new file mode 100755
index 000000000000..d8edcc77f0e0
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/inline.001.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article id="article">
+<articleinfo>
+<title>Unit Test: inline.001.xml</title>
+<releaseinfo role="CVS">$Id: inline.001.xml,v 1.2 2008-07-11 07:50:15 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>This article tests inline objects.</para>
+
+<para>This is a <phrase role="red">red phrase</phrase>.
+This <emphasis role="strong">emphasis is strong</emphasis>.
+</para>
+
+<section><title>Trademarks</title>
+
+<para><trademark>This is trademarked</trademark>.
+<trademark class="copyright">This is copyrighted</trademark>.
+<trademark class="registered">This is a registered trademark</trademark>.
+<trademark class="service">This is is a service mark</trademark>.</para>
+</section>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/itemizedlist.001.xml b/testautomation/xml/optional/input/docbook/itemizedlist.001.xml
new file mode 100755
index 000000000000..cde6add71f1b
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/itemizedlist.001.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: itemizedlist.001</title>
+<releaseinfo role="CVS">$Id: itemizedlist.001.xml,v 1.2 2008-07-11 07:50:25 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<itemizedlist><title>YE OLDE ITEMIZEDLIST</title>
+<listitem><para>Item 1</para></listitem>
+<listitem><para>Item 1</para>
+<variablelist termlength="3pc">
+<varlistentry>
+<term>A</term><listitem><para>xxxxx</para></listitem></varlistentry>
+<varlistentry>
+<term>B</term><listitem><para>xxxxx</para></listitem></varlistentry>
+</variablelist>
+</listitem>
+<listitem><para>Item 4</para>
+</listitem>
+</itemizedlist>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/itemizedlist.002.xml b/testautomation/xml/optional/input/docbook/itemizedlist.002.xml
new file mode 100755
index 000000000000..062a5c8eeaa8
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/itemizedlist.002.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: itemizedlist.002</title>
+<releaseinfo role="CVS">$Id: itemizedlist.002.xml,v 1.2 2008-07-11 07:50:35 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<itemizedlist>
+ <listitem><para>Level 1</para>
+ <itemizedlist>
+ <listitem><para>Level 2</para>
+ <itemizedlist>
+ <listitem id="someOtherILI"><para>Level 3</para>
+ <itemizedlist>
+ <listitem><para>Level 4</para>
+ <itemizedlist mark="disc">
+ <listitem><para>Level 5</para>
+ <itemizedlist mark="disc">
+ <listitem override="round"><para>Level 6, override=round</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </itemizedlist>
+</listitem>
+</itemizedlist>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/itemizedlist.003.xml b/testautomation/xml/optional/input/docbook/itemizedlist.003.xml
new file mode 100755
index 000000000000..e6082c915d21
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/itemizedlist.003.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: itemizedlist.003</title>
+<releaseinfo role="CVS">$Id: itemizedlist.003.xml,v 1.2 2008-07-11 07:50:45 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<itemizedlist>
+ <listitem><para>some text (not compact)</para></listitem>
+ <listitem><para>some text (not compact)</para></listitem>
+ <listitem><para>some text (not compact)</para></listitem>
+ <listitem><para>some text (not compact)</para></listitem>
+ <listitem><para>some text (not compact)</para></listitem>
+ <listitem><para>some text (not compact)</para></listitem>
+ <listitem><para>some text (not compact)</para></listitem>
+</itemizedlist>
+
+<orderedlist>
+ <listitem><para>some text (not compact)</para></listitem>
+ <listitem><para>some text (not compact)</para></listitem>
+ <listitem><para>some text (not compact)</para></listitem>
+ <listitem><para>some text (not compact)</para></listitem>
+ <listitem><para>some text (not compact)</para></listitem>
+ <listitem><para>some text (not compact)</para></listitem>
+ <listitem><para>some text (not compact)</para></listitem>
+</orderedlist>
+
+<itemizedlist spacing="compact">
+ <listitem><para>some text (compact)</para></listitem>
+ <listitem><para>some text (compact)</para></listitem>
+ <listitem><para>some text (compact)</para></listitem>
+ <listitem><para>some text (compact)</para></listitem>
+ <listitem><para>some text (compact)</para></listitem>
+ <listitem><para>some text (compact)</para></listitem>
+ <listitem><para>some text (compact)</para></listitem>
+</itemizedlist>
+
+<orderedlist spacing="compact">
+ <listitem><para>some text (compact)</para></listitem>
+ <listitem><para>some text (compact)</para></listitem>
+ <listitem><para>some text (compact)</para></listitem>
+ <listitem><para>some text (compact)</para></listitem>
+ <listitem><para>some text (compact)</para></listitem>
+ <listitem><para>some text (compact)</para></listitem>
+ <listitem><para>some text (compact)</para></listitem>
+</orderedlist>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/link.001.xml b/testautomation/xml/optional/input/docbook/link.001.xml
new file mode 100755
index 000000000000..1a276bce0070
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/link.001.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: link.001</title>
+<releaseinfo role="CVS">$Id: link.001.xml,v 1.2 2008-07-11 07:50:54 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<section id="section"><title>Section Title</title>
+
+<para>A <link linkend="section">self-referential link</link>.</para>
+
+<para>A link without content: <link linkend="section2"/>.</para>
+
+<para>A link without content, but with an xreflabel:
+<link linkend="section2" xreflabel="stb"/>.</para>
+
+<para>A link with content and an xreflabel:
+<link linkend="section2" xreflabel="stb">here</link>.</para>
+
+</section>
+
+<section id="section2">
+<title>A Very Long Section Title That I Don't Want To Use For My XRef</title>
+<titleabbrev id="stb">Long Section Title</titleabbrev>
+
+<para>Some text with a <link linkend="section">link back</link> to the
+first section.</para>
+
+</section>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/literallayout.001.xml b/testautomation/xml/optional/input/docbook/literallayout.001.xml
new file mode 100755
index 000000000000..1fe06d5a197f
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/literallayout.001.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: literallayout.001</title>
+<releaseinfo role="CVS">$Id: literallayout.001.xml,v 1.2 2008-07-11 07:51:05 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<literallayout>LiteralLayout: This is a test
+ Only a test.
+Had this been a real emegency,
+ We would have fled in terror
+And you would not have been informed.</literallayout>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/literallayout.002.xml b/testautomation/xml/optional/input/docbook/literallayout.002.xml
new file mode 100755
index 000000000000..008f37794fc8
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/literallayout.002.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: literallayout.002</title>
+<releaseinfo role="CVS">$Id: literallayout.002.xml,v 1.2 2008-07-11 07:51:14 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<literallayout>LiteralLayout: This is a test
+ This is a test with <emphasis> embedded
+ markup</emphasis>; but still
+ Only a test.
+Had this been a real emegency,
+ We would have fled in terror
+And you would not have been informed.</literallayout>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/literallayout.003.xml b/testautomation/xml/optional/input/docbook/literallayout.003.xml
new file mode 100755
index 000000000000..9901e3bd4f8b
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/literallayout.003.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: literallayout.003</title>
+<releaseinfo role="CVS">$Id: literallayout.003.xml,v 1.2 2008-07-11 07:51:25 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<literallayout class="monospaced">LiteralLayout(monospaced): This is a test
+ Only a test.
+Had this been a real emegency,
+ We would have fled in terror
+And you would not have been informed.</literallayout>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/lot.001.xml b/testautomation/xml/optional/input/docbook/lot.001.xml
new file mode 100755
index 000000000000..ccf6220aedf4
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/lot.001.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY blah "<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
+Blah blah blah blah blah blah blah blah. Blah blah blah blah.
+</para>">
+]>
+<book id="book">
+<bookinfo>
+<title>Unit Test: lot.001</title>
+<releaseinfo role="CVS">$Id: lot.001.xml,v 1.2 2008-07-11 07:51:35 rt Exp $
+</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</bookinfo>
+
+<chapter id="chap1"><title>First Chapter</title>
+
+&blah;
+
+<figure id="figduck1"><title>A Test Figure</title>
+<programlisting>
+A figure. Just to test the numeration.</programlisting>
+</figure>
+
+<section><title>First Section</title>
+
+&blah;
+
+</section>
+</chapter>
+
+<chapter id="chap2"><title>Second Chapter</title>
+
+&blah;
+
+<figure id="figduck2"><title>A Test Figure</title>
+<programlisting>
+A figure. Just to test the numeration.</programlisting>
+</figure>
+
+<sidebar><title>A Sidebar</title>
+
+&blah;
+
+<figure id="figduck3"><title>A Test Figure</title>
+<programlisting>
+A figure. Just to test the numeration.</programlisting>
+</figure>
+
+&blah;
+
+</sidebar>
+</chapter>
+</book>
diff --git a/testautomation/xml/optional/input/docbook/mathml.001.xml b/testautomation/xml/optional/input/docbook/mathml.001.xml
new file mode 100755
index 000000000000..8bb633fe820d
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/mathml.001.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook MathML Module V1.0//EN"
+ "http://www.oasis-open.org/docbook/xml/mathml/1.0/dbmathml.dtd">
+
+<article id="article">
+<articleinfo>
+<title>Unit Test: mathml.001.xml</title>
+<releaseinfo role="CVS">$Id: mathml.001.xml,v 1.2 2008-07-11 07:51:46 rt Exp $</releaseinfo>
+</articleinfo>
+
+<para>The following equation is in MathML:</para>
+
+<informalequation>
+ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML">
+ <mml:apply><mml:divide/></mml:apply>
+ </mml:math>
+</informalequation>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/methodsynopsis.001.xml b/testautomation/xml/optional/input/docbook/methodsynopsis.001.xml
new file mode 100755
index 000000000000..2ec8cfa227a0
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/methodsynopsis.001.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article id="article">
+<articleinfo>
+<title>Unit Test: methodsynopsis.001.xml</title>
+<releaseinfo role="CVS">$Id: methodsynopsis.001.xml,v 1.2 2008-07-11 07:51:56 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>Here's a <sgmltag>methodsynopsis</sgmltag> in a <sgmltag>classsynopsis</sgmltag>:
+</para>
+
+<classsynopsis>
+<ooclass>
+<classname>Foo</classname>
+</ooclass>
+<methodsynopsis>
+<modifier>public</modifier>
+<modifier>static</modifier>
+<type>double</type>
+<methodname>getQuote</methodname>
+<methodparam>
+<type>String</type>
+<parameter>symbol</parameter>
+</methodparam>
+<methodparam>
+<type>double</type>
+<parameter>price</parameter>
+</methodparam>
+</methodsynopsis>
+</classsynopsis>
+
+<para>Here's a <sgmltag>methodsynopsis</sgmltag>
+<emphasis>outside</emphasis> a <sgmltag>classsynopsis</sgmltag>:
+</para>
+
+<methodsynopsis>
+<modifier>public</modifier>
+<modifier>static</modifier>
+<type>double</type>
+<methodname>getQuote</methodname>
+<methodparam>
+<type>String</type>
+<parameter>symbol</parameter>
+</methodparam>
+<methodparam>
+<type>double</type>
+<parameter>price</parameter>
+</methodparam>
+</methodsynopsis>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/note.001.xml b/testautomation/xml/optional/input/docbook/note.001.xml
new file mode 100755
index 000000000000..214c5466b175
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/note.001.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: note.001</title>
+<releaseinfo role="CVS">$Id: note.001.xml,v 1.2 2008-07-11 07:52:06 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<note>
+<title>Who can do this</title>
+<para>All operators</para>
+</note>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/olink.001.xml b/testautomation/xml/optional/input/docbook/olink.001.xml
new file mode 100755
index 000000000000..e022911ef1fc
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/olink.001.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY olink.001.xml SYSTEM "olink.001.xml" NDATA SGML>
+]>
+<article>
+<articleinfo>
+<title>Unit Test: olink.001</title>
+<releaseinfo role="CVS">$Id: olink.001.xml,v 1.2 2008-07-11 07:52:21 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+<modespec id="olink">file:///sourceforge/projects/docbook/testdocs/tests/olink.001.html</modespec>
+</articleinfo>
+
+<para>This is an <olink targetdocent="olink.001.xml" linkmode="olink">OLink</olink>
+with a linkmode. (It is self-referential).</para>
+
+<para>This is an <olink targetdocent="olink.001.xml">OLink</olink>
+without a linkmode. (It is also self-referential).</para>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/orderedlist.001.xml b/testautomation/xml/optional/input/docbook/orderedlist.001.xml
new file mode 100755
index 000000000000..c224975683f0
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/orderedlist.001.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: orderedlist.001</title>
+<releaseinfo role="CVS">$Id: orderedlist.001.xml,v 1.2 2008-07-11 07:52:30 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<orderedlist>
+ <listitem><para>Level 1</para>
+ <orderedlist>
+ <listitem><para>Level 2</para>
+ <orderedlist>
+ <listitem id="someOLI"><para>Level 3</para>
+ <orderedlist>
+ <listitem><para>Level 4</para>
+ <orderedlist>
+ <listitem><para>Level 5</para>
+ <orderedlist>
+ <listitem override="13"><para>Level 6, override=13</para>
+ </listitem>
+ </orderedlist>
+ </listitem>
+ </orderedlist>
+ </listitem>
+ </orderedlist>
+ </listitem>
+ </orderedlist>
+ </listitem>
+ </orderedlist>
+</listitem>
+</orderedlist>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/orderedlist.002.xml b/testautomation/xml/optional/input/docbook/orderedlist.002.xml
new file mode 100755
index 000000000000..47715b2761e3
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/orderedlist.002.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: orderedlist.002</title>
+<releaseinfo role="CVS">$Id: orderedlist.002.xml,v 1.2 2008-07-11 07:52:41 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<orderedlist numeration="loweralpha">
+ <listitem><para>Level 1, numeration="loweralpha"</para>
+ <orderedlist>
+ <listitem><para>Level 2</para>
+ <orderedlist>
+ <listitem><para>Level 3</para>
+ <orderedlist>
+ <listitem><para>Level 4</para>
+ <orderedlist>
+ <listitem><para>Level 5</para>
+ <orderedlist>
+ <listitem><para>Level 6</para>
+ </listitem>
+ </orderedlist>
+ </listitem>
+ </orderedlist>
+ </listitem>
+ </orderedlist>
+ </listitem>
+ </orderedlist>
+ </listitem>
+ </orderedlist>
+</listitem>
+</orderedlist>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/procedure.001.xml b/testautomation/xml/optional/input/docbook/procedure.001.xml
new file mode 100755
index 000000000000..db3ecd0a2859
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/procedure.001.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: procedure.001</title>
+<releaseinfo role="CVS">$Id: procedure.001.xml,v 1.2 2008-07-11 07:52:51 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<procedure id="proc"><title>Procedure Title</title>
+<step><para>Press MENUS.</para>
+</step>
+<step id="step-x"><para>Press MENUS.</para>
+</step>
+<step><para>Press MENUS.</para>
+</step>
+<step><para>Press MENUS.</para>
+</step>
+<step><para>Select SETUP.</para>
+<substeps>
+<step><para>Should be an <quote>a</quote></para>
+</step>
+<step id="step-y"><para>Should be a <quote>b</quote></para>
+</step>
+<step><para>Should be a <quote>c</quote></para>
+</step>
+<step><para>Should be a <quote>d</quote></para>
+</step>
+<step><para>should be an <quote>e</quote></para>
+<substeps>
+<step><para>should be an <quote>i</quote></para>
+</step>
+<step id="step-z"><para>should be an <quote>ii</quote></para>
+</step>
+</substeps>
+</step>
+</substeps>
+</step>
+</procedure>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/procedure.003.xml b/testautomation/xml/optional/input/docbook/procedure.003.xml
new file mode 100755
index 000000000000..b8fb8e46c724
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/procedure.003.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: procedure.003</title>
+<releaseinfo role="CVS">$Id: procedure.003.xml,v 1.2 2008-07-11 07:53:05 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<procedure>
+<para>Do the following:</para>
+<step><para>One step?</para>
+</step>
+</procedure>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/productionset.001.xml b/testautomation/xml/optional/input/docbook/productionset.001.xml
new file mode 100755
index 000000000000..1be211186159
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/productionset.001.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook EBNF Module V1.0//EN"
+ "http://www.oasis-open.org/docbook/xml/ebnf/1.0/dbebnf.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: productionset.001</title>
+<releaseinfo role="CVS">$Id: productionset.001.xml,v 1.2 2008-07-11 07:53:15 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<productionset><title>Arithemetic Expressions</title>
+<production id="ebnf.expression">
+ <lhs>Expression</lhs>
+ <rhs><nonterminal def="#ebnf.arith">ArithExpression</nonterminal> |
+ <nonterminal def="#ebnf.mult">MultExpression</nonterminal>
+ <lineannotation>Does this grammar actually get precedence right?
+ </lineannotation>
+ </rhs>
+</production>
+<production id="ebnf.arith">
+ <lhs>ArithExpression</lhs>
+ <rhs><nonterminal def="#ebnf.expression">Expression</nonterminal>
+ '+'
+ <nonterminal def="#ebnf.mult">MultExpression</nonterminal>
+ </rhs>
+<!--
+ <rhs><nonterminal def="#ebnf.expression">Expression</nonterminal>
+ '-'
+ <nonterminal def="#ebnf.mult">MultExpression</nonterminal>
+ </rhs>
+-->
+</production>
+<production id="ebnf.mult">
+ <lhs>MultExpression</lhs>
+ <rhs><nonterminal def="#ebnf.mult">MultExpression</nonterminal>
+ '*'
+ <nonterminal def="#ebnf.mult">MultExpression</nonterminal>
+ </rhs>
+<!--
+ <rhs>
+ <nonterminal def="#ebnf.mult">MultExpression</nonterminal>
+ '/'
+ <nonterminal def="#ebnf.mult">MultExpression</nonterminal>
+ </rhs>
+-->
+ <constraint linkend="div0"/>
+<!--
+ <rhs>
+ <nonterminal def="#ebnf.number">Number</nonterminal>
+ </rhs>
+-->
+</production>
+<production id="ebnf.number">
+ <lhs>Number</lhs>
+ <rhs>[0-9]+</rhs>
+</production>
+</productionset>
+
+<constraintdef id="div0" role="Err">
+<title>Division by Zero</title>
+<para>Division by zero is an error.</para>
+</constraintdef>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/productionset.002.xml b/testautomation/xml/optional/input/docbook/productionset.002.xml
new file mode 100755
index 000000000000..c526639a7f12
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/productionset.002.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook EBNF Module V1.0//EN"
+ "http://www.oasis-open.org/docbook/xml/ebnf/1.0/dbebnf.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: productionset.002</title>
+<releaseinfo role="CVS">$Id: productionset.002.xml,v 1.2 2008-07-11 07:53:26 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<productionset><title>Character Range</title>
+<production id="NT-Char">
+<lhs>Char</lhs>
+<rhs>#x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD]
+<!-- The above line break in the source file has nothing to do with the
+line breaks in the output. -->
+| [#x10000-#x10FFFF]
+<lineannotation>any Unicode character, excluding the surrogate
+blocks, FFFE, and FFFF.
+</lineannotation>
+</rhs>
+</production>
+</productionset>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/productionset.003.xml b/testautomation/xml/optional/input/docbook/productionset.003.xml
new file mode 100755
index 000000000000..ac54f518c1b7
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/productionset.003.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook EBNF Module V1.0//EN"
+ "http://www.oasis-open.org/docbook/xml/ebnf/1.0/dbebnf.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: productionset.003</title>
+<releaseinfo role="CVS">$Id: productionset.003.xml,v 1.2 2008-07-11 07:53:37 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<productionset><title>Standalone Document Declaration</title>
+<production id="NT-SDDecl">
+<lhs>SDDecl</lhs>
+<rhs><nonterminal def="#NT-S">S</nonterminal> 'standalone' <nonterminal def="#NT-Eq">Eq</nonterminal>
+<!-- The above line break in the source file has nothing to do with the
+line breaks in the output. -->
+(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no') '"'))
+</rhs>
+<constraint linkend="check-rmd"/>
+</production>
+</productionset>
+
+<constraintdef id="check-rmd" role="VC">
+<title>Standalone Document Declaration</title>
+<para>Some description...</para>
+</constraintdef>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/productionset.004.xml b/testautomation/xml/optional/input/docbook/productionset.004.xml
new file mode 100755
index 000000000000..f907b59707f9
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/productionset.004.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook EBNF Module V1.0//EN"
+ "http://www.oasis-open.org/docbook/xml/ebnf/1.0/dbebnf.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: productionset.004</title>
+<releaseinfo role="CVS">$Id: productionset.004.xml,v 1.2 2008-07-11 07:53:47 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<productionset>
+<production id="NT-SDDecl">
+<lhs>SDDecl</lhs>
+<rhs><nonterminal def="#NT-S">S</nonterminal> 'standalone' <nonterminal def="#NT-Eq">Eq</nonterminal>
+<!-- The above line break in the source file has nothing to do with the
+line breaks in the output. -->
+(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no') '"'))
+</rhs>
+<constraint linkend="check-rmd"/>
+</production>
+<production id="NT-element">
+<lhs>element</lhs>
+<rhs>
+<nonterminal def="#NT-EmptyElemTag">EmptyElemTag</nonterminal>
+<sbr/><!-- There will be a line break in the output because of the sbr. -->
+| <nonterminal def="#NT-STag">STag</nonterminal> <nonterminal def="#NT-content">content</nonterminal>
+<!-- The above line break has nothing to do with the output. -->
+<nonterminal def="#NT-SDDecl"/>
+</rhs>
+<constraint linkend="GIMatch"/>
+<constraint linkend="elementvalid"/>
+</production>
+<productionrecap linkend="NT-SDDecl"/>
+</productionset>
+
+<constraintdef id="GIMatch" role="WFC">
+<title>Element Type Match</title>
+<para>Some description...</para>
+</constraintdef>
+
+<constraintdef id="elementvalid" role="VC">
+<title>Element Valid</title>
+<para>Some description...</para>
+</constraintdef>
+
+<constraintdef id="check-rmd" role="VC">
+<title>Standalone Document Declaration</title>
+<para>Some description...</para>
+</constraintdef>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/productionset.005.xml b/testautomation/xml/optional/input/docbook/productionset.005.xml
new file mode 100755
index 000000000000..2ea062b9a704
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/productionset.005.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook EBNF Module V1.0//EN"
+ "http://www.oasis-open.org/docbook/xml/ebnf/1.0/dbebnf.dtd">
+<book>
+<bookinfo>
+<title>Unit Test: productionset.005</title>
+<releaseinfo role="CVS">$Id: productionset.005.xml,v 1.2 2008-07-11 07:53:57 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</bookinfo>
+
+<preface><title>Preface</title>
+<para>This book tests EBNF constraint links that cross chunk boundaries.</para>
+</preface>
+
+<chapter><title>EBNF</title>
+
+<productionset>
+<production id="NT-SDDecl">
+<lhs>SDDecl</lhs>
+<rhs><nonterminal def="#NT-S">S</nonterminal> 'standalone' <nonterminal def="#NT-Eq">Eq</nonterminal>
+<!-- The above line break in the source file has nothing to do with the
+line breaks in the output. -->
+(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no') '"'))
+</rhs>
+<constraint linkend="check-rmd"/>
+</production>
+<production id="NT-element">
+<lhs>element</lhs>
+<rhs>
+<nonterminal def="#NT-EmptyElemTag">EmptyElemTag</nonterminal>
+<sbr/><!-- There will be a line break in the output because of the sbr. -->
+| <nonterminal def="#NT-STag">STag</nonterminal> <nonterminal def="#NT-content">content</nonterminal>
+<!-- The above line break has nothing to do with the output. -->
+<nonterminal def="#NT-SDDecl"/>
+</rhs>
+<constraint linkend="GIMatch"/>
+<constraint linkend="elementvalid"/>
+</production>
+<productionrecap linkend="NT-SDDecl"/>
+</productionset>
+
+</chapter>
+
+<chapter><title>Constraints</title>
+
+<constraintdef id="GIMatch" role="WFC">
+<title>Element Type Match</title>
+<para>Some description...</para>
+</constraintdef>
+
+<constraintdef id="elementvalid" role="VC">
+<title>Element Valid</title>
+<para>Some description...</para>
+</constraintdef>
+
+<constraintdef id="check-rmd" role="VC">
+<title>Standalone Document Declaration</title>
+<para>Some description...</para>
+</constraintdef>
+
+<constraintdef id="NT-S">
+<title>NT-S</title>
+<para>Just for link integrity...</para>
+</constraintdef>
+
+<constraintdef id="NT-Eq">
+<title>NT-Eq</title>
+<para>Just for link integrity...</para>
+</constraintdef>
+
+<constraintdef id="NT-EmptyElemTag">
+<title>NT-EmptyElemTag</title>
+<para>Just for link integrity...</para>
+</constraintdef>
+
+<constraintdef id="NT-STag">
+<title>NT-STag</title>
+<para>Just for link integrity...</para>
+</constraintdef>
+
+<constraintdef id="NT-content">
+<title>NT-content</title>
+<para>Just for link integrity...</para>
+</constraintdef>
+
+</chapter>
+</book>
diff --git a/testautomation/xml/optional/input/docbook/programlisting.001.xml b/testautomation/xml/optional/input/docbook/programlisting.001.xml
new file mode 100755
index 000000000000..33c0332eb9dc
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/programlisting.001.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: programlisting.001</title>
+<releaseinfo role="CVS">$Id: programlisting.001.xml,v 1.2 2008-07-11 07:54:08 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<programlisting linenumbering="numbered">ProgramListing: This is a test
+ Only a test.
+Had this been a real emegency,
+ We would have fled in terror
+And you would not have been informed.</programlisting>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/programlisting.002.xml b/testautomation/xml/optional/input/docbook/programlisting.002.xml
new file mode 100755
index 000000000000..a3710469b3c0
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/programlisting.002.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: programlisting.002</title>
+<releaseinfo role="CVS">$Id: programlisting.002.xml,v 1.2 2008-07-11 07:54:19 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<programlisting><inlinemediaobject>
+<imageobject>
+<imagedata format="linespecific" fileref="tests/programlisting.002.xml"/>
+</imageobject>
+</inlinemediaobject></programlisting>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/programlisting.003.xml b/testautomation/xml/optional/input/docbook/programlisting.003.xml
new file mode 100755
index 000000000000..4039ad2a658f
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/programlisting.003.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: programlisting.003</title>
+<releaseinfo role="CVS">$Id: programlisting.003.xml,v 1.2 2008-07-11 07:54:30 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<programlisting linenumbering="numbered">@rem = '--*-Perl-*--
+@echo off
+perl.exe %_batchname %$
+goto endofperl
+@rem ';
+
+# Compress mail...
+
+require 'n:/home/nwalsh/lib/cygnus.pl';
+require 'timelocal.pl';
+use Cwd;
+
+select (STDERR); $| = 1;
+select (STDOUT); $| = 1;
+
+@DIRS = ("/home/nwalsh/Mail");
+while (@DIRS) {
+ $dir = shift @DIRS;
+ opendir (DIR, $dir);
+ while ($fname = readdir(DIR)) {
+ $file = "$dir/$fname";
+ next if ! -d $file;
+ next if $fname =~ /^\.\.?$/;
+
+ print "$file\n";
+ push (@DIRS, $file);
+ &amp;compress ($file);
+ }
+}
+
+exit;</programlisting>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/programlistingco.001.xml b/testautomation/xml/optional/input/docbook/programlistingco.001.xml
new file mode 100755
index 000000000000..1a72d1f1612b
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/programlistingco.001.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: programlistingco.001</title>
+<releaseinfo role="CVS">$Id: programlistingco.001.xml,v 1.2 2008-07-11 07:54:40 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<programlistingco>
+<areaspec>
+<area coords="1" id="prologue"/>
+<area coords="4" id="skipeof"/>
+<areaset coords="" id="xreq">
+<area coords="9" id="require1"/>
+<area coords="10" id="require2"/>
+</areaset>
+<area coords="11 12" id="use"/>
+<area coords="27" id="funccall"/>
+</areaspec>
+<programlisting>@rem = '--*-Perl-*--
+@echo off
+perl.exe %_batchname %$
+goto endofperl
+@rem ';
+
+# Compress mail...
+
+require 'n:/home/nwalsh/lib/cygnus.pl';
+require 'timelocal.pl';
+use Cwd;
+
+select (STDERR); $| = 1;
+select (STDOUT); $| = 1;
+
+@DIRS = ("/home/nwalsh/Mail");
+while (@DIRS) {
+ $dir = shift @DIRS;
+ opendir (DIR, $dir);
+ while ($fname = readdir(DIR)) {
+ $file = "$dir/$fname";
+ next if ! -d $file;
+ next if $fname =~ /^\.\.?$/;
+
+ print "$file\n";
+ push (@DIRS, $file);
+ &amp;compress ($file);
+ }
+}
+
+exit;</programlisting>
+<calloutlist>
+<callout arearefs="prologue">
+<para>The prologue handles embedding a Perl script in a DOS batch file.</para>
+</callout>
+<callout arearefs="skipeof">
+<para>The <literal>goto</literal> statement, interpreted by the DOS batch
+file interpreter, skips over the body of the Perl script.</para>
+</callout>
+<callout arearefs="require1">
+<para>The <literal>require</literal> statement sources in external program
+fragments.</para>
+</callout>
+<callout arearefs="use">
+<para>The <literal>use</literal> statement is similar, but has additional
+utility. It is a Perl5 function. (Note that this callout area specifies
+both a line and a column.)</para>
+</callout>
+<callout arearefs="funccall">
+<para>This is a user subroutine call.</para>
+</callout>
+</calloutlist>
+</programlistingco>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/programlistingco.002.xml b/testautomation/xml/optional/input/docbook/programlistingco.002.xml
new file mode 100755
index 000000000000..a3cea6f0bb7d
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/programlistingco.002.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: programlistingco.002</title>
+<releaseinfo role="CVS">$Id: programlistingco.002.xml,v 1.2 2008-07-11 07:54:49 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<programlistingco>
+<areaspec>
+<area coords="1" id="prologue2"/>
+<area coords="4" id="skipeof2"/>
+<areaset coords="" id="xreq2">
+<area coords="9" id="require12"/>
+<area coords="10" id="require22"/>
+</areaset>
+<area coords="11 12" id="use2"/>
+<area coords="27" id="funccall2"/>
+</areaspec>
+<programlisting linenumbering="numbered"
+><?dbhtml linenumbering.everyNth="2" linenumbering.separator=" >"
+?><?dbfo linenumbering.everyNth="2" linenumbering.separator=" >"
+?><inlinemediaobject>
+<imageobject>
+<imagedata format="linespecific" fileref="sample.txt"/>
+</imageobject>
+</inlinemediaobject></programlisting>
+</programlistingco>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/qandaset.001.xml b/testautomation/xml/optional/input/docbook/qandaset.001.xml
new file mode 100755
index 000000000000..0e7c4f2001de
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/qandaset.001.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: qandaset.001</title>
+<releaseinfo role="CVS">$Id: qandaset.001.xml,v 1.2 2008-07-11 07:55:00 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>What about <xref linkend="Two"/>?</para>
+
+ <qandaset defaultlabel='number'>
+ <?dbhtml table-summary="summary"?>
+ <qandaentry id="qa1">
+ <question id="q1"><para>Question one.</para></question>
+ <answer id="a1">
+ <para>Answer one.
+See <xref linkend="faq-Two"/></para>
+ </answer>
+ </qandaentry>
+
+ <qandaentry id="Two">
+ <question id="faq-Two"><para>Question two.</para></question>
+ <answer id="faa-Two">
+ <para>Answer two.</para>
+ </answer>
+ </qandaentry>
+
+ <qandaentry id="Twoc">
+ <question id="faq-Twoc"><para>Question two.</para></question>
+ <answer id="faa-Twoc">
+ <orderedlist>
+ <listitem><para>testing a list</para></listitem>
+ <listitem><para>testing a list</para></listitem>
+ <listitem><para>testing a list</para></listitem>
+ </orderedlist>
+ </answer>
+ </qandaentry>
+
+ </qandaset>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/qandaset.002.xml b/testautomation/xml/optional/input/docbook/qandaset.002.xml
new file mode 100755
index 000000000000..204ed293c402
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/qandaset.002.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: qandaset.002</title>
+<releaseinfo role="CVS">$Id: qandaset.002.xml,v 1.2 2008-07-11 07:55:10 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+ <qandaset>
+ <?dbhtml toc="0"?>
+ <qandaentry id="qa1">
+ <question id="q1">
+ <para>Blah blah blah.</para>
+ </question>
+ <answer id="a1">
+ <example>
+ <title><filename
+ moreinfo="none">file.name</filename></title>
+ <programlisting format="linespecific">// Hello, World</programlisting>
+ </example>
+ <example>
+ <title><filename
+ moreinfo="none">file2.name</filename></title>
+ <programlisting format="linespecific">// Goodbye, World</programlisting>
+ </example>
+ </answer>
+ </qandaentry>
+ </qandaset>
+
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/qandaset.003.xml b/testautomation/xml/optional/input/docbook/qandaset.003.xml
new file mode 100755
index 000000000000..7ab61d02e8bd
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/qandaset.003.xml
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: qandaset.003</title>
+<releaseinfo role="CVS">$Id: qandaset.003.xml,v 1.2 2008-07-11 07:55:20 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+ <qandaset>
+ <title>QandA Title</title>
+<para>Some introductory preamble. Some introductory preamble.
+Some introductory preamble. Some introductory preamble.
+Some introductory preamble. Some introductory preamble.
+Some introductory preamble. Some introductory preamble.</para>
+<para>Some introductory preamble. Some introductory preamble.
+Some introductory preamble. Some introductory preamble.
+Some introductory preamble. Some introductory preamble.
+Some introductory preamble. Some introductory preamble.</para>
+ <qandadiv><title>Division 1</title>
+ <qandaentry>
+ <question>
+ <para>Blah blah blah.</para>
+ </question>
+ <answer>
+ <example>
+ <title><filename
+ moreinfo="none">file.name</filename></title>
+ <programlisting format="linespecific">// Hello, World</programlisting>
+ </example>
+ <example>
+ <title><filename
+ moreinfo="none">file2.name</filename></title>
+ <programlisting format="linespecific">// Goodbye, World</programlisting>
+ </example>
+ </answer>
+ </qandaentry>
+ </qandadiv>
+ <qandadiv><title>Division 2</title>
+<para>Some introductory preamble. Some introductory preamble.
+Some introductory preamble. Some introductory preamble.
+Some introductory preamble. Some introductory preamble.
+Some introductory preamble. Some introductory preamble.</para>
+<para>Some introductory preamble. Some introductory preamble.
+Some introductory preamble. Some introductory preamble.
+Some introductory preamble. Some introductory preamble.
+Some introductory preamble. Some introductory preamble.</para>
+ <qandadiv><title>Division 2.1</title>
+ <qandaentry>
+ <question>
+ <para>Blah blah blah.</para>
+ </question>
+ <answer>
+ <example>
+ <title><filename
+ moreinfo="none">file.name</filename></title>
+ <programlisting format="linespecific">// Hello, World</programlisting>
+ </example>
+ <example>
+ <title><filename
+ moreinfo="none">file2.name</filename></title>
+ <programlisting format="linespecific">// Goodbye, World</programlisting>
+ </example>
+ </answer>
+ </qandaentry>
+ </qandadiv>
+ <qandadiv><title>Division 2.2</title>
+ <qandaentry>
+ <question>
+ <para>Blah blah blah.</para>
+ </question>
+ <answer>
+ <example>
+ <title><filename
+ moreinfo="none">file.name</filename></title>
+ <programlisting format="linespecific">// Hello, World</programlisting>
+ </example>
+ <example>
+ <title><filename
+ moreinfo="none">file2.name</filename></title>
+ <programlisting format="linespecific">// Goodbye, World</programlisting>
+ </example>
+ </answer>
+ </qandaentry>
+ </qandadiv>
+ </qandadiv>
+ </qandaset>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/refentry.001.xml b/testautomation/xml/optional/input/docbook/refentry.001.xml
new file mode 100755
index 000000000000..4d605fe9b0f5
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/refentry.001.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: refentry.001</title>
+<releaseinfo role="CVS">$Id: refentry.001.xml,v 1.2 2008-07-11 07:55:30 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<refentry id="minimal">
+<refnamediv>
+<refname>Minimal</refname>
+<refpurpose>Test of a minimal RefEntry</refpurpose>
+</refnamediv>
+
+<refsect1>
+<title>Description</title>
+<para>This is a minimal RefEntry.</para>
+</refsect1>
+</refentry>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/refentry.002.xml b/testautomation/xml/optional/input/docbook/refentry.002.xml
new file mode 100755
index 000000000000..576aa27b2aa3
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/refentry.002.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: refentry.002</title>
+<releaseinfo role="CVS">$Id: refentry.002.xml,v 1.2 2008-07-11 07:55:40 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<refentry id="lessminimal">
+<refmeta>
+<refentrytitle>Also Minimal Title</refentrytitle>
+<manvolnum>3</manvolnum>
+</refmeta>
+<refnamediv>
+<refname>Also Minimal</refname>
+<refpurpose>Another test of a minimal RefEntry</refpurpose>
+</refnamediv>
+
+<refsect1>
+<title>Description</title>
+<para>This is a minimal RefEntry.</para>
+</refsect1>
+</refentry>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/refentry.003.xml b/testautomation/xml/optional/input/docbook/refentry.003.xml
new file mode 100755
index 000000000000..c011b9765166
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/refentry.003.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: refentry.003</title>
+<releaseinfo role="CVS">$Id: refentry.003.xml,v 1.2 2008-07-11 07:55:50 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<refentry id="evenlessminimal">
+<refmeta>
+<refentrytitle>Fred</refentrytitle>
+<manvolnum>3</manvolnum>
+</refmeta>
+<refnamediv>
+<refname>Less Minimal</refname>
+<refname>Even Less Minimal</refname>
+<refpurpose>Test of a minimal RefEntry</refpurpose>
+</refnamediv>
+<refsynopsisdiv><title>Synopsis</title>
+<cmdsynopsis>
+<command>command</command>
+<group><arg choice="plain">-a</arg><arg choice="plain">-alpha</arg>
+</group>
+</cmdsynopsis>
+<cmdsynopsis>
+<command>command</command>
+<group><arg choice="plain">-b</arg><arg choice="plain">-beta</arg>
+</group>
+</cmdsynopsis>
+<cmdsynopsis>
+<command>command</command>
+<group choice="plain"><arg choice="plain">-c</arg><arg choice="plain">
+-charlie</arg>
+</group>
+</cmdsynopsis>
+<cmdsynopsis>
+<command>command</command>
+<group choice="plain"><arg choice="plain">-d</arg><arg choice="plain">
+-delta</arg>
+</group>
+</cmdsynopsis>
+<cmdsynopsis>
+<command>command</command>
+<arg choice="plain">--help</arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1>
+<title>Description</title>
+<para>This is a less minimal RefEntry.</para>
+
+<figure><title>Some Program</title>
+<programlisting>Testing
+Some
+Text</programlisting>
+</figure>
+
+</refsect1>
+</refentry>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/refentry.004.xml b/testautomation/xml/optional/input/docbook/refentry.004.xml
new file mode 100755
index 000000000000..831159cc776f
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/refentry.004.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: refentry.004</title>
+<releaseinfo role="CVS">$Id: refentry.004.xml,v 1.2 2008-07-11 07:56:01 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>Test an <sgmltag>xref</sgmltag> to <sgmltag>refnamediv</sgmltag>:
+<xref linkend="lm"/>.</para>
+
+<refentry id="evenlessminimal">
+<refmeta>
+<refentrytitle>Fred</refentrytitle>
+<manvolnum>3</manvolnum>
+</refmeta>
+<refnamediv id="lm">
+<refname>Less Minimal</refname>
+<refname>Even Less Minimal</refname>
+<refpurpose>Test of a minimal RefEntry</refpurpose>
+</refnamediv>
+<refsynopsisdiv><title>Synopsis</title>
+<cmdsynopsis>
+<command>command</command>
+<group><arg choice="plain">-a</arg><arg choice="plain">-alpha</arg>
+</group>
+</cmdsynopsis>
+<cmdsynopsis>
+<command>command</command>
+<group><arg choice="plain">-b</arg><arg choice="plain">-beta</arg>
+</group>
+</cmdsynopsis>
+<cmdsynopsis>
+<command>command</command>
+<group choice="plain"><arg choice="plain">-c</arg><arg choice="plain">
+-charlie</arg>
+</group>
+</cmdsynopsis>
+<cmdsynopsis>
+<command>command</command>
+<group choice="plain"><arg choice="plain">-d</arg><arg choice="plain">
+-delta</arg>
+</group>
+</cmdsynopsis>
+<cmdsynopsis>
+<command>command</command>
+<arg choice="plain">--help</arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1>
+<title>Description</title>
+<para>This is a less minimal RefEntry.</para>
+
+<figure><title>Some Program</title>
+<programlisting>Testing
+Some
+Text</programlisting>
+</figure>
+
+</refsect1>
+</refentry>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/reference.001.xml b/testautomation/xml/optional/input/docbook/reference.001.xml
new file mode 100755
index 000000000000..d54022372514
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/reference.001.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<reference>
+<referenceinfo>
+<title>Unit Test: reference.001</title>
+<releaseinfo role="CVS">$Id: reference.001.xml,v 1.2 2008-07-11 07:56:13 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</referenceinfo>
+
+<refentry id="minimal">
+<refnamediv>
+<refname>Minimal</refname>
+<refpurpose>Test of a minimal RefEntry</refpurpose>
+</refnamediv>
+
+<refsect1>
+<title>Description</title>
+<para>This is a minimal RefEntry.</para>
+</refsect1>
+</refentry>
+
+<refentry id="lessminimal">
+<refmeta>
+<refentrytitle>Also Minimal Title</refentrytitle>
+<manvolnum>3</manvolnum>
+</refmeta>
+<refnamediv>
+<refname>Also Minimal</refname>
+<refpurpose>Another test of a minimal RefEntry</refpurpose>
+</refnamediv>
+
+<refsect1>
+<title>Description</title>
+<para>This is a minimal RefEntry.</para>
+</refsect1>
+</refentry>
+
+<refentry id="evenlessminimal">
+<refmeta>
+<refentrytitle>Fred</refentrytitle>
+<manvolnum>3</manvolnum>
+</refmeta>
+<refnamediv>
+<refname>Less Minimal</refname>
+<refname>Even Less Minimal</refname>
+<refpurpose>Test of a minimal RefEntry</refpurpose>
+</refnamediv>
+
+<refsect1>
+<title>Description</title>
+<para>This is a minimal RefEntry.</para>
+</refsect1>
+</refentry>
+
+</reference>
+
diff --git a/testautomation/xml/optional/input/docbook/revhistory.001.xml b/testautomation/xml/optional/input/docbook/revhistory.001.xml
new file mode 100755
index 000000000000..fc534f571d92
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/revhistory.001.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article id="article">
+<articleinfo>
+<title>Unit Test: revhistory.001.xml</title>
+<releaseinfo role="CVS">$Id: revhistory.001.xml,v 1.2 2008-07-11 07:56:24 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+<revhistory>
+<revision>
+<revnumber>1.0</revnumber>
+<date>13 Mar 2002</date>
+<authorinitials>ndw</authorinitials>
+<revremark>Some remark.</revremark>
+</revision>
+<revision>
+<revnumber>0.9</revnumber>
+<date>20 Nov 1998</date>
+<authorinitials>ndw</authorinitials>
+<revremark>Some remark about the revision</revremark>
+</revision>
+<revision>
+<revnumber>0.8</revnumber>
+<date>19 Nov 1998</date>
+<authorinitials>ndw</authorinitials>
+<revremark>Some remark about the revision</revremark>
+</revision>
+<revision>
+<revnumber>0.7</revnumber>
+<date>18 Nov 1998</date>
+<authorinitials>ndw</authorinitials>
+<revremark>Some remark about the revision</revremark>
+</revision>
+</revhistory>
+</articleinfo>
+
+<para>This article tests revhistory. It appears in the articleinfo.</para>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/screen.001.xml b/testautomation/xml/optional/input/docbook/screen.001.xml
new file mode 100755
index 000000000000..449f05fe8b80
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/screen.001.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: screen.001</title>
+<releaseinfo role="CVS">$Id: screen.001.xml,v 1.2 2008-07-11 07:56:36 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<screen>
+(let <co id="dl1"/>loopvar <co id="dl2"/>((count 1))
+ <co id="dl3"/>(if (> count 10)
+ <co id="dl4"/>#t
+ (<co id="dl5"/>loopvar <co id="dl6"/>(+ count 1))))</screen>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/sect1.001.xml b/testautomation/xml/optional/input/docbook/sect1.001.xml
new file mode 100755
index 000000000000..12f4a61bf2b8
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/sect1.001.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: sect1.001</title>
+<releaseinfo role="CVS">$Id: sect1.001.xml,v 1.2 2008-07-11 07:56:47 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+ <sect1 id="c1s1"><title>Section 1</title>
+ <para>blah.</para>
+ <sect2 id="c1s1s1"><title>Section 1.1</title>
+ <para>blah.</para>
+ <sect3 id="c1s1s1s1"><title>Section 1.1.1</title>
+ <para>blah.</para>
+ <sect4 id="c1s1s1s1s1"><title>Section 1.1.1.1</title>
+ <para>blah.</para>
+ <sect5 id="c1s1s1s1s1s1"><title>Section 1.1.1.1.1</title>
+ <para>blah.</para>
+ </sect5>
+ <sect5 id="c1s1s1s1s1s2"><title>Section 1.1.1.1.2</title>
+ <para>blah.</para>
+ </sect5>
+ <sect5 id="c1s1s1s1s1s3"><title>Section 1.1.1.1.3</title>
+ <para>blah.</para>
+ </sect5>
+ </sect4>
+ <sect4 id="c1s1s1s1s2"><title>Section 1.1.1.2</title>
+ <para>blah.</para>
+ </sect4>
+ <sect4 id="c1s1s1s1s3"><title>Section 1.1.1.3</title>
+ <para>blah.</para>
+ </sect4>
+ </sect3>
+ <sect3 id="c1s1s1s2"><title>Section 1.1.2</title>
+ <para>blah.</para>
+ </sect3>
+ <sect3 id="c1s1s1s3"><title>Section 1.1.3</title>
+ <para>blah.</para>
+ </sect3>
+ </sect2>
+ <sect2 id="c1s1s2"><title>Section 1.2</title>
+ <para>blah.</para>
+ </sect2>
+ <sect2 id="c1s1s3"><title>Section 1.3</title>
+ <para>blah.</para>
+ </sect2>
+ </sect1>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/sect1.002.xml b/testautomation/xml/optional/input/docbook/sect1.002.xml
new file mode 100755
index 000000000000..57fa86b0ac38
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/sect1.002.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: sect1.002</title>
+<releaseinfo role="CVS">$Id: sect1.002.xml,v 1.2 2008-07-11 07:56:58 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+ <sect1 id="c1s2"><title>Section 2</title>
+ <para>blah.</para>
+ <sect2 id="c1s2s1"><title>Section 2.1</title>
+ <para>blah.</para>
+ <sect3 id="c1s2s1s1"><title>Section 2.1.1</title>
+ <para>blah.</para>
+ <sect4 id="c1s2s1s1s1"><title>Section 2.1.1.1</title>
+ <para>blah.</para>
+ <sect5 id="c1s2s1s1s1s1s"><title>Section 2.1.1.1.1</title>
+ <para>blah.</para>
+ </sect5>
+ <sect5 id="c1s2s1s1s1s2"><title>Section 2.1.1.1.2</title>
+ <para>blah.</para>
+ </sect5>
+ <sect5 id="c1s2s1s1s1s3"><title>Section 2.1.1.1.3</title>
+ <para>blah.</para>
+ </sect5>
+ </sect4>
+ <sect4 id="c1s2s1s1s2"><title>Section 2.1.1.2</title>
+ <para>blah.</para>
+ </sect4>
+ <sect4 id="c1s2s1s1s3"><title>Section 2.1.1.3</title>
+ <para>blah.</para>
+ </sect4>
+ </sect3>
+ <sect3 id="c1s2s1s2"><title>Section 2.1.2</title>
+ <para>blah.</para>
+ </sect3>
+ <sect3 id="c1s2s1s3"><title>Section 2.1.3</title>
+ <para>blah.</para>
+ </sect3>
+ </sect2>
+ <sect2 id="c1s2s2"><title>Section 2.2</title>
+ <para>blah.</para>
+ </sect2>
+ <sect2 id="c1s2s3"><title>Section 2.3</title>
+ <para>blah.</para>
+ </sect2>
+ </sect1>
+ <sect1 id="c1s3"><title>Section 3</title>
+ <para>blah.</para>
+ </sect1>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/section.001.xml b/testautomation/xml/optional/input/docbook/section.001.xml
new file mode 100755
index 000000000000..20f7ecd47622
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/section.001.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: section.001</title>
+<releaseinfo role="CVS">$Id: section.001.xml,v 1.2 2008-07-11 07:57:10 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+ <section id="c2s1"><title>Section 1</title>
+ <para>blah.</para>
+ <section id="c2s1s1"><title>Section 1.1</title>
+ <para>blah.</para>
+ <section id="c2s1s1s1"><title>Section 1.1.1</title>
+ <para>blah.</para>
+ <section id="c2s1s1s1s1"><title>Section 1.1.1.1</title>
+ <para>blah.</para>
+ <section id="c2s1s1s1s1s1"><title>Section 1.1.1.1.1</title>
+ <para>blah.</para>
+ </section>
+ <section id="c2s1s1s1s1s2"><title>Section 1.1.1.1.2</title>
+ <para>blah.</para>
+ </section>
+ <section id="c2s1s1s1s1s3"><title>Section 1.1.1.1.3</title>
+ <para>blah.</para>
+ </section>
+ </section>
+ <section id="c2s1s1s1s2"><title>Section 1.1.1.2</title>
+ <para>blah.</para>
+ </section>
+ <section id="c2s1s1s1s3"><title>Section 1.1.1.3</title>
+ <para>blah.</para>
+ </section>
+ </section>
+ <section id="c2s1s1s2"><title>Section 1.1.2</title>
+ <para>blah.</para>
+ </section>
+ <section id="c2s1s1s3"><title>Section 1.1.3</title>
+ <para>blah.</para>
+ </section>
+ </section>
+ <section id="c2s1s2"><title>Section 1.2</title>
+ <para>blah.</para>
+ </section>
+ <section id="c2s1s3"><title>Section 1.3</title>
+ <para>blah.</para>
+ </section>
+ </section>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/section.002.xml b/testautomation/xml/optional/input/docbook/section.002.xml
new file mode 100755
index 000000000000..ac3968f87169
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/section.002.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: section.002</title>
+<releaseinfo role="CVS">$Id: section.002.xml,v 1.2 2008-07-11 07:57:20 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+ <section id="c2s2"><title>Section 2</title>
+ <para>blah.</para>
+ <section id="c2s2s1"><title>Section 2.1</title>
+ <para>blah.</para>
+ <section id="c2s2s1s1"><title>Section 2.1.1</title>
+ <para>blah.</para>
+ <section id="c2s2s1s1s1"><title>Section 2.1.1.1</title>
+ <para>blah.</para>
+ <section id="c2s2s1s1s1s1s"><title>Section 2.1.1.1.1</title>
+ <para>blah.</para>
+ </section>
+ <section id="c2s2s1s1s1s2"><title>Section 2.1.1.1.2</title>
+ <para>blah.</para>
+ </section>
+ <section id="c2s2s1s1s1s3"><title>Section 2.1.1.1.3</title>
+ <para>blah.</para>
+ </section>
+ </section>
+ <section id="c2s2s1s1s2"><title>Section 2.1.1.2</title>
+ <para>blah.</para>
+ </section>
+ <section id="c2s2s1s1s3"><title>Section 2.1.1.3</title>
+ <para>blah.</para>
+ </section>
+ </section>
+ <section id="c2s2s1s2"><title>Section 2.1.2</title>
+ <para>blah.</para>
+ </section>
+ <section id="c2s2s1s3"><title>Section 2.1.3</title>
+ <para>blah.</para>
+ </section>
+ </section>
+ <section id="c2s2s2"><title>Section 2.2</title>
+ <para>blah.</para>
+ </section>
+ <section id="c2s2s3"><title>Section 2.3</title>
+ <para>blah.</para>
+ </section>
+ </section>
+ <section id="c2s3"><title>Section 3</title>
+ <para>blah.</para>
+ </section>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/section.003.xml b/testautomation/xml/optional/input/docbook/section.003.xml
new file mode 100755
index 000000000000..513c9069382f
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/section.003.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: section.003</title>
+<releaseinfo role="CVS">$Id: section.003.xml,v 1.2 2008-07-11 07:57:31 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+ <section id="c2s1"><title>This is a Section Title.</title>
+ <para>blah.</para>
+ <section id="c2s1s1"><title>This is a Really Long Section Title That's Almost Certainly Bound to Wrap Around on the Page</title>
+ <para>blah.</para>
+ </section>
+ </section>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/segmentedlist.001.xml b/testautomation/xml/optional/input/docbook/segmentedlist.001.xml
new file mode 100755
index 000000000000..c707ddef9449
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/segmentedlist.001.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: segmentedlist.001</title>
+<releaseinfo role="CVS">$Id: segmentedlist.001.xml,v 1.2 2008-07-11 07:57:42 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<segmentedlist><title>State Capitals</title>
+<segtitle>State</segtitle>
+<segtitle>Capital</segtitle>
+<seglistitem><seg>Alabama</seg><seg>Montgomery</seg></seglistitem>
+<seglistitem><seg>Alaska</seg><seg>Anchorage</seg></seglistitem>
+<seglistitem><seg>Arkansas</seg><seg>Little Rock</seg></seglistitem>
+</segmentedlist>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/segmentedlist.002.xml b/testautomation/xml/optional/input/docbook/segmentedlist.002.xml
new file mode 100755
index 000000000000..76b1c435fd14
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/segmentedlist.002.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: segmentedlist.002</title>
+<releaseinfo role="CVS">$Id: segmentedlist.002.xml,v 1.2 2008-07-11 07:57:53 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<segmentedlist><title>State Capitals</title>
+<?dbhtml list-presentation='table' table-summary="testing summary"?>
+<?dbfo list-presentation='table'?>
+<segtitle>State</segtitle>
+<segtitle>Capital</segtitle>
+<seglistitem><seg>Alabama</seg><seg>Montgomery</seg></seglistitem>
+<seglistitem><seg>Alaska</seg><seg>Anchorage</seg></seglistitem>
+<seglistitem><seg>Arkansas</seg><seg>Little Rock</seg></seglistitem>
+</segmentedlist>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/set.001.xml b/testautomation/xml/optional/input/docbook/set.001.xml
new file mode 100755
index 000000000000..6af27d73d9d0
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/set.001.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE set PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<set>
+<setinfo>
+<title>Unit Test: set.001</title>
+<releaseinfo role="CVS">$Id: set.001.xml,v 1.2 2008-07-11 07:58:04 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</setinfo>
+
+<book><title>First Book</title>
+<chapter><title>Chapter</title>
+<para>Some test data</para>
+</chapter>
+</book>
+
+<book><title>Second Book</title>
+<chapter><title>Chapter</title>
+<para>Some test data</para>
+</chapter>
+</book>
+
+<book><title>Third Book</title>
+<chapter><title>Chapter</title>
+<para>Some test data</para>
+</chapter>
+</book>
+
+</set>
diff --git a/testautomation/xml/optional/input/docbook/stamp.001.xml b/testautomation/xml/optional/input/docbook/stamp.001.xml
new file mode 100755
index 000000000000..a7be27ec9206
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.001.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.001</title>
+<releaseinfo role="CVS">$Id: stamp.001.xml,v 1.2 2008-07-11 07:58:15 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image.</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="blue"?>
+ <imagedata
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/stamp.002.xml b/testautomation/xml/optional/input/docbook/stamp.002.xml
new file mode 100755
index 000000000000..cbdfae9b6021
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.002.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.002</title>
+<releaseinfo role="CVS">$Id: stamp.002.xml,v 1.2 2008-07-11 07:58:25 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: width=400; depth=512; contentdepth=200; align=center; valign=bottom</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="green"?>
+ <imagedata
+ width="400"
+ depth="512"
+ contentdepth="200"
+ align="center"
+ valign="bottom"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/stamp.003.xml b/testautomation/xml/optional/input/docbook/stamp.003.xml
new file mode 100755
index 000000000000..53833f0e2c96
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.003.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.003</title>
+<releaseinfo role="CVS">$Id: stamp.003.xml,v 1.2 2008-07-11 07:58:34 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: width=512; depth=512; contentwidth=256; contentdepth=384</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="blue"?>
+ <imagedata
+ width="512"
+ depth="512"
+ contentwidth="256"
+ contentdepth="384"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/stamp.004.xml b/testautomation/xml/optional/input/docbook/stamp.004.xml
new file mode 100755
index 000000000000..d27a9e3f6786
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.004.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.004</title>
+<releaseinfo role="CVS">$Id: stamp.004.xml,v 1.2 2008-07-11 07:58:45 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: width=512; depth=512; scale=125; align=center</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="blue"?>
+ <imagedata
+ width="512"
+ depth="512"
+ scale="125"
+ align="center"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/stamp.005.xml b/testautomation/xml/optional/input/docbook/stamp.005.xml
new file mode 100755
index 000000000000..a00165dd4448
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.005.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.005</title>
+<releaseinfo role="CVS">$Id: stamp.005.xml,v 1.2 2008-07-11 07:58:59 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: width=512; depth=512 (scalefit=1 by default in this case)</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="blue"?>
+ <imagedata
+ width="512"
+ depth="512"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/stamp.006.xml b/testautomation/xml/optional/input/docbook/stamp.006.xml
new file mode 100755
index 000000000000..64d633da309f
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.006.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.006</title>
+<releaseinfo role="CVS">$Id: stamp.006.xml,v 1.2 2008-07-11 07:59:09 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: width=512; depth=512; scalefit=0</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="blue"?>
+ <imagedata
+ width="512"
+ depth="512"
+ scalefit="0"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/stamp.007.xml b/testautomation/xml/optional/input/docbook/stamp.007.xml
new file mode 100755
index 000000000000..1dbc82b2592f
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.007.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.007</title>
+<releaseinfo role="CVS">$Id: stamp.007.xml,v 1.2 2008-07-11 07:59:19 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: width=512; depth=512; scale=75</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="blue"?>
+ <imagedata
+ width="512"
+ depth="512"
+ scale="75"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/stamp.008.xml b/testautomation/xml/optional/input/docbook/stamp.008.xml
new file mode 100755
index 000000000000..f060b3f0bfd7
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.008.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.008</title>
+<releaseinfo role="CVS">$Id: stamp.008.xml,v 1.2 2008-07-11 07:59:28 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: contentwidth=50%</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="blue"?>
+ <imagedata
+ contentwidth="50%"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/stamp.009.xml b/testautomation/xml/optional/input/docbook/stamp.009.xml
new file mode 100755
index 000000000000..93ae5bdf45df
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.009.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.009</title>
+<releaseinfo role="CVS">$Id: stamp.009.xml,v 1.2 2008-07-11 07:59:39 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: contentwidth=50%; scale=125</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="blue"?>
+ <imagedata
+ contentwidth="50%"
+ scale="125"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/stamp.010.xml b/testautomation/xml/optional/input/docbook/stamp.010.xml
new file mode 100755
index 000000000000..937cdcbc85c6
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.010.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.010</title>
+<releaseinfo role="CVS">$Id: stamp.010.xml,v 1.2 2008-07-11 07:59:49 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: contentwidth=50%; contentdepth=50%</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="blue"?>
+ <imagedata
+ contentwidth="50%"
+ contentdepth="50%"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/stamp.011.xml b/testautomation/xml/optional/input/docbook/stamp.011.xml
new file mode 100755
index 000000000000..1c6a5fe0a9f4
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.011.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.011</title>
+<releaseinfo role="CVS">$Id: stamp.011.xml,v 1.2 2008-07-11 07:59:58 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: width=400; depth=512; scalefit=1; align=center; valign=bottom</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="green"?>
+ <imagedata
+ width="400"
+ depth="512"
+ scalefit="1"
+ align="center"
+ valign="bottom"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/stamp.012.xml b/testautomation/xml/optional/input/docbook/stamp.012.xml
new file mode 100755
index 000000000000..c378a46ff6ce
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.012.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.012</title>
+<releaseinfo role="CVS">$Id: stamp.012.xml,v 1.2 2008-07-11 08:00:08 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: width=75%; scalefit=1</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="green"?>
+ <imagedata
+ width="75%"
+ scalefit="1"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+<para>The stamp image: depth=25%; scalefit=1</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="green"?>
+ <imagedata
+ depth="25%"
+ scalefit="1"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/svg.001.xml b/testautomation/xml/optional/input/docbook/svg.001.xml
new file mode 100755
index 000000000000..75410a1deb28
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/svg.001.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook SVG Module V1.0beta2//EN"
+ "http://www.oasis-open.org/docbook/xml/svg/1.0beta2/dbsvg.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: svg.001.xml</title>
+<releaseinfo role="CVS">$Id: svg.001.xml,v 1.2 2008-07-11 08:00:20 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>This article contains an SVG diagram (inline).</para>
+
+<mediaobject>
+ <imageobject>
+ <svg:svg xmlns:svg="http://www.w3.org/2000/svg">
+ <svg:g transform="scale(0.5)">
+ <svg:polygon style="fill:red; stroke:blue; stroke-width:10"
+ points="350, 75 379,161 469,161 397,215
+ 423,301 350,250 277,301 303,215
+ 231,161 321,161" />
+ <svg:polygon style="fill:lime; stroke:blue; stroke-width:10"
+ points="850,75 958,137.5 958,262.5
+ 850,325 742,262.6 742,137.5"/>
+ </svg:g>
+ </svg:svg>
+ </imageobject>
+ <imageobject>
+ <imagedata
+ align="center"
+ fileref="graphics/svg-001-fallback.png"/>
+ </imageobject>
+ <textobject><phrase>Example SVG polygons</phrase></textobject>
+ <caption><para>Polygons</para></caption>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/svg.002.xml b/testautomation/xml/optional/input/docbook/svg.002.xml
new file mode 100755
index 000000000000..6738414c97e9
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/svg.002.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook SVG Module V1.0beta2//EN"
+ "http://www.oasis-open.org/docbook/xml/svg/1.0beta2/dbsvg.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: svg.002.xml</title>
+<releaseinfo role="CVS">$Id: svg.002.xml,v 1.2 2008-07-11 08:00:32 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>This article contains an SVG diagram (external).</para>
+
+<mediaobject>
+ <imageobject>
+ <imagedata
+ align="center"
+ format="SVG"
+ fileref="graphics/svg-001.xml"/>
+ </imageobject>
+ <imageobject>
+ <imagedata
+ align="center"
+ fileref="graphics/svg-001-fallback.png"/>
+ </imageobject>
+ <textobject><phrase>Example SVG polygons</phrase></textobject>
+ <caption><para>Polygons</para></caption>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/table.001.xml b/testautomation/xml/optional/input/docbook/table.001.xml
new file mode 100755
index 000000000000..e9389078e783
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/table.001.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: table.001</title>
+<releaseinfo role="CVS">$Id: table.001.xml,v 1.2 2008-07-11 08:00:42 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<table frame="all">
+<title>TFoot Test</title>
+<tgroup cols="2">
+<tfoot>
+<row>
+<entry>Foot Left</entry>
+<entry>Foot Right</entry>
+</row>
+</tfoot>
+<tbody>
+<row>
+<entry>Body Left</entry>
+<entry>Body Right</entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/table.002.xml b/testautomation/xml/optional/input/docbook/table.002.xml
new file mode 100755
index 000000000000..389a14651c19
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/table.002.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: table.002</title>
+<releaseinfo role="CVS">$Id: table.002.xml,v 1.2 2008-07-11 08:00:54 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<table id="width-test-1" frame="all">
+<title>Width Test 1</title>
+<tgroup cols="4" align="left">
+<colspec colnum="1" colname="c1" colwidth="1in"/>
+<colspec colnum="2" colname="c2" colwidth="1*"/>
+<colspec colnum="3" colname="c3" colwidth="5*"/>
+<colspec colnum="4" colname="c4" colwidth="1*+0.5in"/>
+<tbody>
+<row>
+<entry>1in</entry>
+<entry>1/7</entry>
+<entry>5/7</entry>
+<entry>1/7+0.5in</entry>
+</row>
+<row>
+<entry>some words to make the thing wrap around to test the width</entry>
+<entry>some words to make the thing wrap around to test the width</entry>
+<entry>some words to make the thing wrap around to test the width</entry>
+<entry>some words to make the thing wrap around to test the width</entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/table.003.xml b/testautomation/xml/optional/input/docbook/table.003.xml
new file mode 100755
index 000000000000..dfc53b244c24
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/table.003.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: table.003</title>
+<releaseinfo role="CVS">$Id: table.003.xml,v 1.2 2008-07-11 08:01:04 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>Just a normal paragraph with a footnote<footnote><para>This is the
+footnote.</para></footnote>.</para>
+
+<table frame="none">
+<title>Server machine minimum required
+software<footnote><para>Table title footnote test.</para></footnote></title>
+<indexterm>
+<primary>System requirements</primary>
+<secondary>Software</secondary>
+</indexterm>
+<tgroup cols="1">
+<colspec colname="col1" colnum="1" colwidth="2.50in"/>
+<thead valign="top">
+<row>
+<entry>Foo<footnote><para>Table cell footnote test.</para></footnote></entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry>foo</entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/table.004.xml b/testautomation/xml/optional/input/docbook/table.004.xml
new file mode 100755
index 000000000000..67aa3721357b
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/table.004.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: table.004</title>
+<releaseinfo role="CVS">$Id: table.004.xml,v 1.2 2008-07-11 08:01:14 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<informaltable frame="none">
+<tgroup cols="2">
+<colspec colname="col2" colnum="2" rowsep="1"/>
+<tbody>
+<row>
+<entry>foo</entry>
+</row>
+<row>
+<entry>foo</entry><entry>bar</entry>
+</row>
+<row>
+<entry>foo</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/table.005.xml b/testautomation/xml/optional/input/docbook/table.005.xml
new file mode 100755
index 000000000000..2272ec84d09e
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/table.005.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: table.005</title>
+<releaseinfo role="CVS">$Id: table.005.xml,v 1.2 2008-07-11 08:01:24 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>This is a "portrait" paragraph.</para>
+
+<table frame="none" orient="land">
+<title>This is a "landscape" table</title>
+<tgroup cols="2">
+<colspec colname="col2" colnum="2" rowsep="1"/>
+<tbody>
+<row>
+<entry>foo</entry>
+</row>
+<row>
+<entry>foo</entry><entry>bar</entry>
+</row>
+<row>
+<entry>foo</entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+
+<para>This is a "portrait" paragraph.</para>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/table.006.xml b/testautomation/xml/optional/input/docbook/table.006.xml
new file mode 100755
index 000000000000..50803d38c79f
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/table.006.xml
@@ -0,0 +1,207 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: table.006</title>
+<releaseinfo role="CVS">$Id: table.006.xml,v 1.2 2008-07-11 08:01:34 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>All frames:</para>
+
+<informaltable frame="all">
+<tgroup cols="3">
+<tbody>
+<row>
+<entry>a foo</entry>
+<entry>a bar</entry>
+<entry>a baz</entry>
+</row>
+<row>
+<entry>b foo</entry>
+<entry>b bar</entry>
+<entry>b baz</entry>
+</row>
+<row>
+<entry>c foo</entry>
+<entry>c foo</entry>
+<entry>c baz</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+<para>No frames:</para>
+
+<informaltable frame="none">
+<tgroup cols="3">
+<tbody>
+<row>
+<entry>a foo</entry>
+<entry>a bar</entry>
+<entry>a baz</entry>
+</row>
+<row>
+<entry>b foo</entry>
+<entry>b bar</entry>
+<entry>b baz</entry>
+</row>
+<row>
+<entry>c foo</entry>
+<entry>c foo</entry>
+<entry>c baz</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+<para>Outer edge:</para>
+
+<informaltable frame="all">
+<tgroup cols="3" rowsep="0" colsep="0">
+<tbody>
+<row>
+<entry>a foo</entry>
+<entry>a bar</entry>
+<entry>a baz</entry>
+</row>
+<row>
+<entry>b foo</entry>
+<entry>b bar</entry>
+<entry>b baz</entry>
+</row>
+<row>
+<entry>c foo</entry>
+<entry>c foo</entry>
+<entry>c baz</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+<para>Rows:</para>
+
+<informaltable frame="topbot">
+<tgroup cols="3" rowsep="1" colsep="0">
+<tbody>
+<row>
+<entry>a foo</entry>
+<entry>a bar</entry>
+<entry>a baz</entry>
+</row>
+<row>
+<entry>b foo</entry>
+<entry>b bar</entry>
+<entry>b baz</entry>
+</row>
+<row>
+<entry>c foo</entry>
+<entry>c foo</entry>
+<entry>c baz</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+<para>Columns:</para>
+
+<informaltable frame="sides">
+<tgroup cols="3" rowsep="0" colsep="1">
+<tbody>
+<row>
+<entry>a foo</entry>
+<entry>a bar</entry>
+<entry>a baz</entry>
+</row>
+<row>
+<entry>b foo</entry>
+<entry>b bar</entry>
+<entry>b baz</entry>
+</row>
+<row>
+<entry>c foo</entry>
+<entry>c foo</entry>
+<entry>c baz</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+<para>Tic Tac Toe:</para>
+
+<informaltable frame="none">
+<tgroup cols="3" rowsep="0" colsep="0">
+<colspec colnum="1" colsep="1"/>
+<colspec colnum="2" colsep="1"/>
+<tbody>
+<row rowsep="1">
+<entry>a foo</entry>
+<entry>a bar</entry>
+<entry>a baz</entry>
+</row>
+<row rowsep="1">
+<entry>b foo</entry>
+<entry>b bar</entry>
+<entry>b baz</entry>
+</row>
+<row>
+<entry>c foo</entry>
+<entry>c foo</entry>
+<entry>c baz</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+<para>Box in the middle:</para>
+
+<informaltable frame="none">
+<tgroup cols="3">
+<tbody>
+<row>
+<entry>a foo</entry>
+<entry rowsep="1">a bar</entry>
+<entry>a baz</entry>
+</row>
+<row>
+<entry colsep="1">b foo</entry>
+<entry colsep="1" rowsep="1">b bar</entry>
+<entry>b baz</entry>
+</row>
+<row>
+<entry>c foo</entry>
+<entry>c foo</entry>
+<entry>c baz</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+<para>Jigsaw:</para>
+
+<informaltable frame="all">
+<tgroup cols="3" rowsep="0" colsep="0">
+<tbody>
+<row>
+<entry rowsep="1">a foo</entry>
+<entry colsep="1">a bar</entry>
+<entry>a baz</entry>
+</row>
+<row>
+<entry colsep="1">b foo</entry>
+<entry colsep="1" rowsep="1">b bar</entry>
+<entry>b baz</entry>
+</row>
+<row>
+<entry>c foo</entry>
+<entry>c foo</entry>
+<entry>c baz</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/template.xml b/testautomation/xml/optional/input/docbook/template.xml
new file mode 100755
index 000000000000..804d373df2b8
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/template.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: <!--FIXME-->
+</title>
+<releaseinfo role="CVS">$Id: template.xml,v 1.2 2008-07-11 08:01:45 rt Exp $</releaseinfo>
+<!-- Change this: -->
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<!-- put your test here -->
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/toc.001.xml b/testautomation/xml/optional/input/docbook/toc.001.xml
new file mode 100755
index 000000000000..ad90adf3c890
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/toc.001.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<book>
+<bookinfo>
+<title>Unit Test: toc.001</title>
+<releaseinfo role="CVS">$Id: toc.001.xml,v 1.2 2008-07-11 08:01:55 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</bookinfo>
+
+<toc>
+<tocchap>
+<tocentry>Preface</tocentry>
+<toclevel1>
+ <tocentry>Fake Entry</tocentry>
+ <tocentry pagenum="i">Why Read This Book?</tocentry>
+ <tocentry>This Book's Audience</tocentry>
+ <tocentry>Organization of This Book</tocentry>
+ <tocentry>Conventions Used in This Book</tocentry>
+ <tocentry>Getting This Book</tocentry>
+ <tocentry>Getting Examples from This Book</tocentry>
+ <tocentry>Getting DocBook</tocentry>
+ <tocentry>Request for Comments</tocentry>
+ <tocentry>Acknowledgements from Norm</tocentry>
+ <tocentry>Acknowledgements from Lenny</tocentry>
+ <tocentry>Acknowledgements from Norm and Lenny</tocentry>
+</toclevel1>
+</tocchap>
+<tocpart>
+<tocentry>Introduction</tocentry>
+<tocchap>
+<tocentry>Getting Started with SGML/XML</tocentry>
+<toclevel1>
+ <tocentry>HTML and SGML vs. XML</tocentry>
+ <tocentry>Basic SGML/XML Concepts</tocentry>
+ <tocentry>Elements and Attributes</tocentry>
+ <tocentry>Entities</tocentry>
+ <tocentry>How Does DocBook Fit In?</tocentry>
+ <toclevel2>
+ <tocentry>Testing a third level TOC</tocentry>
+ </toclevel2>
+</toclevel1>
+</tocchap>
+<tocchap>
+<tocentry>Creating DocBook Documents</tocentry>
+<toclevel1>
+ <tocentry>Making an SGML Document</tocentry>
+ <tocentry>Making an XML Document</tocentry>
+</toclevel1>
+</tocchap>
+</tocpart>
+</toc>
+
+<preface><title>Preface</title>
+
+<para>This book is really just a toc test.</para>
+
+</preface>
+
+</book>
+
diff --git a/testautomation/xml/optional/input/docbook/ulink.001.xml b/testautomation/xml/optional/input/docbook/ulink.001.xml
new file mode 100755
index 000000000000..01d9a7d93120
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/ulink.001.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY dh "&#xAD;">
+]>
+<article>
+<articleinfo>
+<title>Unit Test: ulink.001</title>
+<releaseinfo role="CVS">$Id: ulink.001.xml,v 1.2 2008-07-11 08:02:05 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>This article tests ULink hyphenation.</para>
+
+<para>This is a really long URI with explicit discretionary hyphens:
+<ulink url="http://www.example.com/this/is/really/long/for/no/good/reason/except/to/test/what/happens/with/really/long/URIs/-/because/they/are/a/good/test/for/discretionary/hyphens/">http:/&dh;/&dh;www.example.com/&dh;this/&dh;is/&dh;really/&dh;long/&dh;for/&dh;no/&dh;good/&dh;reason/&dh;except/&dh;to/&dh;test/&dh;what/&dh;happens/&dh;with/&dh;really/&dh;long/&dh;URIs/&dh;-/&dh;because/&dh;they/&dh;are/&dh;a/&dh;good/&dh;test/&dh;for/&dh;discretionary/&dh;hyphens/</ulink>.</para>
+
+<para>This is a really long URI without explicit discretionary hyphens:
+<ulink url="http://www.example.com/this/is/really/long/for/no/good/reason/except/to/test/what/happens/with/really/long/URIs/-/because/they/are/a/good/test/for/discretionary/hyphens/"/>.</para>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/variablelist.001.xml b/testautomation/xml/optional/input/docbook/variablelist.001.xml
new file mode 100755
index 000000000000..52ffcfe79508
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/variablelist.001.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: variablelist.001</title>
+<releaseinfo role="CVS">$Id: variablelist.001.xml,v 1.2 2008-07-11 08:02:17 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<variablelist>
+<?dbfo list-presentation="list" term-width="1.25in" ?>
+<varlistentry>
+<term>short</term>
+<listitem>
+<para>A single short term with a description.
+</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>more</term>
+<listitem>
+<para>Another single short term with a description.
+</para>
+<para>Another paragraph of description.
+</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>again</term>
+<listitem>
+<para>YASSTWAD.
+</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>short</term>
+<listitem>
+<para>A single short term with a description.
+</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>more</term>
+<term>more</term>
+<term>more</term>
+<term>more</term>
+<listitem>
+<para>Several short terms in the same VLE.
+</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>I'm still not satisfied.</term>
+<listitem>
+<para>A single long term with a description.
+</para>
+</listitem>
+</varlistentry>
+</variablelist>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/variablelist.002.xml b/testautomation/xml/optional/input/docbook/variablelist.002.xml
new file mode 100755
index 000000000000..338c3b0db6da
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/variablelist.002.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: variablelist.002</title>
+<releaseinfo role="CVS">$Id: variablelist.002.xml,v 1.2 2008-07-11 08:02:27 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<variablelist>
+ <varlistentry>
+ <term>
+ <methodsynopsis>
+ <modifier>static</modifier>
+ <modifier>public</modifier>
+
+ <type>void</type>
+ <methodname>import</methodname>
+
+ <methodparam>
+ <type>HttpServletRequest</type>
+ <parameter>req</parameter>
+ </methodparam>
+ </methodsynopsis>
+ </term>
+ <listitem>
+ <para>Foobar</para>
+ </listitem>
+ </varlistentry>
+</variablelist>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/variablelist.003.xml b/testautomation/xml/optional/input/docbook/variablelist.003.xml
new file mode 100755
index 000000000000..0344b3d7073a
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/variablelist.003.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: variablelist.003</title>
+<releaseinfo role="CVS">$Id: variablelist.003.xml,v 1.2 2008-07-11 08:02:37 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<variablelist>
+<title>VariableList Title</title>
+<varlistentry><term>Term1</term>
+<listitem><para>Definition of Term1</para></listitem>
+</varlistentry>
+<varlistentry><term>Term2</term>
+<listitem><para>Definition of Term2</para></listitem>
+</varlistentry>
+<varlistentry id="someVLI"><term>Term3a</term><term>Term3b</term><term>Term3c</term>
+<listitem><para>Definition of Term3a,b,c</para></listitem>
+</varlistentry>
+</variablelist>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/variablelist.004.xml b/testautomation/xml/optional/input/docbook/variablelist.004.xml
new file mode 100755
index 000000000000..2e91af8bb153
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/variablelist.004.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: variablelist.004</title>
+<releaseinfo role="CVS">$Id: variablelist.004.xml,v 1.2 2008-07-11 08:02:47 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<variablelist termlength="30">
+<title>VariableList With Long Terms</title>
+<varlistentry><term>Term1 is very long</term>
+<listitem><para>Definition of Term1</para></listitem>
+</varlistentry>
+<varlistentry><term>Term2 is even longer than term1</term>
+<listitem><para>Definition of Term2</para></listitem>
+</varlistentry>
+<varlistentry><term>Term3a</term><term>Term3b is also long</term><term>Term3c</term>
+<listitem><para>Definition of Term3a,b,c</para></listitem>
+</varlistentry>
+</variablelist>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/xref.001.xml b/testautomation/xml/optional/input/docbook/xref.001.xml
new file mode 100755
index 000000000000..859d698f95d0
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/xref.001.xml
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY blah "<para>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
+Blah blah blah blah blah blah blah blah. Blah blah blah blah.
+Blah. Blah blah blah blah. Blah blah. Blah blah blah blah.
+Blah blah blah blah blah blah blah blah. Blah blah blah blah.
+Blah. Blah blah blah blah. Blah blah. Blah blah blah blah.
+Blah blah blah blah blah blah blah blah. Blah blah blah blah.
+Blah. Blah blah blah blah. Blah blah. Blah blah blah blah.
+Blah blah blah blah blah blah blah blah. Blah blah blah blah.
+Blah. Blah blah blah blah. Blah blah. Blah blah blah blah.
+Blah blah blah blah blah blah blah blah. Blah blah blah blah.
+Blah. Blah blah blah blah. Blah blah. Blah blah blah blah.
+Blah blah blah blah blah blah blah blah. Blah blah blah blah.
+Blah. Blah blah blah blah. Blah blah. Blah blah blah blah.
+Blah blah blah blah blah blah blah blah. Blah blah blah blah.
+Blah. Blah blah blah blah. Blah blah. Blah blah blah blah.
+Blah blah blah blah blah blah blah blah. Blah blah blah blah.
+Blah. Blah blah blah blah. Blah blah. Blah blah blah blah.
+</para>">
+]>
+<book>
+<bookinfo>
+<title>Unit Test: xref.001</title>
+<releaseinfo role="CVS">$Id: xref.001.xml,v 1.2 2008-07-11 08:02:58 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</bookinfo>
+
+<dedication id="dedication"><title>Dedication</title>
+
+&blah;
+
+<para>For no good reason, this dedication includes cross-references:</para>
+
+<itemizedlist>
+<listitem><para>dedication: <xref linkend="dedication"/>.</para>
+</listitem>
+<listitem><para>preface: <xref linkend="preface"/>.</para>
+</listitem>
+<listitem><para>part: <xref linkend="part"/>.</para>
+</listitem>
+<listitem><para>chapter: <xref linkend="chapter"/>.</para>
+</listitem>
+<listitem><para>appendix: <xref linkend="appendix"/>.</para>
+</listitem>
+<listitem><para>para: <xref linkend="para"/>.</para>
+</listitem>
+</itemizedlist>
+
+</dedication>
+
+<preface id="preface"><title>Preface</title>
+
+<para>A preface.</para>
+
+&blah;
+
+</preface>
+
+<part id="part">
+<title>Part One Title</title>
+<partintro>
+<title>PartIntro Title</title>
+
+<para>Partintro content<footnote>
+<para>This is a footnote in a partintro.</para>
+</footnote>.</para>
+
+&blah;
+
+<sect1>
+<title>PartIntro Section</title>
+<para>PartIntros can actually have section content as well.</para>
+&blah;
+</sect1>
+</partintro>
+
+<chapter id="chapter"><title>Chapter</title>
+
+&blah;
+<para id="para">This paragraph has an ID.</para>
+
+</chapter>
+
+</part>
+<part><title>Appendixes</title>
+
+<appendix id="appendix"><title>First Appendix</title>
+
+&blah;
+
+</appendix>
+
+</part>
+</book>
diff --git a/testautomation/xml/optional/input/docbook/xrefstyle.001.xml b/testautomation/xml/optional/input/docbook/xrefstyle.001.xml
new file mode 100755
index 000000000000..0588dd1e408b
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/xrefstyle.001.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<chapter id="chapter">
+<chapterinfo>
+<title>Unit Test: xrefstyle.001.xml</title>
+<releaseinfo role="CVS">$Id: xrefstyle.001.xml,v 1.2 2008-07-11 08:03:15 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</chapterinfo>
+<title>Unit Test: xrefstyle.001.xml</title>
+
+<para>This is a test of xref styles.</para>
+
+<para>Short self-reference: <xref linkend="chapter"/>.</para>
+<para>Long self-reference: <xref role="title" linkend="chapter"/>.</para>
+
+</chapter>