summaryrefslogtreecommitdiff
path: root/test/testdocs/productionset.004.xml
blob: a58bf2ee112001824e7d91e1390cc61ad08a9829 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
          "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<article>
<articleinfo>
<title>Unit Test: productionset.004</title>
<releaseinfo role="CVS">$Id: productionset.004.xml 4105 2004-12-15 23:00:31Z xmldoc $</releaseinfo>
<author><firstname>Norman</firstname><surname>Walsh</surname>
        <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
</author>
</articleinfo>

<productionset>
<production id="NT-SDDecl">
<lhs>SDDecl</lhs>
<rhs><nonterminal def="#NT-S">S</nonterminal> 'standalone' <nonterminal def="#NT-Eq">Eq</nonterminal>
<!-- The above line break in the source file has nothing to do with the
line breaks in the output. -->
(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no') '"'))
</rhs>
<constraint linkend="check-rmd"/>
</production>
<production id="NT-element">
<lhs>element</lhs>
<rhs>
<nonterminal def="#NT-EmptyElemTag">EmptyElemTag</nonterminal>
<sbr/><!-- There will be a line break in the output because of the sbr. -->
| <nonterminal def="#NT-STag">STag</nonterminal> <nonterminal def="#NT-content">content</nonterminal>
<!-- The above line break has nothing to do with the output. -->
<nonterminal def="#NT-SDDecl"/>
</rhs>
<constraint linkend="GIMatch"/>
<constraint linkend="elementvalid"/>
</production>
<productionrecap linkend="NT-SDDecl"/>
</productionset>

<constraintdef id="GIMatch" role="WFC">
<title>Element Type Match</title>
<para>Some description...</para>
</constraintdef>

<constraintdef id="elementvalid" role="VC">
<title>Element Valid</title>
<para>Some description...</para>
</constraintdef>

<constraintdef id="check-rmd" role="VC">
<title>Standalone Document Declaration</title>
<para>Some description...</para>
</constraintdef>

</article>