merge the formfield patch from ooo-build
[ooovba.git] / testautomation / xml / optional / input / docbook / productionset.004.xml
blobf907b59707f92f62a271b2af56ae83a3d6e14b3b
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook EBNF Module V1.0//EN"
3                   "http://www.oasis-open.org/docbook/xml/ebnf/1.0/dbebnf.dtd">
4 <article>
5 <articleinfo>
6 <title>Unit Test: productionset.004</title>
7 <releaseinfo role="CVS">$Id: productionset.004.xml,v 1.2 2008-07-11 07:53:47 rt Exp $</releaseinfo>
8 <author><firstname>Norman</firstname><surname>Walsh</surname>
9         <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
10 </author>
11 </articleinfo>
13 <productionset>
14 <production id="NT-SDDecl">
15 <lhs>SDDecl</lhs>
16 <rhs><nonterminal def="#NT-S">S</nonterminal> 'standalone' <nonterminal def="#NT-Eq">Eq</nonterminal>
17 <!-- The above line break in the source file has nothing to do with the
18 line breaks in the output. -->
19 (("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no') '"'))
20 </rhs>
21 <constraint linkend="check-rmd"/>
22 </production>
23 <production id="NT-element">
24 <lhs>element</lhs>
25 <rhs>
26 <nonterminal def="#NT-EmptyElemTag">EmptyElemTag</nonterminal>
27 <sbr/><!-- There will be a line break in the output because of the sbr. -->
28 | <nonterminal def="#NT-STag">STag</nonterminal> <nonterminal def="#NT-content">content</nonterminal>
29 <!-- The above line break has nothing to do with the output. -->
30 <nonterminal def="#NT-SDDecl"/>
31 </rhs>
32 <constraint linkend="GIMatch"/>
33 <constraint linkend="elementvalid"/>
34 </production>
35 <productionrecap linkend="NT-SDDecl"/>
36 </productionset>
38 <constraintdef id="GIMatch" role="WFC">
39 <title>Element Type Match</title>
40 <para>Some description...</para>
41 </constraintdef>
43 <constraintdef id="elementvalid" role="VC">
44 <title>Element Valid</title>
45 <para>Some description...</para>
46 </constraintdef>
48 <constraintdef id="check-rmd" role="VC">
49 <title>Standalone Document Declaration</title>
50 <para>Some description...</para>
51 </constraintdef>
53 </article>