Closed kleihan closed 32 minutes ago
Generally supportive of adding clearer guidance for the purpose
attribute, not least because it simplifies document generation.
Specific notes:
MessageDefinition
which is used in the List of Messages and in the functional description of messages in the Message Definition Reports (MDRs). Suggested wording:
Multiple languages can be supported by specifying the language of each element in its langId
attribute. Also, multiple categories of documentation are supported by populating the purpose
attribute. Suggested values of purpose
include “SYNOPSIS”, “ELABORATION”, “EXAMPLE”, “DISPLAY”, “CAPTION”, “TOOLTIP”, and “DEFINITION”.
The schema has an optional attribute
purpose
fordocumentation
elements and defines a few standard purposes. A user may add to the list as it is extensible.The standard purposes are currently SYNOPSIS, ELABORATION, EXAMPLE, DISPLAY. The specification only lists them but does not offer a definition.
It is proposed to define DISPLAY as the purpose to provide a more elaborate name other than the value of the
name
attribute, for example (taken from #193):It is further proposed to standardize the following purposes with clear definitions in the specification:
User-defined purposes should still be allowed but the standard purposes should cover most use cases.