<?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">
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<article id="article">
<articleinfo>
<title>Unit Test: article.001.xml</title>
--- /dev/null
+<?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: article.003.xml</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<authorgroup>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+<author><firstname>Jane</firstname><surname>Doe</surname></author>
+</authorgroup>
+<abstract>
+<para>This is the abstract.</para>
+<para>It has several paras.</para>
+<para>It has several paras.</para>
+</abstract>
+</articleinfo>
+
+<para>Some preambulatory paragraph.</para>
+
+<section>
+<title>Section One</title>
+
+<para>Some other paragraph.</para>
+
+<section>
+<title>Section One.Two</title>
+
+<para>Some other paragraph.</para>
+
+</section>
+
+<section>
+<title>Section One.Three</title>
+
+<para>Some other paragraph.</para>
+
+</section>
+</section>
+
+<section>
+<title>Section Two</title>
+
+<para>Some other paragraph.</para>
+
+</section>
+
+<appendix>
+<title>Appendix One</title>
+
+<para>Some other paragraph.</para>
+
+<section>
+<title>Section One</title>
+
+<para>Some other paragraph.</para>
+
+<section>
+<title>Section One.Two</title>
+
+<para>Some other paragraph.</para>
+
+</section>
+
+<section>
+<title>Section One.Three</title>
+
+<para>Some other paragraph.</para>
+
+</section>
+</section>
+</appendix>
+
+</article>
+
--- /dev/null
+<?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 id="article">
+<articleinfo>
+<title>Unit Test: article.004.xml</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<authorgroup>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+<author><firstname>Jane</firstname><surname>Doe</surname></author>
+</authorgroup>
+<abstract>
+<para>This is the abstract.</para>
+<para>It has several paras.</para>
+<para>It has several paras.</para>
+</abstract>
+<copyright><year>2002</year><holder>No one in particular</holder></copyright>
+</articleinfo>
+
+<para>This is an article tests.</para>
+
+<ackno>I'd like to thank all the tests that came before me.</ackno>
+
+</article>
--- /dev/null
+<?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 id="book">
+<bookinfo>
+<title>Unit Test: author.001</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<authorgroup>
+<corpauthor>SomeCorp</corpauthor>
+<author role="first-last">
+ <honorific>Mr</honorific>
+ <firstname>FirstFirstlast</firstname>
+ <othername>Middlename</othername>
+ <surname>Surname</surname>
+ <lineage>Jr</lineage>
+</author>
+<author role="last-first">
+ <honorific>Mr</honorific>
+ <firstname>FirstLastfirst</firstname>
+ <othername>Middlename</othername>
+ <surname>Surname</surname>
+ <lineage>Jr</lineage>
+</author>
+<author role="family-given">
+ <honorific>Mr</honorific>
+ <firstname>FirstFamilygiven</firstname>
+ <othername>Middlename</othername>
+ <surname>Surname</surname>
+ <lineage>Jr</lineage>
+</author>
+</authorgroup>
+</bookinfo>
+
+<chapter>
+<title>Chapter Title</title>
+
+<para>Content statisfies a book.</para>
+</chapter>
+
+</book>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<book id="book">
+<bookinfo>
+<title>Unit Test: author.002</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+</bookinfo>
+
+<chapter>
+<title>Chapter Title</title>
+
+<simplelist>
+<member>
+<author id="a1" role="first-last">
+ <honorific>Mr</honorific>
+ <firstname>FirstFirstlast</firstname>
+ <othername>Middlename</othername>
+ <surname>Surname</surname>
+ <lineage>Jr</lineage>
+</author>
+</member>
+<member id="m2">
+<author role="last-first">
+ <honorific>Mr</honorific>
+ <firstname>FirstLastfirst</firstname>
+ <othername>Middlename</othername>
+ <surname>Surname</surname>
+ <lineage>Jr</lineage>
+</author>
+</member>
+<member>
+<author role="family-given">
+ <honorific>Mr</honorific>
+ <firstname>FirstFamilygiven</firstname>
+ <othername>Middlename</othername>
+ <surname>Surname</surname>
+ <lineage>Jr</lineage>
+</author>
+</member>
+</simplelist>
+
+<para>See <link linkend="a1">first author</link> or
+<link linkend="m2">second member</link>.</para>
+
+</chapter>
+
+</book>
</abstract>
</chapterinfo>
<title>First Chapter</title>
+
&blah;
<figure id="figduck"><title>A Test Figure</title>
<section><title>First Section</title>
+<figure id="figduck2"><title>Another Test Figure</title>
+<programlisting>
+A figure. Just to test the numeration.</programlisting>
+</figure>
+
&blah;
+<example id="example"><title>Test Example</title>
+<programlisting>
+An example.</programlisting>
+</example>
+
<section><title>First Subsection</title>
&blah;
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<book id="book">
+<title>Unit Test: book.003</title>
+
+<chapter id="chap1">
+<chapterinfo>
+<abstract><para>bla in the first chapter</para>
+</abstract>
+</chapterinfo>
+<title>First <filename>Filename</filename> Chapter</title>
+
+<para>blah with <filename>filename</filename>.</para>
+
+</chapter>
+
+<chapter id="chap2">
+<title>My Product<emphasis><superscript>plus</superscript></emphasis> description</title>
+
+<para>blah.</para>
+
+</chapter>
+</book>
--- /dev/null
+<?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: changebars.001.xml</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>This article tests change bars.</para>
+
+<para revisionflag="added">This paragraph was added.</para>
+
+<para revisionflag="deleted">This paragraph was deleted.</para>
+
+<para>This paragraph contains <phrase role="changed">changed</phrase>,
+<phrase role="added">and </phrase>
+added<phrase role="deleted">, and deleted</phrase> inlines.</para>
+
+</article>
--- /dev/null
+<?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>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</chapterinfo>
+<title>Unit Test: chapter.001.xml</title>
+
+<para>This is a chapter test.</para>
+
+<para>It's self-referential, too: <xref linkend="chapter"/>.</para>
+
+</chapter>
--- /dev/null
+<?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: figure.001</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>This paragraph precedes the first figure. The following figure has
+float="1".</para>
+
+<figure id="figduck1" float="1">
+ <title>The Duck</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata
+ align="center"
+ fileref="graphics/duck-small.png"
+ format="PNG"
+ srccredit="O'Reilly & Associates/Dover Archives"/>
+ </imageobject>
+ <textobject><phrase>The DocBook: TDG Duck</phrase></textobject>
+ </mediaobject>
+</figure>
+
+<para>This paragraph is between the figures. The following figure has
+float="right".</para>
+
+<figure id="figduck2" float="right">
+ <title>The Duck</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata
+ align="center"
+ fileref="graphics/duck-small.png"
+ format="PNG"
+ srccredit="O'Reilly & Associates/Dover Archives"/>
+ </imageobject>
+ <textobject><phrase>The DocBook: TDG Duck</phrase></textobject>
+ </mediaobject>
+</figure>
+
+<para>This paragraph follows the figures.</para>
+
+</article>
--- /dev/null
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article id="article">
+<articleinfo>
+<title>Unit Test: funcsynopsis.001.xml</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>A funcsynopsis.</para>
+
+<funcsynopsis>
+<funcsynopsisinfo>
+#include <varargs.h>
+</funcsynopsisinfo>
+<funcprototype>
+ <funcdef><type>float</type> <function>rand</function></funcdef>
+ <void/>
+</funcprototype>
+
+<funcprototype>
+ <funcdef>int <function>max</function></funcdef>
+ <varargs/>
+</funcprototype>
+
+<funcprototype>
+ <funcdef>int <function>idiv</function></funcdef>
+ <paramdef><type>int</type> <parameter>n</parameter></paramdef>
+ <paramdef><type>int</type> <parameter>m</parameter></paramdef>
+</funcprototype>
+</funcsynopsis>
+
+<para>Another.</para>
+
+<funcsynopsis>
+<funcprototype>
+ <funcdef>void <function>qsort</function></funcdef>
+ <paramdef>void *<parameter>dataptr</parameter>[]</paramdef>
+ <paramdef>int <parameter>left</parameter></paramdef>
+ <paramdef>int <parameter>right</parameter></paramdef>
+ <paramdef>int (*<parameter>comp</parameter>)
+ <funcparams>void *, void *</funcparams></paramdef>
+</funcprototype>
+</funcsynopsis>
+
+<para>Another.</para>
+
+<funcsynopsis>
+<funcprototype>
+ <funcdef>int <function>foo_frob_something</function></funcdef>
+ <paramdef>foo_sometype1 <parameter>foo_frob_parm1</parameter></paramdef>
+ <paramdef>foo_sometype1 <parameter>foo_frob_parm2</parameter></paramdef>
+ <paramdef>foo_sometype1 <parameter>foo_frob_parm3</parameter></paramdef>
+ <paramdef><type>int</type> (* <parameter>parm4</parameter> )
+ <funcparams>int a, int b, int c</funcparams>
+ </paramdef>
+ <paramdef>foo_sometype1 <parameter>foo_frob_parm5</parameter></paramdef>
+</funcprototype>
+
+<funcprototype>
+ <funcdef>int <function>foo_frob_something</function></funcdef>
+ <paramdef>foo_sometype1 <parameter>foo_frob_parm1</parameter></paramdef>
+ <paramdef>foo_sometype1 <parameter>foo_frob_parm2</parameter></paramdef>
+ <paramdef>foo_sometype1 <parameter>foo_frob_parm3</parameter></paramdef>
+ <paramdef><type>int</type> (* <parameter>parm4</parameter> )
+ <funcparams>int a, int b, int c</funcparams>
+ </paramdef>
+ <paramdef>foo_sometype1 <parameter>foo_frob_parm5</parameter></paramdef>
+</funcprototype>
+</funcsynopsis>
+
+<para>Another.</para>
+
+<funcsynopsis><?dbhtml funcsynopsis-style="ansi"?>
+<funcsynopsisinfo>
+#include <varargs.h>
+</funcsynopsisinfo>
+<funcprototype>
+ <funcdef><type>float</type> <function>rand</function></funcdef>
+ <void/>
+</funcprototype>
+
+<funcprototype>
+ <funcdef>int <function>max</function></funcdef>
+ <varargs/>
+</funcprototype>
+
+<funcprototype>
+ <funcdef>int <function>idiv</function></funcdef>
+ <paramdef><type>int</type> <parameter>n</parameter></paramdef>
+ <paramdef><type>int</type> <parameter>m</parameter></paramdef>
+</funcprototype>
+</funcsynopsis>
+
+<para>Another.</para>
+
+<funcsynopsis><?dbhtml funcsynopsis-style="ansi"?>
+<funcprototype>
+ <funcdef>void <function>qsort</function></funcdef>
+ <paramdef>void *<parameter>dataptr</parameter>[]</paramdef>
+ <paramdef>int <parameter>left</parameter></paramdef>
+ <paramdef>int <parameter>right</parameter></paramdef>
+ <paramdef><type>int</type> (*<parameter>comp</parameter>)
+ <funcparams>void *, void *</funcparams></paramdef>
+</funcprototype>
+</funcsynopsis>
+
+<para>Another.</para>
+
+<funcsynopsis><?dbhtml funcsynopsis-style="ansi"?>
+<funcprototype>
+ <funcdef>int <function>foo_frob_something</function></funcdef>
+ <paramdef>foo_sometype1 <parameter>foo_frob_parm1</parameter></paramdef>
+ <paramdef>foo_sometype1 <parameter>foo_frob_parm2</parameter></paramdef>
+ <paramdef>foo_sometype1 <parameter>foo_frob_parm3</parameter></paramdef>
+ <paramdef>int (* <parameter>parm4</parameter> )
+ <funcparams>int a, int b, int c</funcparams></paramdef>
+ <paramdef>foo_sometype1 <parameter>foo_frob_parm5</parameter></paramdef>
+</funcprototype>
+</funcsynopsis>
+
+</article>
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE glossary PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
- "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
-<glossary>
-<?dbfo glossterm-width="1in"?>
-<glossaryinfo>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<book>
+<bookinfo>
<title>Unit Test: glossary.001</title>
<releaseinfo role="CVS">$Id$</releaseinfo>
<editor><firstname>Eric</firstname><surname>Raymond</surname></editor>
<subtitle>Jargon File 4.2.3 (abridged)</subtitle>
<releaseinfo>Just some test data</releaseinfo>
-</glossaryinfo>
+</bookinfo>
+
+<chapter>
+<title>A Chapter</title>
+
+<para>There's a <sgmltag>firstterm</sgmltag> here:
+<firstterm>1TBS</firstterm>.</para>
+
+<para>And there's a couple of <sgmltag>glossterm</sgmltag>s here:
+<glossterm>1TBS</glossterm>, <glossterm>@-party</glossterm>.</para>
+</chapter>
+
+<glossary>
+<?dbfo glossterm-width="1in"?>
<glossdiv><title>0</title>
</glossentry>
</glossdiv>
</glossary>
+</book>
\ No newline at end of file
--- /dev/null
+<?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: glossary.003</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+</articleinfo>
+
+<para>This is a test.</para>
+
+<glossary>
+<glossentry><glossterm>test1</glossterm>
+<glossdef><para>First definition</para></glossdef>
+</glossentry>
+
+<glossentry><glossterm>test2</glossterm>
+<glossdef><para>First definition</para></glossdef>
+<glossdef><para>Second definition</para></glossdef>
+</glossentry>
+</glossary>
+
+</article>
<chapter><title>First Chapter</title>
+<indexterm zone="app"><primary>Appendix</primary></indexterm>
+
<para>This is a test paragraph.
-<indexterm>
+<indexterm id="foo">
<primary>@foo</primary>
</indexterm>
<indexterm>
<primary>> operator</primary>
</indexterm>
<indexterm>
+<primary>< operator</primary>
+</indexterm>
+<indexterm id="ap1.a">
<primary>ap1</primary>
</indexterm>
-<indexterm>
+<indexterm id="ap1.b">
+<primary>ap1</primary>
+</indexterm>
+<indexterm id="ap1.d">
<primary>ap1</primary>
</indexterm>
<indexterm>
</indexterm>
<indexterm>
<primary>dp2</primary>
+<seealso>dp1, dp1ds1</seealso>
</indexterm></para>
</chapter>
-<appendix><title>First Appendix</title>
+<appendix id="app"><title>First Appendix</title>
<para>This is just a test.
-<indexterm>
+<indexterm id="ap1.e">
<primary>ap1</primary>
</indexterm>
<indexterm>
</indexterm></para>
</appendix>
+<appendix><title>Another Appendix</title>
+
+<para>More testing.</para>
+
+<indexterm>
+<primary id="ap1.c">ap1</primary>
+</indexterm>
+<indexterm>
+<primary>ap1</primary>
+</indexterm>
+<indexterm>
+<primary>ap2</primary>
+</indexterm>
+
+</appendix>
+
<index id="idx"/>
</book>
<indexterm>
<primary>ap2</primary>
</indexterm>
+<indexterm id="spanstart" class="startofrange">
+<primary>spanning</primary>
+</indexterm>
<indexterm>
<primary>bp1</primary>
<primary>gq</primary>
</indexterm></para>
+<indexterm startref="spanstart" class="endofrange">
+<primary>spanning</primary>
+</indexterm>
+
</appendix>
<index id="idx"/>
--- /dev/null
+<?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: indexterm.003</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</bookinfo>
+
+<chapter><title>First Chapter</title>
+
+<para>An indexterm starts
+here.<indexterm class="startofrange" id="start">
+<primary>Start</primary></indexterm></para>
+
+</chapter>
+
+<chapter><title>Second Chapter</title>
+
+<para>The term ends
+here.<indexterm class="endofrange" startref="start"/>
+</para>
+
+</chapter>
+
+<index id="idx"/>
+
+</book>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<article>
-<?dbhtml dir="html"?>
<articleinfo>
<title>Unit Test: mediaobject.001</title>
<releaseinfo role="CVS">$Id$</releaseinfo>
--- /dev/null
+<?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: mediaobject.002</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata
+ fileref="graphics/duck-small.png"
+ format="PNG"
+ srccredit="O'Reilly & Associates/Dover Archives"/>
+ </imageobject>
+ <textobject><phrase>The DocBook: TDG Duck</phrase></textobject>
+ <textobject>
+<para>The bird on the cover of <citetitle>DocBook: The Definitive
+Guide</citetitle> is a wood duck. Often considered one of the most
+beautiful ducks in North America, the mail wood duck has a metallic
+purple and green head with white streaks extending from its bill
+around the eyes and down to its blue and green, gold-flecked
+wings. It has a white neck, chestnut-colored chest, a white or red
+bill, and yellow-orange legs and feet. Females have more brown, gray,
+and subdueed hues.
+</para>
+
+<para>Edie Freedman designed the cover of this book, using a
+19th-century engraving from the Dover Pictorial Archive. The
+cover layout was produced by Kathleen Wilson using QuarkXPress
+3.32 and Adobe's ITC Garamond font. The inside layout was
+designed by Alicia Cech, based on a series design by Nancy
+Priest. The text was formatted from SGML into FrameMaker 5.5
+with Jade, using a DSSSL conversion stylesheet written by
+Chris Maden. The interior fonts are ITC Garamond Light,
+Garamond Book, and ConstantWillison.
+</para>
+ </textobject>
+ <caption><para>The Duck</para></caption>
+ </mediaobject>
+
+</article>
<?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">
+<!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: refentry.002</title>
<refpurpose>Another test of a minimal RefEntry</refpurpose>
</refnamediv>
-<refsect1>
+<refsection>
<title>Description</title>
<para>This is a minimal RefEntry.</para>
-</refsect1>
+
+<refsection>
+<title>Subsection</title>
+<para>This is a minimal RefEntry.</para>
+
+<refsection>
+<title>Sub-subsection</title>
+<para>This is a minimal RefEntry.</para>
+</refsection>
+</refsection>
+</refsection>
+
+<refsection>
+<title>More Description</title>
+<para>This is a not-so minimal RefEntry.</para>
+</refsection>
+
+<refsection>
+<title>Even More Description</title>
+<para>This is an even less minimal RefEntry.</para>
+</refsection>
+
</refentry>
</article>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<refentry id="lessminimal">
+<refentryinfo>
+<title>Unit Test: refentry.005</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</refentryinfo>
+
+<refmeta>
+<refentrytitle>Also Minimal Title</refentrytitle>
+<manvolnum>3</manvolnum>
+</refmeta>
+<refnamediv>
+<refname>Also Minimal</refname>
+<refpurpose>Another test of a minimal RefEntry</refpurpose>
+</refnamediv>
+
+<refsection>
+<title>Description</title>
+<para>This is a minimal RefEntry.</para>
+
+<refsection>
+<title>Subsection</title>
+<para>This is a minimal RefEntry.</para>
+
+<refsection>
+<title>Sub-subsection</title>
+<para>This is a minimal RefEntry.</para>
+</refsection>
+</refsection>
+</refsection>
+
+<refsection>
+<title>More Description</title>
+<para>This is a not-so minimal RefEntry.</para>
+</refsection>
+
+<refsection>
+<title>Even More Description</title>
+<para>This is an even less minimal RefEntry.</para>
+</refsection>
+
+</refentry>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<refentry id="lessminimal">
+<refentryinfo>
+<title>Unit Test: refentry.006</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</refentryinfo>
+
+<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>
+
+<refsect2>
+<title>Subsection</title>
+<para>This is a minimal RefEntry.</para>
+
+<refsect3>
+<title>Sub-subsection</title>
+<para>This is a minimal RefEntry.</para>
+</refsect3>
+</refsect2>
+</refsect1>
+
+<refsect1>
+<title>More Description</title>
+<para>This is a not-so minimal RefEntry.</para>
+</refsect1>
+
+<refsect1>
+<title>Even More Description</title>
+<para>This is an even less minimal RefEntry.</para>
+</refsect1>
+
+</refentry>
<para>This article tests revhistory. It appears in the articleinfo.</para>
+<para>This paragraph also contains the revhistory.
+<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>
+</para>
+
+<para>And this paragraph contains a different one:
+<revhistory>
+ <revision>
+ <revnumber>1.1.1</revnumber>
+ <date>12.6.2002</date>
+ <authorinitials>ndw</authorinitials>
+ <revdescription>
+ <itemizedlist>
+ <listitem><para>Item 1</para></listitem>
+ <listitem><para>Item 2</para></listitem>
+ </itemizedlist>
+ </revdescription>
+ </revision>
+</revhistory>
+</para>
+
</article>
--- /dev/null
+<?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: simplelist.001</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>An inline simple list:
+<simplelist type="inline">
+<member>eggs</member>
+<member>milk</member>
+<member>butter</member>
+</simplelist>.
+</para>
+
+<para>A horizontal simple list:</para>
+
+<simplelist type="horiz" columns="3">
+<member>A</member>
+<member>B</member>
+<member>C</member>
+<member>D</member>
+<member>E</member>
+<member>F</member>
+<member>G</member>
+<member>H</member>
+<member>I</member>
+<member>J</member>
+<member>K</member>
+</simplelist>
+
+<para>A vertical simple list:</para>
+
+<simplelist type="vert" columns="3">
+<member>A</member>
+<member>B</member>
+<member>C</member>
+<member>D</member>
+<member>E</member>
+<member>F</member>
+<member>G</member>
+<member>H</member>
+<member>I</member>
+<member>J</member>
+<member>K</member>
+</simplelist>
+
+</article>
<mediaobject>
<imageobject>
- <svg:svg xmlns:svg="http://www.w3.org/2000/svg">
+ <svg:svg xmlns:svg="http://www.w3.org/2000/svg"
+ height="4in" width="4in">
<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
--- /dev/null
+<?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.007</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>Missing center cell...</para>
+
+<informaltable frame="none">
+<tgroup cols="3">
+<colspec colname="c2" colnum="2" colsep="1"/>
+<colspec colname="c3" colnum="3"/>
+<tbody>
+<row>
+<entry>a foo</entry>
+<entry>a bar</entry>
+<entry>a baz</entry>
+</row>
+<row rowsep="1">
+<entry>b foo</entry>
+<entry namest="c3">b baz</entry>
+</row>
+<row>
+<entry>c foo</entry>
+<entry>c foo</entry>
+<entry>c baz</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
--- /dev/null
+<?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.008</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>Table style test.</para>
+
+<informaltable frame="none" tabstyle="style1">
+<tgroup cols="3">
+<colspec colname="c2" colnum="2" colsep="1"/>
+<colspec colname="c3" colnum="3"/>
+<tbody>
+<row>
+<entry>a foo</entry>
+<entry>a bar</entry>
+<entry>a baz</entry>
+</row>
+<row rowsep="1">
+<entry>b foo</entry>
+<entry namest="c3">b baz</entry>
+</row>
+<row>
+<entry>c foo</entry>
+<entry>c foo</entry>
+<entry>c baz</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+<informaltable frame="none">
+<tgroup cols="3">
+<colspec colname="c2" colnum="2" colsep="1"/>
+<colspec colname="c3" colnum="3"/>
+<tbody>
+<row>
+<entry>no style</entry>
+<entry>a bar</entry>
+<entry>a baz</entry>
+</row>
+<row rowsep="1">
+<entry>b foo</entry>
+<entry namest="c3">b baz</entry>
+</row>
+<row>
+<entry>c foo</entry>
+<entry>c foo</entry>
+<entry>c baz</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
--- /dev/null
+<?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.009</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>Nested table test.</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>
+<entrytbl cols="3">
+ <colspec colwidth="200"/>
+ <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 morerows="1">b' and c' baz</entry>
+ </row>
+ <row>
+ <entry>c' foo</entry>
+ <entry>c' bar</entry>
+ </row>
+ </tbody>
+</entrytbl>
+<entry>b baz</entry>
+</row>
+<row>
+<entry>c foo</entry>
+<entry>c bar</entry>
+<entry>c baz</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
--- /dev/null
+<?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$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+
+<informaltable frame="all">
+<tgroup cols="2">
+<colspec colwidth="1.5in"/>
+<colspec colwidth="2.5in"/>
+<tbody>
+<row>
+<entry><emphasis
+role="bold">Address:</emphasis></entry>
+<entry><literallayout>Some literal layout
+text goes here.</literallayout>
+</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
--- /dev/null
+<?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: textobject.001</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The XML source for this document is:</para>
+
+<programlisting linenumbering="numbered"><textobject>
+<textdata fileref="tests/textobject.001.xml"/>
+</textobject></programlisting>
+
+</article>
--- /dev/null
+<?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 id="article">
+<articleinfo>
+<title>Unit Test: xref.002.xml</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+<modespec id="xreftext">Xref Endterm</modespec>
+</articleinfo>
+
+<para>This is an xref test.</para>
+
+<para>Cross reference to section one: <xref linkend="s1"/>.</para>
+
+<para>Cross reference to section two: <xref linkend="s2"/>.</para>
+
+<para>Cross reference to section one with endterm:
+<xref linkend="s1" endterm="xreftext"/>.</para>
+
+<para>Cross reference to section two with endterm:
+<xref linkend="s2" endterm="xreftext"/>.</para>
+
+<section id="s1">
+<title>Section One Title</title>
+
+<para>This text is irrelevant.</para>
+
+</section>
+
+<section id="s2" xreflabel="Section Two XRefLabel">
+<title>Section Two Title</title>
+
+<para>This text is irrelevant.</para>
+
+</section>
+
+</article>