msgset

msgset — A detailed set of messages, usually error messages.

Synopsis

msgset ::=

Attributes

Common attributes and common linking attributes.

No additional attributes.

Additional Constraints

  • If this element is the root element, it must have a version attribute.

Description

A msgset is a complex structure designed to hold a detailed set of messages, usually error messages. In addition to the actual text of each message, it can contain additional information about each message and the messages related to it.

Processing expectations

Formatted as a displayed block.

On the whole, the semantics of msgset are not clearly defined.

Attributes

Common attributes and common linking attributes.

any attribute

Any attribute in any other explicit namespace

Parents

These elements contain msgset: abstract, acknowledgements, annotation, answer, appendix, article, bibliodiv, bibliography, bibliolist, blockquote, callout, calloutlist, caption (db.caption), caution, chapter, colophon, constraintdef, cover, danger, dedication, entry, example, figure, footnote, glossary, glossdef, glossdiv, glosslist, important, index, indexdiv, informalexample, informalfigure, itemizedlist, legalnotice, listitem, meta (db.meta.content), msgexplan, msgtext, note, orderedlist, para, partintro, preface, procedure, qandadiv, qandaset, question, refsect1, refsect2, refsect3, refsection, refsynopsisdiv, result, revdescription, sect1, sect2, sect3, sect4, sect5, section, setindex, sidebar, simplesect, step, taskprerequisites, taskrelated, tasksummary, td, textobject, th, tip, toc, tocdiv, topic, variablelist, warning.

Children

The following elements occur in msgset: info (db.titleforbidden.info), info (db.titleonly.info), msgentry, simplemsgentry, title, titleabbrev.

See Also

Related elements: errorcode, errorname, errortext, errortype.

Examples

 1 |<article xmlns='http://docbook.org/ns/docbook'>
   |<title>Example msgset</title>
   | 
   |<msgset>
 5 |  <msgentry>
   |    <msg>
   |       <msgmain>
   |          <msgtext><para>Record failed CRC</para></msgtext>
   |       </msgmain>
10 |       <msgsub>
   |          <msgtext><para>Record <replaceable>n</replaceable>
   |                    in <replaceable>database</replaceable></para></msgtext>
   |       </msgsub>
   |       <msgrel>
15 |          <msgtext><para>File read error on 
   |                   <replaceable>database</replaceable></para></msgtext>
   |       </msgrel>
   |       <msgrel>
   |          <msgtext><para>Panic! Corrupt record!</para></msgtext>
20 |       </msgrel>
   |     </msg>
   |     <msginfo>
   |        <msglevel>severe</msglevel>
   |        <msgorig>server</msgorig>
25 |        <msgaud>all</msgaud>
   |     </msginfo>
   |     <msgexplan>
   |        <para>Indicates that some sort of error occurred while
   |        attempting to load a record from the database.  Retry.
30 |        If failure persists,contact the database administrator.
   |        </para>
   |     </msgexplan>
   | </msgentry>
   | <!-- more entries -->
35 |</msgset>
   | 
   |</article>

Record failed CRC

Record n in database

File read error on database

Panic! Corrupt record!

Level: severe
Origin: server
Audience: all

Indicates that some sort of error occurred while attempting to load a record from the database. Retry. If failure persists,contact the database administrator.