]> granicus.if.org Git - docbook-dsssl/commitdiff
initial add
authorMichael Smith <xmldoc@users.sourceforge.net>
Thu, 14 Oct 2004 16:54:53 +0000 (16:54 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Thu, 14 Oct 2004 16:54:53 +0000 (16:54 +0000)
Among other things, useful in testing for chunking of stuff within
Part (see bug #1046371)

testdocs/tests/part.001.xml [new file with mode: 0755]

diff --git a/testdocs/tests/part.001.xml b/testdocs/tests/part.001.xml
new file mode 100755 (executable)
index 0000000..089ab9a
--- /dev/null
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<part>
+  <partinfo>
+    <releaseinfo role="CVS">$Id$</releaseinfo>
+  </partinfo>
+  <title>Unit Test: part.001</title>
+  <chapter>
+    <title>Chapter</title>
+    <para>Some test data
+    <indexterm>
+      <primary>First Part</primary>
+    </indexterm></para>
+    <para>Referencing <firstterm>gloss-1</firstterm>.</para>
+  </chapter>
+
+  <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>
+
+  <bibliography>
+    <bibliographyinfo>
+      <author><firstname>Norman</firstname><surname>Walsh</surname>
+      <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+      </author>
+    </bibliographyinfo>
+
+    <bibliodiv>
+      <title>Entries using biblioentry</title>
+
+      <biblioentry>
+       <abbrev>AhoSethiUllman96</abbrev>
+       <authorgroup>
+         <author><firstname>Alfred V.</firstname><surname>Aho</surname></author>  
+         <author><firstname>Ravi</firstname><surname>Sethi</surname></author>
+         <author><firstname>Jeffrey D.</firstname><surname>Ullman</surname></author>
+       </authorgroup>
+       <title>Compilers, Principles, Techniques, and Tools</title>    
+       <publisher>
+         <publishername>Addison-Wesley Publishing Company</publishername>
+       </publisher>
+       <copyright><year>1996</year>
+       <holder>Bell Telephone Laboratories, Inc.</holder></copyright>
+       <isbn>0-201-10088-6</isbn>    
+       <editor><firstname>James T.</firstname><surname>DeWolf</surname></editor>
+      </biblioentry>
+
+    </bibliodiv>
+  </bibliography>
+  <index/>
+</part>