]> granicus.if.org Git - docbook-dsssl/commitdiff
testing two indexterms with different seealsos, from bug #551318
authorAdam Di Carlo <adicarlo@users.sourceforge.net>
Sun, 19 Jan 2003 18:56:17 +0000 (18:56 +0000)
committerAdam Di Carlo <adicarlo@users.sourceforge.net>
Sun, 19 Jan 2003 18:56:17 +0000 (18:56 +0000)
testdocs/tests/indexterm.004.xml [new file with mode: 0644]

diff --git a/testdocs/tests/indexterm.004.xml b/testdocs/tests/indexterm.004.xml
new file mode 100644 (file)
index 0000000..b377ec7
--- /dev/null
@@ -0,0 +1,43 @@
+<?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="indexterm.004">
+<articleinfo>
+<title>Unit Test: indexterm.004</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Adam</firstname><surname>Di Carlo</surname>
+        <affiliation><address><email>adam@onshored.com</email></address></affiliation>
+</author>
+</articleinfo>
+  <section>
+    <title>First Section</title>
+
+    <para>
+      This is first test paragraph.
+      <indexterm>
+        <primary>foo</primary>
+        <seealso>bar</seealso>
+      </indexterm>
+      <indexterm>
+        <primary>bar</primary>
+      </indexterm>
+      <indexterm>
+        <primary>baz</primary>
+      </indexterm>
+    </para>
+
+    <para>
+      This is second test paragraph.  We're testing identical
+      <sgmltag>indexterm</sgmltag>s with two different
+      <sgmltag>seealso</sgmltag>s.
+
+      <indexterm>
+        <primary>foo</primary>
+        <seealso>baz</seealso>
+      </indexterm>
+    </para>
+
+  </section>
+
+  <index/>
+</article>