tsgmdwarns
Description
Sets the options for warnings displayed by the SGML parser.
Example 252. Specify the parser warning settings
The example below specifies multiple SGML parser (Open sp) warning display settings using cumulative values. The syntax specifies that warnings relating to default references, undefined elements and empty start and end tags should be applied. The example also specifies that both warnings and errors should be displayed.
tsgmdwarns 133, 1
Syntax
tsgmdwarns warnings:n? no_warns:n? show:o?
tsgmdwarns
[no parameter]
|
Invoke the SGML Warning Display Options dialog box.
|
warnings
|
The type of entities that should be included in the parser warnings:
1
|
Default references
|
2
|
Report duplicate entity declarations
|
4
|
Undefined elements.
|
8
|
Mixed content models
|
16
|
Dubious constructs in SGML declaration
|
32
|
Recommendations made in ISO 8879
|
64
|
Unclosed start and end tags
|
128
|
Empty start and end tags
|
256
|
Net-enabling start and end tags
|
512
|
Minimized start and end tags
|
1024
|
Unused short reference maps
|
2048
|
Parameter entities defined but not used in DTD
|
4096
|
Notations for which no system id could be generated
|
8192
|
RESERVED
|
16384
|
RESERVED
|
|
|
32768
|
Immediately recursive elements: for more details, see clause 2.2.5 of Annex K of ISO 887 (immediate-recursion) v7.96f.
|
65536
|
Document instance not fully declared: for more details, see clause 2.2.1 of Annex K of ISO 8879 (fully-declared) v7.96f.
|
131072
|
Document instance not fully tagged: for more details, see clause 2.2.2 of Annex K of ISO 8879 (fully-tagged) v7.96f.
|
262144
|
Document instance not amply-tagged: for more details, see clause 2.2.4 of Annex K of ISO 8879. (amply-tagged) v7.96f.
|
524288
|
Document instance not amply-tagged; implicitly defined elements may be immediately recursive. For more details, see clause 2.2.4 of Annex K of ISO 8879 (amply-tagged-recursive) v7.96f.
|
1048576
|
Document instance not type-valid: for more details, see clause 2.2.3 of Annex K of ISO 8879 (type-valid) v7.96f.
|
2097152
|
References to non-predefined entities: for more details, see clause 2.3.2 of Annex K of ISO 8879 (entity-ref) v7.96f.
|
4194304
|
References to external entities: for more details, see clause 2.3.3 of Annex K of ISO 8879 (external-entity-ref) v7.96f.
|
8388608
|
Document instance not integrally stored: for more details, see clause 2.3.1 of Annex K of ISO 8879 (integral) v7.96f.
|
|
no_warns
|
1
|
Do not give an error for an ID reference value which no element has as its ID.
|
2
|
Do not give an error when a character, that is not a significant character in the reference concrete syntax, occurs in a literal in the SGML declaration.
|
4
|
Do not require the document to be type-valid.
|
8
|
Do not give errors when AFDR meta-DTD notation features are used in the DTD.
|
|
show
|
Toggle the display of warnings as well as errors:
|