1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | This file is part of DocBook V5.0
|
---|
4 |
|
---|
5 | Copyright 1992-2008 HaL Computer Systems, Inc.,
|
---|
6 | O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
|
---|
7 | Corporation, Norman Walsh, Sun Microsystems, Inc., and the
|
---|
8 | Organization for the Advancement of Structured Information
|
---|
9 | Standards (OASIS).
|
---|
10 |
|
---|
11 | Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
|
---|
12 |
|
---|
13 | Permission to use, copy, modify and distribute the DocBook schema
|
---|
14 | and its accompanying documentation for any purpose and without fee
|
---|
15 | is hereby granted in perpetuity, provided that the above copyright
|
---|
16 | notice and this paragraph appear in all copies. The copyright
|
---|
17 | holders make no representation about the suitability of the schema
|
---|
18 | for any purpose. It is provided "as is" without expressed or implied
|
---|
19 | warranty.
|
---|
20 |
|
---|
21 | If you modify the DocBook schema in any way, label your schema as a
|
---|
22 | variant of DocBook. See the reference documentation
|
---|
23 | (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
|
---|
24 | for more information.
|
---|
25 |
|
---|
26 | Please direct all questions, bug reports, or suggestions for changes
|
---|
27 | to the docbook@lists.oasis-open.org mailing list. For more
|
---|
28 | information, see http://www.oasis-open.org/docbook/.
|
---|
29 |
|
---|
30 | ======================================================================
|
---|
31 | -->
|
---|
32 | <grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
|
---|
33 | <define name="db.domain.inlines" combine="choice">
|
---|
34 | <ref name="db.error.inlines"/>
|
---|
35 | </define>
|
---|
36 | <define name="db.error.inlines">
|
---|
37 | <choice>
|
---|
38 | <ref name="db.errorcode"/>
|
---|
39 | <ref name="db.errortext"/>
|
---|
40 | <ref name="db.errorname"/>
|
---|
41 | <ref name="db.errortype"/>
|
---|
42 | </choice>
|
---|
43 | </define>
|
---|
44 | <!-- ====================================================================== -->
|
---|
45 | <div>
|
---|
46 | <db:refname>errorcode</db:refname>
|
---|
47 | <db:refpurpose>An error code</db:refpurpose>
|
---|
48 | <define name="db.errorcode.role.attribute">
|
---|
49 | <attribute name="role"/>
|
---|
50 | </define>
|
---|
51 | <define name="db.errorcode.attlist">
|
---|
52 | <interleave>
|
---|
53 | <optional>
|
---|
54 | <ref name="db.errorcode.role.attribute"/>
|
---|
55 | </optional>
|
---|
56 | <ref name="db.common.attributes"/>
|
---|
57 | <ref name="db.common.linking.attributes"/>
|
---|
58 | </interleave>
|
---|
59 | </define>
|
---|
60 | <define name="db.errorcode">
|
---|
61 | <element name="errorcode">
|
---|
62 | <ref name="db.errorcode.attlist"/>
|
---|
63 | <ref name="db._text"/>
|
---|
64 | </element>
|
---|
65 | </define>
|
---|
66 | </div>
|
---|
67 | <!-- ====================================================================== -->
|
---|
68 | <div>
|
---|
69 | <db:refname>errorname</db:refname>
|
---|
70 | <db:refpurpose>An error name</db:refpurpose>
|
---|
71 | <define name="db.errorname.role.attribute">
|
---|
72 | <attribute name="role"/>
|
---|
73 | </define>
|
---|
74 | <define name="db.errorname.attlist">
|
---|
75 | <interleave>
|
---|
76 | <optional>
|
---|
77 | <ref name="db.errorname.role.attribute"/>
|
---|
78 | </optional>
|
---|
79 | <ref name="db.common.attributes"/>
|
---|
80 | <ref name="db.common.linking.attributes"/>
|
---|
81 | </interleave>
|
---|
82 | </define>
|
---|
83 | <define name="db.errorname">
|
---|
84 | <element name="errorname">
|
---|
85 | <ref name="db.errorname.attlist"/>
|
---|
86 | <ref name="db._text"/>
|
---|
87 | </element>
|
---|
88 | </define>
|
---|
89 | </div>
|
---|
90 | <!-- ====================================================================== -->
|
---|
91 | <div>
|
---|
92 | <db:refname>errortext</db:refname>
|
---|
93 | <db:refpurpose>An error message.</db:refpurpose>
|
---|
94 | <define name="db.errortext.role.attribute">
|
---|
95 | <attribute name="role"/>
|
---|
96 | </define>
|
---|
97 | <define name="db.errortext.attlist">
|
---|
98 | <interleave>
|
---|
99 | <optional>
|
---|
100 | <ref name="db.errortext.role.attribute"/>
|
---|
101 | </optional>
|
---|
102 | <ref name="db.common.attributes"/>
|
---|
103 | <ref name="db.common.linking.attributes"/>
|
---|
104 | </interleave>
|
---|
105 | </define>
|
---|
106 | <define name="db.errortext">
|
---|
107 | <element name="errortext">
|
---|
108 | <ref name="db.errortext.attlist"/>
|
---|
109 | <ref name="db._text"/>
|
---|
110 | </element>
|
---|
111 | </define>
|
---|
112 | </div>
|
---|
113 | <!-- ====================================================================== -->
|
---|
114 | <div>
|
---|
115 | <db:refname>errortype</db:refname>
|
---|
116 | <db:refpurpose>The classification of an error message</db:refpurpose>
|
---|
117 | <define name="db.errortype.role.attribute">
|
---|
118 | <attribute name="role"/>
|
---|
119 | </define>
|
---|
120 | <define name="db.errortype.attlist">
|
---|
121 | <interleave>
|
---|
122 | <optional>
|
---|
123 | <ref name="db.errortype.role.attribute"/>
|
---|
124 | </optional>
|
---|
125 | <ref name="db.common.attributes"/>
|
---|
126 | <ref name="db.common.linking.attributes"/>
|
---|
127 | </interleave>
|
---|
128 | </define>
|
---|
129 | <define name="db.errortype">
|
---|
130 | <element name="errortype">
|
---|
131 | <ref name="db.errortype.attlist"/>
|
---|
132 | <ref name="db._text"/>
|
---|
133 | </element>
|
---|
134 | </define>
|
---|
135 | </div>
|
---|
136 | </grammar>
|
---|