Main Page Modules Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Configurable Special Features of ACEXML Parser

## Variables
const ACEXML_Char | simple_parsing_feature_ [] = ACE_TEXT ("Simple")
const ACEXML_Char | namespaces_feature_ [] = ACE_TEXT ("http://xml.org/sax/features/namespaces")
const ACEXML_Char | namespace_prefixes_feature_ [] = ACE_TEXT ("http://xml.org/sax/features/namespace-prefixes")
const ACEXML_Char | validation_feature_ [] = ACE_TEXT ("http://xml.org/sax/features/validation")

## Detailed Description

-*- HTML-Helper -*-

Id:
  parser_features.txt,v 1.3 2002/08/02 17:44:44 kitty Exp

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.

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.

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.

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.