]> granicus.if.org Git - docbook-dsssl/commitdiff
Updated
authorNorman Walsh <ndw@nwalsh.com>
Sun, 7 Jul 2002 23:38:56 +0000 (23:38 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sun, 7 Jul 2002 23:38:56 +0000 (23:38 +0000)
testdocs/tests/book.001.xml
testdocs/tests/glossary.001.xml
testdocs/tests/productionset.005.xml [new file with mode: 0644]
testdocs/tests/table.003.xml
testdocs/tests/xref.001.xml

index dd5857fe25a3930c29c2724ce997329f6caefcdf..6d4f5b9638704f764684181878b1f9c850e38cdc 100644 (file)
@@ -108,12 +108,12 @@ Some abstract. Some abstract. Some abstract. Some abstract.
 <para>This is a footnote in a partintro.</para>
 </footnote>.</para>
 
-&blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah;
+&blah; &blah; &blah; &blah; &blah;
 
 <sect1 id="pIpis1">
 <title>PartIntro Section</title>
 <para>PartIntros can actually have section content as well.</para>
-&blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah; &blah;
+&blah; &blah; &blah; &blah; &blah;
 </sect1>
 </partintro>
 
index 67c9ecf83c23577675e5a30ddccd09a8d1bcdf11..e9762e48c393a1a3b2039a7190887e73150992dd 100644 (file)
@@ -2,6 +2,7 @@
 <!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>
 <title>Unit Test: glossary.001</title>
 <releaseinfo role="CVS">$Id$</releaseinfo>
diff --git a/testdocs/tests/productionset.005.xml b/testdocs/tests/productionset.005.xml
new file mode 100644 (file)
index 0000000..56a5339
--- /dev/null
@@ -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$</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>
index 083b23d600969ec2f43d6424ed0696373c40c90c..dbcbb66614b73c7d3ecfd2d255fb5eaabbf3dbd2 100644 (file)
 </author>
 </articleinfo>
 
-<table>
-<title>Server machine minimum required software</title>
+<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>
@@ -20,7 +24,7 @@
 <colspec colname="col1" colnum="1" colwidth="2.50in"/>
 <thead valign="top">
 <row>
-<entry>Foo</entry>
+<entry>Foo<footnote><para>Table cell footnote test.</para></footnote></entry>
 </row>
 </thead>
 <tbody>
index c976e17eebd430e4014431d22de91302398c979b..1cf07c4a40c8a350cb0743c1f1bdafaff8eaae26 100644 (file)
@@ -46,6 +46,8 @@ Blah. Blah blah blah blah. Blah blah. Blah blah blah blah.
 </listitem>
 <listitem><para>appendix: <xref linkend="appendix"/>.</para>
 </listitem>
+<listitem><para>para: <xref linkend="para"/>.</para>
+</listitem>
 </itemizedlist>
 
 </dedication>
@@ -79,6 +81,7 @@ Blah. Blah blah blah blah. Blah blah. Blah blah blah blah.
 <chapter id="chapter"><title>Chapter</title>
 
 &blah;
+<para id="para">This paragraph has an ID.</para>
 
 </chapter>