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">
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>
14 <production id="NT-SDDecl">
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') '"'))
21 <constraint linkend="check-rmd"/>
23 <production id="NT-element">
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"/>
32 <constraint linkend="GIMatch"/>
33 <constraint linkend="elementvalid"/>
35 <productionrecap linkend="NT-SDDecl"/>
38 <constraintdef id="GIMatch" role="WFC">
39 <title>Element Type Match</title>
40 <para>Some description...</para>
43 <constraintdef id="elementvalid" role="VC">
44 <title>Element Valid</title>
45 <para>Some description...</para>
48 <constraintdef id="check-rmd" role="VC">
49 <title>Standalone Document Declaration</title>
50 <para>Some description...</para>