]> granicus.if.org Git - docbook-dsssl/commitdiff
indexterm with > and < in them, seems to work ok in DSSSL
authorAdam Di Carlo <adicarlo@users.sourceforge.net>
Mon, 20 Jan 2003 18:40:47 +0000 (18:40 +0000)
committerAdam Di Carlo <adicarlo@users.sourceforge.net>
Mon, 20 Jan 2003 18:40:47 +0000 (18:40 +0000)
testdocs/tests/indexterm.005.xml [new file with mode: 0644]

diff --git a/testdocs/tests/indexterm.005.xml b/testdocs/tests/indexterm.005.xml
new file mode 100644 (file)
index 0000000..70277af
--- /dev/null
@@ -0,0 +1,26 @@
+<?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" [
+<!ENTITY index    SYSTEM '../indexterm.005.index.xml'>
+]>
+<article id="indexterm.005">
+<articleinfo>
+<title>Unit Test: indexterm.005</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 id="sec1">
+    <title>Bizarre Indexterm Test</title>
+    <para>
+      This is first test paragraph.
+      <programlisting>#include &lt;stdio.h&gt;
+      </programlisting>
+      <indexterm>
+        <primary>&lt;stdio.h&gt;</primary>
+      </indexterm>
+    </para>
+  </section>
+  &index;
+</article>