From: Michael Smith Date: Thu, 9 Aug 2007 08:50:47 +0000 (+0000) Subject: Added testfile.xml X-Git-Tag: release/1.79.1~6^2~1819 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c9b6648f2e791a39f9007b58c8a551a2e3e9312;p=docbook-dsssl Added testfile.xml --- diff --git a/releasetools/Makefile b/releasetools/Makefile index 2bcd04587..761f9cabf 100644 --- a/releasetools/Makefile +++ b/releasetools/Makefile @@ -3,12 +3,12 @@ include ../buildtools/Makefile.incl XSLT=../buildtools/xslt -xsltproc XTANGLE_PARAMS=suppress.doctype.in.output=1 -.PHONY: modified-markup.xsl docbook.rng xtangle.xsl w2docbook.xsl cldocbook.xsl ldocbook.xsl +.PHONY: modified-markup.xsl docbook.rng xtangle.xsl w2docbook.xsl MAKE_DOCBOOK_RNG=.make-docbook-rng.xsl MAKE_LITPROG=.make-litprog.xsl -all: modified-markup.xsl docbook.rng xtangle.xsl w2docbook.xsl freshmeat-submit +all: modified-markup.xsl docbook.rng xtangle.xsl w2docbook.xsl freshmeat-submit testfile.xml modified-markup.xsl: $(MAKE) -C ../contrib/tools/tennison $@ @@ -30,6 +30,9 @@ freshmeat-submit: $(MAKE) -C ../contrib/tools/freshmeat-submit cp ../contrib/tools/freshmeat-submit/freshmeat-submit-1.6/$@ . +testfile.xml: ../testdocs/tests/refentry.007.xml + cp $< $@ + clean: $(RM) modified-markup.xsl $(RM) docbook.rng diff --git a/releasetools/testfile.xml b/releasetools/testfile.xml new file mode 100644 index 000000000..dad58e77e --- /dev/null +++ b/releasetools/testfile.xml @@ -0,0 +1,340 @@ + + + + +Unit Test: refentry.007 +$Id: refentry.007.xml 6135 2006-08-05 12:11:18Z xmldoc $ +NormanWalsh +
ndw@nwalsh.com
+
+
+ +Reference + + + + + NormanWalsh + ndw@nwalsh.com + + Wrote the original version of this document. + + + + Added a bunch of test cases. + Michael(tm)Smith + smith@sideshowbarker.net + + + + 2003 + Norman Walsh + + + 2006 + Michael(tm) Smith + + + This file is a product of the DocBook Project. + + + Share and share alike. + + + +FirstName +SecondName +Purpose for FirstName + + + +ThirdName +Purpose for ThirdName + + + + + + + #include <varargs.h> +#include <mouteyh.h> +#include <qlmppzj.h> + + float rand + + + + + int max + + + + + int idiv + int n + int m + + + + Another. + + + + void qsort + void *dataptr[] + int left + int right + int (*comp) + void *, void * + + + + + + int foo_frob_something + foo_sometype1 foo_frob_parm1 + foo_sometype1 foo_frob_parm2 + foo_sometype1 foo_frob_parm3 + int (* parm4 ) + int a, int b, int c + + foo_sometype1 foo_frob_parm5 + + + + int foo_frob_something + foo_sometype1 foo_frob_parm1 + foo_sometype1 foo_frob_parm2 + foo_sometype1 foo_frob_parm3 + int (* parm4 ) + int a, int b, int c + + foo_sometype1 foo_frob_parm5 + + + + + +Description +This is a minimal RefEntry. + +The following is a Variablelist with a title. + + My variablelist + + varlistentry term 1 + some listitem text + + + varlistentry term 2 + some more listitem text + + + + +Subsection +This is a minimal RefEntry. + +The following is a Variablelist with a title and a nested variablelist + + My glosslist + + glossentry term 1 + some glossdef text + + + glossentry term 2 + + + + nested variablelist term 1 + some variablelist text + + + nested variablelist term 2 + some more variablelist text + + + + + + + + +Sub-subsection +This is a minimal RefEntry. + + + + + +More Description +This is a not-so minimal RefEntry. + +This is a screen [break here] +that starts with a line of space. [break here] +And it ends with a line of space. + + +normal paragraph here + +This is a screen [break here] +that does not start with a line of space. [break here] +And does not end with a line of space. + +This is a normal paragraph that contains a screen. +This is a screen within a normal paragraph [break here] +that does not start with a line of space. [break here] +And does not end with a line of space but is followed +by a line of space. + + +This is another normal paragraph that contains a screen. +This is a screen within a normal paragraph [break here] +that does not start with a line of space. [break here] +And does not end with a line of space and is not followed +by a line of space. + +This is another normal paragraph that contains a screen. + +This is a screen within a normal paragraph [break here] +that starts with a line of space. [break here] +And ends with a line of space but is not followed by a line of space. + + +This is another normal paragraph that contains a screen. + +This is a screen within a normal paragraph [break here] +that starts with a line of space. [break here] +And ends with a line of space and is followed by a line of space. + + + + + + + + + +This is another normal paragraph that contains a screen. + + +This is a screen within a normal paragraph [break here] +that starts with a 2 lines of space. [break here] +And ends with 3 lines of space and is followed by a line of space. + + + + + +This paragraph contains an itemizedlist with a title. The title +is “Mrignkwolmcng”. + + Mrignkwolmcng + + itemizedlist listitem 1 + + + itemizedlist listitem 2 + + + +This is some useless text that follows the “Mrignkwolmcng” orderedlist +in the same para. + +The following is a Variablelist with a title and with a nested itemizedlist. + + My variablelist + + varlistentry term 1 + + + nested itemizedlist + + itemizedlist listitem 1 + + + itemizedlist listitem 2 + + + + + + varlistentry term 2 + some more listitem text + + + + +The following is a Variablelist with a title and with a +nested Varlistentry that contains multiple Terms + + My nested-multi-term-per-varlistentry variablelist + + Varlistentry term 1 + + + + varlistentry term 1.1 + varlistentry term 1.2 + varlistentry term 1.3 + All 'bout terms 1.1, 1.2, and 1.3 + + + + + + + varlistentry term 2 + some more listitem text + + + + + +Subsection +This is a minimal RefEntry. + + + + +Even More Description +This is an even less minimal RefEntry. + +This is a paragraph. It contains the following segmentedlist, +titled “Gibbererish”, with several segtitle elements. + + Gibbererish + Floober + Buugler + Sstangooo + Borobinda + + Bamalalaboonda Bamalalaboonda Bamalalaboonda Bamalalaboonda Bamalalaboonda Bamalalaboonda + Mondorotoluafu + Ganafutralinga + Patagularamakundra + + + Cadraracondar + Hentirotomaambu + BdomentriolaiaBdomentriolaiaBdomentriolaia + Candamalaturuanio + + +This is some text that follows the segementedlist within the same +paragraph. The next part of this same paragraph is an +important admonition. + + It is very important that you read this. That’s why it stands + out the way that it does. + + + + + + + +