ACEXML  6.4.8
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")
 

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

◆ 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_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.

◆ 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.

◆ 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.