]> granicus.if.org Git - docbook-dsssl/commitdiff
New/updated tests
authorNorman Walsh <ndw@nwalsh.com>
Wed, 26 Jun 2002 12:37:28 +0000 (12:37 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 26 Jun 2002 12:37:28 +0000 (12:37 +0000)
testdocs/tests/article.001.xml
testdocs/tests/article.002.xml [new file with mode: 0644]
testdocs/tests/book.003.xml
testdocs/tests/procedure.002.xml
testdocs/tests/xrefstyle.001.xml [new file with mode: 0644]

index fac4821decd4fbfefefc4d2c95f9905b75ae2291..305244e07b1708b4f05d7008e83789ce64c50c84 100644 (file)
 </author>
 <author><firstname>Jane</firstname><surname>Doe</surname></author>
 </authorgroup>
+<abstract>
+<para>This is the abstract.</para>
+<para>It has several paras.</para>
+<para>It has several paras.</para>
+</abstract>
 </articleinfo>
 
 <para>This is an article tests.</para>
diff --git a/testdocs/tests/article.002.xml b/testdocs/tests/article.002.xml
new file mode 100644 (file)
index 0000000..ab4b378
--- /dev/null
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+                  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article id="article" status="draft">
+<articleinfo>
+<title>Unit Test: article.001.xml</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<authorgroup>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+        <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+<author><firstname>Jane</firstname><surname>Doe</surname></author>
+</authorgroup>
+<abstract>
+<para>This is the abstract.</para>
+<para>It has several paras.</para>
+<para>It has several paras.</para>
+</abstract>
+</articleinfo>
+
+<para>This is an article tests.</para>
+
+<ackno>I'd like to thank all the tests that came before me.</ackno>
+
+</article>
index 8daaebb56edac69ad691dbc5b82ba538f57b9ed8..fffb642490cbcfb319c84e2b24a24152c2ba031f 100644 (file)
@@ -95,6 +95,10 @@ Some abstract. Some abstract. Some abstract. Some abstract.
 </bookinfo>
 
 <chapter id="chap1"><title>First Chapter</title>
+<chapterinfo>
+<abstract><para>bla in the first chapter</para>
+</abstract>
+</chapterinfo>
 
 &blah;
 
index 28f6bfa57a0b6c1b7cc54e2e8e7ed33aa0da8c44..21be40fa88384ce345da8ed3f33ff5372e7bdce5 100644 (file)
@@ -19,7 +19,8 @@
 </step>
 <step><para>Press MENUS.</para>
 </step>
-<step><para>Select SETUP.</para>
+<step><title>Setup</title>
+<para>Select SETUP.</para>
 <substeps>
 <step><para>Should be an &ldquo;a&rdquo;</para>
 </step>
diff --git a/testdocs/tests/xrefstyle.001.xml b/testdocs/tests/xrefstyle.001.xml
new file mode 100644 (file)
index 0000000..32bc6c7
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+                  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<chapter id="chapter">
+<chapterinfo>
+<title>Unit Test: xrefstyle.001.xml</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+        <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</chapterinfo>
+<title>Unit Test: xrefstyle.001.xml</title>
+
+<para>This is a test of xref styles.</para>
+
+<para>Short self-reference: <xref linkend="chapter"/>.</para>
+<para>Long self-reference: <xref role="title" linkend="chapter"/>.</para>
+
+</chapter>