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 -*-
Id
parser_features.txt 80826 2008-03-04 14:51:23Z wotte

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

ACEXML_Parser::namespace_prefixes_feature_ = ACE_TEXT ("http://xml.org/sax/features/namespace-prefixes") [static, private, inherited]

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.

Definition at line 740 of file Parser.h.

Referenced by ACEXML_Parser::getFeature(), and ACEXML_Parser::setFeature().

ACEXML_Parser::namespaces_feature_ = ACE_TEXT ("http://xml.org/sax/features/namespaces") [static, private, inherited]

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

Definition at line 729 of file Parser.h.

Referenced by ACEXML_Parser::getFeature(), and ACEXML_Parser::setFeature().

ACEXML_Parser::simple_parsing_feature_ = ACE_TEXT ("Simple") [static, private, inherited]

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

Definition at line 720 of file Parser.h.

Referenced by ACEXML_Parser::getFeature(), and ACEXML_Parser::setFeature().

ACEXML_Parser::validation_feature_ = ACE_TEXT ("http://xml.org/sax/features/validation") [static, private, inherited]

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.

Definition at line 749 of file Parser.h.

Referenced by ACEXML_Parser::getFeature(), and ACEXML_Parser::setFeature().


Generated on Tue Feb 2 17:37:13 2010 for ACEXML by  doxygen 1.4.7