]> granicus.if.org Git - docbook-dsssl/commitdiff
initial add
authorMichael Smith <xmldoc@users.sourceforge.net>
Thu, 14 Oct 2004 16:28:31 +0000 (16:28 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Thu, 14 Oct 2004 16:28:31 +0000 (16:28 +0000)
Test for handling of Index within Part; should generate separate
file for index when chunking (see bug #1046371); scope of each
Part index should just be its part; but currently (as of V1661),
that is broken (see bug #1047151).

testdocs/tests/index.002.xml [new file with mode: 0755]

diff --git a/testdocs/tests/index.002.xml b/testdocs/tests/index.002.xml
new file mode 100755 (executable)
index 0000000..9145127
--- /dev/null
@@ -0,0 +1,46 @@
+<?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: index.002</title>
+    <subtitle>Index in Part within Book</subtitle>
+    <releaseinfo role="CVS">$Id$</releaseinfo>
+    <author><firstname>Michael</firstname><surname>Smith</surname>
+    <affiliation><address><email>smith@sideshowbarker.net</email></address></affiliation>
+    </author>
+  </bookinfo>
+
+  <part><title>First Part</title>
+  <chapter><title>Chapter</title>
+  <para>Some test data
+  <indexterm>
+    <primary>First Part</primary>
+  </indexterm></para>
+  </chapter>
+  <index/>
+  </part>
+
+  <part><title>Second Part</title>
+  <chapter><title>Chapter</title>
+  <para>Some test data
+  <indexterm>
+    <primary>Second Part</primary>
+  </indexterm></para>
+  </chapter>
+  <index/>
+  </part>
+
+  <part><title>Third Part</title>
+  <chapter><title>Chapter</title>
+  <para>Some test data
+  <indexterm>
+    <primary>Third Part</primary>
+  </indexterm></para>
+  </chapter>
+  <index/>
+  </part>
+
+  <index/>
+
+</book>