ACEXML  7.0.2
Variables
Configurable Special Features of ACEXML Parser

Variables

static const ACEXML_Char ACEXML_Parser::simple_parsing_feature_ [] = ACE_TEXT ("Simple")
 
static const ACEXML_Char ACEXML_Parser::namespaces_feature_ [] = ACE_TEXT ("http://xml.org/sax/features/namespaces")
 
static const ACEXML_Char ACEXML_Parser::namespace_prefixes_feature_ [] = ACE_TEXT ("http://xml.org/sax/features/namespace-prefixes")
 
static const ACEXML_Char ACEXML_Parser::validation_feature_ [] = ACE_TEXT ("http://xml.org/sax/features/validation")
 
ACEXML_DTDHandlerACEXML_Parser::dtd_handler_
 
ACEXML_EntityResolverACEXML_Parser::entity_resolver_
 
ACEXML_ContentHandlerACEXML_Parser::content_handler_
 
ACEXML_ErrorHandlerACEXML_Parser::error_handler_
 
ACEXML_CharACEXML_Parser::doctype_
 Document Type. More...
 
ACEXML_Parser_ContextACEXML_Parser::current_
 Current parser context. More...
 
ACE_Unbounded_Stack< ACEXML_Parser_Context * > ACEXML_Parser::ctx_stack_
 Stack used to hold the Parser_Context. More...
 
ACE_Unbounded_Stack< ACEXML_Char * > ACEXML_Parser::GE_reference_
 Set used to hold the general entity references that are active. More...
 
ACE_Unbounded_Stack< ACEXML_Char * > ACEXML_Parser::PE_reference_
 Set used to hold the parameter entity references that are active. More...
 
ACE_Obstack_T< ACEXML_CharACEXML_Parser::obstack_
 Obstack used by the parser to hold all the strings parsed. More...
 
ACE_Obstack_T< ACEXML_CharACEXML_Parser::alt_stack_
 Alternative obstack used to hold any strings when the original is in use. More...
 
ACEXML_NamespaceSupport ACEXML_Parser::xml_namespace_
 Namespace stack used by the parser to implement support for Namespaces. More...
 
int ACEXML_Parser::nested_namespace_
 T => We are processing a nested namespace. More...
 
ACEXML_Entity_Manager ACEXML_Parser::internal_GE_
 Set of internal parsed general entities in the document. More...
 
ACEXML_Entity_Manager ACEXML_Parser::external_GE_
 Set of external parsed general entities in the document. More...
 
ACEXML_Entity_Manager ACEXML_Parser::unparsed_entities_
 Set of unparsed entities in the document. More...
 
ACEXML_Entity_Manager ACEXML_Parser::predef_entities_
 Set of predefined entities used by the parser. More...
 
ACEXML_Entity_Manager ACEXML_Parser::internal_PE_
 Set of internal parsed parameter entities in the document. More...
 
ACEXML_Entity_Manager ACEXML_Parser::external_PE_
 Set of external parsed parameter entities in the document. More...
 
ACEXML_Entity_Manager ACEXML_Parser::notations_
 Set of notations declared in the document. More...
 
ACEXML_ParserInt::ReferenceState ACEXML_Parser::ref_state_
 State of the parser when it encounters a reference. More...
 
int ACEXML_Parser::external_subset_
 T => We are parsing an external subset. More...
 
int ACEXML_Parser::external_entity_
 T => We are parsing an external entity value. More...
 
int ACEXML_Parser::has_pe_refs_
 T => Internal DTD has parameter entity references. More...
 
int ACEXML_Parser::standalone_
 If set, the document is a standalone XML document. More...
 
int ACEXML_Parser::external_dtd_
 If set, the document has an external DTD subset. More...
 
int ACEXML_Parser::internal_dtd_
 If set, the document has an internal DTD. More...
 
int ACEXML_Parser::simple_parsing_
 
int ACEXML_Parser::validate_
 If set, the parser should also validate. More...
 
int ACEXML_Parser::namespaces_
 If set, the parser should allow access by namespace qualified names. More...
 
int ACEXML_Parser::namespace_prefixes_
 

Detailed Description

-*- HTML-Helper -*-

There are special features in ACEXML Parser that can be activated/deactivated thru setFeature. Likewise, whether a feature has been activated or not can be queried using getFeature.

See also
ACEXML_XMLReader::setFeature
ACEXML_XMLReader::getFeature

Here is a list of supported features:

  1. namespaces - When this feature is enabled, ACEXML parser allows access by namespace qualified names.

  2. namespace_prefixes - Normally the list of attributes returned by the parser will not contain attributes used as namespace declarations (xmlns:foo="bar"). When this feature is enabled, the list of attributes contains the namespace declarations also.

Variable Documentation

◆ alt_stack_

ACE_Obstack_T<ACEXML_Char> ACEXML_Parser::alt_stack_
private

Alternative obstack used to hold any strings when the original is in use.

◆ content_handler_

ACEXML_ContentHandler* ACEXML_Parser::content_handler_
private

◆ ctx_stack_

ACE_Unbounded_Stack<ACEXML_Parser_Context*> ACEXML_Parser::ctx_stack_
private

Stack used to hold the Parser_Context.

◆ current_

ACEXML_Parser_Context* ACEXML_Parser::current_
private

Current parser context.

◆ doctype_

ACEXML_Char* ACEXML_Parser::doctype_
private

Document Type.

◆ dtd_handler_

ACEXML_DTDHandler* ACEXML_Parser::dtd_handler_
private

Keeping track of the handlers. We do not manage the memory for handlers.

◆ entity_resolver_

ACEXML_EntityResolver* ACEXML_Parser::entity_resolver_
private

◆ error_handler_

ACEXML_ErrorHandler* ACEXML_Parser::error_handler_
private

◆ external_dtd_

int ACEXML_Parser::external_dtd_
private

If set, the document has an external DTD subset.

◆ external_entity_

int ACEXML_Parser::external_entity_
private

T => We are parsing an external entity value.

◆ external_GE_

ACEXML_Entity_Manager ACEXML_Parser::external_GE_
private

Set of external parsed general entities in the document.

◆ external_PE_

ACEXML_Entity_Manager ACEXML_Parser::external_PE_
private

Set of external parsed parameter entities in the document.

◆ external_subset_

int ACEXML_Parser::external_subset_
private

T => We are parsing an external subset.

◆ GE_reference_

ACE_Unbounded_Stack<ACEXML_Char*> ACEXML_Parser::GE_reference_
private

Set used to hold the general entity references that are active.

◆ has_pe_refs_

int ACEXML_Parser::has_pe_refs_
private

T => Internal DTD has parameter entity references.

◆ internal_dtd_

int ACEXML_Parser::internal_dtd_
private

If set, the document has an internal DTD.

◆ internal_GE_

ACEXML_Entity_Manager ACEXML_Parser::internal_GE_
private

Set of internal parsed general entities in the document.

◆ internal_PE_

ACEXML_Entity_Manager ACEXML_Parser::internal_PE_
private

Set of internal parsed parameter entities in the document.

◆ namespace_prefixes_

int ACEXML_Parser::namespace_prefixes_
private

If set, the parser should include namespace declarations in the list of attributes of an element.

◆ namespace_prefixes_feature_

ACEXML_Parser::namespace_prefixes_feature_ = ACE_TEXT ("http://xml.org/sax/features/namespace-prefixes")
staticprivate

This constant string defines the SAX XML Namespace prefixes feature. Normally the list of attributes returned by the parser will not contain attributes used as namespace declarations (xmlns*). When this feature is enabled, the list of attributes contains the namespace declarations also.

◆ namespaces_

int ACEXML_Parser::namespaces_
private

If set, the parser should allow access by namespace qualified names.

◆ namespaces_feature_

ACEXML_Parser::namespaces_feature_ = ACE_TEXT ("http://xml.org/sax/features/namespaces")
staticprivate

This constant string defines the SAX XML Namespace feature. When this feature is enabled, ACEXML parser allows access by namespace qualified names.

◆ nested_namespace_

int ACEXML_Parser::nested_namespace_
private

T => We are processing a nested namespace.

◆ notations_

ACEXML_Entity_Manager ACEXML_Parser::notations_
private

Set of notations declared in the document.

◆ obstack_

ACE_Obstack_T<ACEXML_Char> ACEXML_Parser::obstack_
private

Obstack used by the parser to hold all the strings parsed.

◆ PE_reference_

ACE_Unbounded_Stack<ACEXML_Char*> ACEXML_Parser::PE_reference_
private

Set used to hold the parameter entity references that are active.

◆ predef_entities_

ACEXML_Entity_Manager ACEXML_Parser::predef_entities_
private

Set of predefined entities used by the parser.

◆ ref_state_

ACEXML_ParserInt::ReferenceState ACEXML_Parser::ref_state_
private

State of the parser when it encounters a reference.

◆ simple_parsing_

int ACEXML_Parser::simple_parsing_
private

Feature flags If set, the parser should parse a document without a prolog

◆ simple_parsing_feature_

ACEXML_Parser::simple_parsing_feature_ = ACE_TEXT ("Simple")
staticprivate

This constant string defines the name of "simple XML parsing" feature. When this feature is enabled, ACEXML parser is allowed to parse a simple XML stream without mandated XML prolog and no DTD definition.

◆ standalone_

int ACEXML_Parser::standalone_
private

If set, the document is a standalone XML document.

◆ unparsed_entities_

ACEXML_Entity_Manager ACEXML_Parser::unparsed_entities_
private

Set of unparsed entities in the document.

◆ validate_

int ACEXML_Parser::validate_
private

If set, the parser should also validate.

◆ validation_feature_

ACEXML_Parser::validation_feature_ = ACE_TEXT ("http://xml.org/sax/features/validation")
staticprivate

This constant string defines the SAX XML Validation feature. When this feature is enabled, the parser validates the document in addition to checking for well-formedness.

◆ xml_namespace_

ACEXML_NamespaceSupport ACEXML_Parser::xml_namespace_
private

Namespace stack used by the parser to implement support for Namespaces.