merge the formfield patch from ooo-build
[ooovba.git] / testautomation / xml / optional / input / docbook / productionset.005.xml
blob2ea062b9a7049e2d1a00d9f2cdbce981d237ff51
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook EBNF Module V1.0//EN"
3                       "http://www.oasis-open.org/docbook/xml/ebnf/1.0/dbebnf.dtd">
4 <book>
5 <bookinfo>
6 <title>Unit Test: productionset.005</title>
7 <releaseinfo role="CVS">$Id: productionset.005.xml,v 1.2 2008-07-11 07:53:57 rt Exp $</releaseinfo>
8 <author><firstname>Norman</firstname><surname>Walsh</surname>
9         <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
10 </author>
11 </bookinfo>
13 <preface><title>Preface</title>
14 <para>This book tests EBNF constraint links that cross chunk boundaries.</para>
15 </preface>
17 <chapter><title>EBNF</title>
19 <productionset>
20 <production id="NT-SDDecl">
21 <lhs>SDDecl</lhs>
22 <rhs><nonterminal def="#NT-S">S</nonterminal> 'standalone' <nonterminal def="#NT-Eq">Eq</nonterminal>
23 <!-- The above line break in the source file has nothing to do with the
24 line breaks in the output. -->
25 (("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no') '"'))
26 </rhs>
27 <constraint linkend="check-rmd"/>
28 </production>
29 <production id="NT-element">
30 <lhs>element</lhs>
31 <rhs>
32 <nonterminal def="#NT-EmptyElemTag">EmptyElemTag</nonterminal>
33 <sbr/><!-- There will be a line break in the output because of the sbr. -->
34 | <nonterminal def="#NT-STag">STag</nonterminal> <nonterminal def="#NT-content">content</nonterminal>
35 <!-- The above line break has nothing to do with the output. -->
36 <nonterminal def="#NT-SDDecl"/>
37 </rhs>
38 <constraint linkend="GIMatch"/>
39 <constraint linkend="elementvalid"/>
40 </production>
41 <productionrecap linkend="NT-SDDecl"/>
42 </productionset>
44 </chapter>
46 <chapter><title>Constraints</title>
48 <constraintdef id="GIMatch" role="WFC">
49 <title>Element Type Match</title>
50 <para>Some description...</para>
51 </constraintdef>
53 <constraintdef id="elementvalid" role="VC">
54 <title>Element Valid</title>
55 <para>Some description...</para>
56 </constraintdef>
58 <constraintdef id="check-rmd" role="VC">
59 <title>Standalone Document Declaration</title>
60 <para>Some description...</para>
61 </constraintdef>
63 <constraintdef id="NT-S">
64 <title>NT-S</title>
65 <para>Just for link integrity...</para>
66 </constraintdef>
68 <constraintdef id="NT-Eq">
69 <title>NT-Eq</title>
70 <para>Just for link integrity...</para>
71 </constraintdef>
73 <constraintdef id="NT-EmptyElemTag">
74 <title>NT-EmptyElemTag</title>
75 <para>Just for link integrity...</para>
76 </constraintdef>
78 <constraintdef id="NT-STag">
79 <title>NT-STag</title>
80 <para>Just for link integrity...</para>
81 </constraintdef>
83 <constraintdef id="NT-content">
84 <title>NT-content</title>
85 <para>Just for link integrity...</para>
86 </constraintdef>
88 </chapter>
89 </book>