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">
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>
13 <preface><title>Preface</title>
14 <para>This book tests EBNF constraint links that cross chunk boundaries.</para>
17 <chapter><title>EBNF</title>
20 <production id="NT-SDDecl">
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') '"'))
27 <constraint linkend="check-rmd"/>
29 <production id="NT-element">
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"/>
38 <constraint linkend="GIMatch"/>
39 <constraint linkend="elementvalid"/>
41 <productionrecap linkend="NT-SDDecl"/>
46 <chapter><title>Constraints</title>
48 <constraintdef id="GIMatch" role="WFC">
49 <title>Element Type Match</title>
50 <para>Some description...</para>
53 <constraintdef id="elementvalid" role="VC">
54 <title>Element Valid</title>
55 <para>Some description...</para>
58 <constraintdef id="check-rmd" role="VC">
59 <title>Standalone Document Declaration</title>
60 <para>Some description...</para>
63 <constraintdef id="NT-S">
65 <para>Just for link integrity...</para>
68 <constraintdef id="NT-Eq">
70 <para>Just for link integrity...</para>
73 <constraintdef id="NT-EmptyElemTag">
74 <title>NT-EmptyElemTag</title>
75 <para>Just for link integrity...</para>
78 <constraintdef id="NT-STag">
79 <title>NT-STag</title>
80 <para>Just for link integrity...</para>
83 <constraintdef id="NT-content">
84 <title>NT-content</title>
85 <para>Just for link integrity...</para>