Version 7.0
Copyright © 2021 Lowell D. Thomas
APG
… an ABNF Parser Generator
Data Fields
dtd_info Struct Reference

Information about the Document Type Declaration. More...

#include <xml.h>

Collaboration diagram for dtd_info:
Collaboration graph
[legend]

Data Fields

abool bExists
 True if the DTD exists, false otherwise. More...
 
abool bStandalone
 True if standalone = "yes", false if standalone = "no". More...
 
abool bExtSubset
 True if an external subset is declared. More...
 
aint uiExternalIds
 The number of external IDs declared. More...
 
aint uiPEDecls
 The number of Parameter Entities declared. More...
 
aint uiPERefs
 The number of Parameter Entity references. More...
 
aint uiGEDeclsDeclared
 A count of ALL General Entities declared. More...
 
aint uiGEDeclsUnique
 A count of the unique and valid General Entities declared. More...
 
aint uiGEDeclsNotProcessed
 The number of General Entity declarations not processed because of condition: More...
 
aint uiAttListsDeclared
 The number of ALL Attribute declarations. More...
 
aint uiAttListsUnique
 The number of unique and valid Attribute declarations. More...
 
aint uiAttListsNotProcessed
 The number of Attribute List declarations not processed because of above condition: More...
 
u32_phrasespName
 The DTD name (name of the root element). More...
 
u32_phrasespGENames
 A list of (uiGEDeclsUnique) declared General Entity names, if any. More...
 
u32_phrasespGEValues
 A list of (uiGEDeclsUnique) declared General Entity Declaration values, if any. More...
 
u32_phrasespAttElementNames
 A list of (uiAttListsUnique) element names of declared attribute defaults. More...
 
u32_phrasespAttNames
 A list of (uiAttListsUnique) names of declared attribute defaults. More...
 
u32_phrasespAttTypes
 A list of (uiAttListsUnique) types of declared attribute defaults. More...
 
u32_phrasespAttValues
 A list of (uiAttListsUnique) normalized values of declared attribute defaults. More...
 
u32_phrasespNotationNames
 A list of the Notation names, if any. More...
 
u32_phrasespNotationValues
 A list of the Notation values, if any. More...
 
aint uiNotationDecls
 The number of notation declarations found. More...
 
aint uiElementDecls
 The number of element declarations found. More...
 

Detailed Description

Information about the Document Type Declaration.

This information is passed to the DTD callback function, even if no DTD is present. Only the General Entity definitions and default attribute list are used by the XML parser. However, Notation and Element declarations are also noted.

Definition at line 75 of file xml.h.

Field Documentation

◆ bExists

abool dtd_info::bExists

True if the DTD exists, false otherwise.

Definition at line 76 of file xml.h.

◆ bExtSubset

abool dtd_info::bExtSubset

True if an external subset is declared.

Definition at line 78 of file xml.h.

◆ bStandalone

abool dtd_info::bStandalone

True if standalone = "yes", false if standalone = "no".

Definition at line 77 of file xml.h.

◆ spAttElementNames

u32_phrase* dtd_info::spAttElementNames

A list of (uiAttListsUnique) element names of declared attribute defaults.

Definition at line 95 of file xml.h.

◆ spAttNames

u32_phrase* dtd_info::spAttNames

A list of (uiAttListsUnique) names of declared attribute defaults.

Definition at line 96 of file xml.h.

◆ spAttTypes

u32_phrase* dtd_info::spAttTypes

A list of (uiAttListsUnique) types of declared attribute defaults.

Definition at line 97 of file xml.h.

◆ spAttValues

u32_phrase* dtd_info::spAttValues

A list of (uiAttListsUnique) normalized values of declared attribute defaults.

Definition at line 98 of file xml.h.

◆ spGENames

u32_phrase* dtd_info::spGENames

A list of (uiGEDeclsUnique) declared General Entity names, if any.

Definition at line 93 of file xml.h.

◆ spGEValues

u32_phrase* dtd_info::spGEValues

A list of (uiGEDeclsUnique) declared General Entity Declaration values, if any.

Definition at line 94 of file xml.h.

◆ spName

u32_phrase* dtd_info::spName

The DTD name (name of the root element).

Definition at line 92 of file xml.h.

◆ spNotationNames

u32_phrase* dtd_info::spNotationNames

A list of the Notation names, if any.

Definition at line 99 of file xml.h.

◆ spNotationValues

u32_phrase* dtd_info::spNotationValues

A list of the Notation values, if any.

Definition at line 100 of file xml.h.

◆ uiAttListsDeclared

aint dtd_info::uiAttListsDeclared

The number of ALL Attribute declarations.

Definition at line 87 of file xml.h.

◆ uiAttListsNotProcessed

aint dtd_info::uiAttListsNotProcessed

The number of Attribute List declarations not processed because of above condition:

unread Parameter Entity encountered previously and standalone = "no".

Definition at line 90 of file xml.h.

◆ uiAttListsUnique

aint dtd_info::uiAttListsUnique

The number of unique and valid Attribute declarations.

(Some may have been multiply declared.)

Definition at line 88 of file xml.h.

◆ uiElementDecls

aint dtd_info::uiElementDecls

The number of element declarations found.

Definition at line 102 of file xml.h.

◆ uiExternalIds

aint dtd_info::uiExternalIds

The number of external IDs declared.

Definition at line 79 of file xml.h.

◆ uiGEDeclsDeclared

aint dtd_info::uiGEDeclsDeclared

A count of ALL General Entities declared.

Definition at line 82 of file xml.h.

◆ uiGEDeclsNotProcessed

aint dtd_info::uiGEDeclsNotProcessed

The number of General Entity declarations not processed because of condition:

unread Parameter Entity encountered previously and standalone = "no".

Definition at line 85 of file xml.h.

◆ uiGEDeclsUnique

aint dtd_info::uiGEDeclsUnique

A count of the unique and valid General Entities declared.

(Some may have been multiply declared.)

Definition at line 83 of file xml.h.

◆ uiNotationDecls

aint dtd_info::uiNotationDecls

The number of notation declarations found.

Definition at line 101 of file xml.h.

◆ uiPEDecls

aint dtd_info::uiPEDecls

The number of Parameter Entities declared.

Definition at line 80 of file xml.h.

◆ uiPERefs

aint dtd_info::uiPERefs

The number of Parameter Entity references.

Definition at line 81 of file xml.h.


The documentation for this struct was generated from the following file:
APG Version 7.0 is licensed under the 2-Clause BSD License,
an Open Source Initiative Approved License.