<abstract>
<para>This is the abstract.</para>
<para>It has several paras.</para>
-<para>It has several paras.</para>
+<para>It has several paras. One of the paras is long because it contains
+the same sentence repeated many times. One of the paras is long because it contains
+the same sentence repeated many times. One of the paras is long because it contains
+the same sentence repeated many times. One of the paras is long because it contains
+the same sentence repeated many times. One of the paras is long because it contains
+the same sentence repeated many times. One of the paras is long because it contains
+the same sentence repeated many times. One of the paras is long because it contains
+the same sentence repeated many times. One of the paras is long because it contains
+the same sentence repeated many times. One of the paras is long because it contains
+the same sentence repeated many times. </para>
</abstract>
<copyright><year>2002</year><holder>No one in particular</holder></copyright>
+<legalnotice>
+<para>This is the legal notice. It says you can do whatever you please with
+this content. It says it many times. It says you can do whatever you please with
+this content. It says you can do whatever you please with
+this content. It says you can do whatever you please with
+this content. It says you can do whatever you please with
+this content. It says you can do whatever you please with
+this content. It says you can do whatever you please with
+this content. It says you can do whatever you please with
+this content. It says you can do whatever you please with
+this content.</para>
+</legalnotice>
</articleinfo>
<para>This is an article tests.</para>
</sect1>
</partintro>
-<chapter id="chap1"><title>First Chapter</title>
+<chapter id="chap1">
+<title>First Chapter</title>
+<titleabbrev>F. Chap</titleabbrev>
&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;
<section id="c1s1"><title>First Section</title>
+<titleabbrev>F. Sect</titleabbrev>
&blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah;
&blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah;
<?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">
+<chapter id="chapter" lang="fr">
<chapterinfo>
<releaseinfo role="CVS">$Id$</releaseinfo>
<author><firstname>Norman</firstname><surname>Walsh</surname>
<!DOCTYPE glossary PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<glossary>
+
+<glossdiv><title>Terms-1</title>
+
<glossentry>
<glossterm>gloss-1</glossterm>
+<acronym>G1</acronym>
<glossdef><para>A description.</para>
<glossseealso>gloss-2</glossseealso>
</glossdef>
</glossentry>
+</glossdiv>
+
+<glossdiv><title>Terms-2</title>
+
<glossentry>
<glossterm>gloss-2</glossterm>
<glossdef><para>A description.</para>
</glossdef>
</glossentry>
+</glossdiv>
+
</glossary>
<glossary role="auto">
<remark>make sure <glossterm>gloss-2</glossterm> is referenced</remark>
+<glossdiv><title>foo</title>
<glossentry><glossterm>irrelevant</glossterm>
<glossdef><para/></glossdef>
</glossentry>
+</glossdiv>
</glossary>
</article>
<releaseinfo role="CVS">$Id$</releaseinfo>
</articleinfo>
-<para>This is a test.</para>
+<para>This is a test. Xref to fifo: <xref linkend="fifo"/>.</para>
<glossary>
<glossentry><glossterm>test1</glossterm>
<glossdef><para>First definition</para></glossdef>
<glossdef><para>Second definition</para></glossdef>
</glossentry>
+
+<glossentry><glossterm>first thing</glossterm>
+<acronym>FT</acronym>
+<abbrev>fthing</abbrev>
+<glossdef><para>Alphabetically first entry</para></glossdef>
+</glossentry>
+
+<glossentry id="fifo"><glossterm>First-in First-out</glossterm>
+<acronym>FIFO</acronym>
+<glossdef><para>Alphabetically second entry</para></glossdef>
+</glossentry>
+
</glossary>
</article>
--- /dev/null
+<?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: index.001</title>
+<releaseinfo role="CVS">$Id$</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
+<indexterm>
+<primary>First Book</primary>
+</indexterm></para>
+</chapter>
+<index/>
+</book>
+
+<book><title>Second Book</title>
+<chapter><title>Chapter</title>
+<para>Some test data
+<indexterm>
+<primary>Second Book</primary>
+</indexterm></para>
+</chapter>
+<index/>
+</book>
+
+<book><title>Third Book</title>
+<part><title>Part Title</title>
+<chapter><title>Chapter</title>
+<para>Some test data
+<indexterm>
+<primary>Third Book</primary>
+</indexterm></para>
+</chapter>
+<index/>
+</part>
+</book>
+
+<setindex/>
+
+</set>
</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>
+
<literallayout class="monospaced">LiteralLayout(monospaced): This is a test
Only a test.
Had this been a real emegency,
srccredit="O'Reilly & Associates/Dover Archives"/>
</imageobject>
<textobject><phrase>The DocBook: TDG Duck</phrase></textobject>
- <textobject>
+ <textobject role="text">
<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
</author>
</referenceinfo>
+<title>Unit Test: reference.001</title>
+
<refentry id="minimal">
<refnamediv>
<refname>Minimal</refname>
</author>
</articleinfo>
+<para>See <xref linkend="c2s1s1s2"/>.</para>
+
<section id="c2s1"><title>Section 1</title>
<para>blah.</para>
<section id="c2s1s1"><title>Section 1.1</title>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<chapter>
+<chapterinfo>
+<title>Unit Test: section.004</title>
+<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: section.004</title>
+
+<para>Blah.</para>
+
+ <section id="c2s2"><title>Section 1</title>
+ <para>blah.</para>
+ <section id="c2s2s1"><title>Section 1.1</title>
+ <para>blah.</para>
+ <section id="c2s2s1s1"><title>Section 1.1.1</title>
+ <para>blah.</para>
+ <section id="c2s2s1s1s1"><title>Section 1.1.1.1</title>
+ <para>blah.</para>
+ <section id="c2s2s1s1s1s1s"><title>Section 1.1.1.1.1</title>
+ <para>blah.</para>
+ </section>
+ <section id="c2s2s1s1s1s2"><title>Section 1.1.1.1.2</title>
+ <para>blah.</para>
+ </section>
+ <section id="c2s2s1s1s1s3"><title>Section 1.1.1.1.3</title>
+ <para>blah.</para>
+ </section>
+ </section>
+ <section id="c2s2s1s1s2"><title>Section 1.1.1.2</title>
+ <para>blah.</para>
+ </section>
+ <section id="c2s2s1s1s3"><title>Section 1.1.1.3</title>
+ <para>blah.</para>
+ </section>
+ </section>
+ <section id="c2s2s1s2"><title>Section 1.1.2</title>
+ <para>blah.</para>
+ </section>
+ <section id="c2s2s1s3"><title>Section 1.1.3</title>
+ <para>blah.</para>
+ </section>
+ </section>
+ <section id="c2s2s2"><title>Section 1.2</title>
+ <para>blah.</para>
+ </section>
+ <section id="c2s2s3"><title>Section 1.3</title>
+ <para>blah.</para>
+ </section>
+ </section>
+ <section id="c2s3"><title>Section 2</title>
+ <para>blah.</para>
+ </section>
+</chapter>
+
</tgroup>
</informaltable>
+<para>Nested table test.</para>
+
+<informaltable frame="none">
+<tgroup cols="3" colsep="1" rowsep="1">
+<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.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: table.012</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="all">
+<tgroup cols="3">
+<colspec colname="c2" colnum="2" colsep="1"/>
+<colspec colname="c3" colnum="3"/>
+<tbody>
+<row>
+<entry>a foo</entry>
+<entry><?dbhtml bgcolor="red"?><?dbfo bgcolor="red"?>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>
+<tgroup cols="2">
+<tbody>
+<row>
+<entry>a bar</entry>
+<entry>a baz</entry>
+</row>
+<row>
+<entry>c foo</entry>
+<entry>c foo</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: table.013</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>Test for entrytbl, bug #677564.</para>
+
+<informaltable frame="none">
+ <tgroup cols="3">
+ <tbody>
+ <row>
+ <entry>one</entry>
+ <entrytbl cols="1" colsep="0" rowsep="0">
+ <tbody>
+ <row>
+ <entry>Du texte dans une cellule.</entry>
+ </row>
+ </tbody>
+ </entrytbl>
+ <entry>three</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: 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="all">
+<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>
+<tgroup cols="2">
+<tbody>
+<row>
+<entry>a bar</entry>
+<entry>a baz</entry>
+</row>
+<row>
+<entry>c foo</entry>
+<entry>c foo</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+
+</article>
--- /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>
+<bookinfo>
+<title>Unit Test: ulink.002</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>Foo <ulink url="http://example.com/">URL</ulink></title>
+
+<para>This chapter tests a <sgmltag>ulink</sgmltag> in a
+<sgmltag>title</sgmltag>.
+</para>
+
+</chapter>
+</book>