The following table lists all available XML options. Default values used when an option is not explicitly set are written in bold. The Runtime uses the Xerces parser internally, so you can find more information for all options on the Xerces home page by following the link in the Xerces column. validation Controls validation. Report all validation errors. The document must specify a grammar in this case. This option overrides nonvalidatingLoadExternalDTD. validationDynamic validationSchema Control schema support. validationSchemaFullChecking Enable checking the schema grammar itself for additional errors that are time-consuming or memory intensive. It does not affect the level of checking performed on document instances that use schema grammars. nonvalidatingLoadExternalDTD Controls loading an external DTD. This feature is ignored and DTD is always loaded when the option validation is true. standardURIConformant Controls standard URI checks. validationIdentityConstraintChecking validationSchemaSkip-DTDValidation disableDefaultEntityResolution namespaces Controls namespace processing. If the validation option is set to true, then the document must contain a grammar that supports the use of namespaces. namespacePrefixes externalSchemaLocation The XML Schema Recommendation explicitly states that the inclusion of schemaLocation/nonamespaceSchemaLocation attributes in the instance document is only a hint; it does not mandate that these attributes must be used to locate schemas. Similar situation happens to <import> element in schema documents. This property allows the user to specify a list of schemas to use. If the targetnamespace of a schema specified using this method matches the targetnamespace of a schema occurring in the instance document in schemaLocation attribute, or if the targetnamespace matches the namespace attribute of <import> element, the schema specified by the user using this property will be used (i.e., the schemaLocation attribute in the instance document or on the <import> element will be effectively ignored). externalNonamespaceSchemaLocation The XML Schema Recommendation explicitly states that the inclusion of schemaLocation/nonamespaceSchemaLocation attributes in the instance document is only a hint; it does not mandate that these attributes must be used to locate schemas. This property allows the user to specify the no target namespace XML Schema Location externally. If specified, the instance document's nonamespaceSchemaLocation attribute will be effectively ignored. scannerName This property allows the user to specify the name of the XMLScanner to use for scanning XML documents. Any integer, no default. If using this tagged value, provide at least value 1. Otherwise the standard XML entities will not be parsed.
Parse Option
Description
Xerces Link
Values
Xerces Documentation
true
false
Do not report validation errors (default).
If the document specifies a grammar, that grammar might be parsed but no validation of the document contents will be performed.
Validate the document if a grammar is specified.
Xerces Documentation
true
The parser will validate the document only if a grammar is specified. (validation must be true).
false
Validation is determined by the state of the validation option (default).
Xerces Documentation
true
Enable the parser's schema support (default).
To use this option, namespaces must also be turned on.
false
Disable the parser's schema support.
Xerces Documentation
true
Enable full schema constraint checking, including checks that may be time-consuming or memory intensive. Currently, particle unique attribution constraint checking and particle derivation restriction checking are controlled by this option.
false
Disable full schema constraint checking (default).
Xerces Documentation
true
Load external DTD.
false
Ignore external DTD completely (default).
Xerces Documentation
true
Force standard URI conformance. Malformed URIs will be rejected.
false
Do not force standard URI conformance (default).
Controls entity constraint checking.
Xerces Documentation
true
Enable identity constraint checking (default).
false
Disable identity constraint checking.
Controls usage of DTDs.
Xerces Documentation
true
When validationSchema is true the parser will ignore the DTD, except for entities.
false
The parser will not ignore DTDs when validating (default).
Controls entity resolution.
Xerces Documentation
true
The parser will not attempt to resolve the entity if the Runtime can't find it.
false
The parser will attempt to resolve the entity on its own if the Runtime can't find it (default).
Xerces Documentation
true
Perform namespace processing (default).
false
Do not perform namespace processing.
Controls reporting of namespace prefixes.
Xerces Documentation
true
Report the original prefixed names and attributes used for namespace declarations.
false
Do not report attributes used for namespace declarations, and optionally do not report original prefixed names (default).
Xerces Documentation
The syntax is the same as for schemaLocation attributes in instance documents: e.g, " http://www.acme.com file_name.xsd ". The user can specify more than one XML Schema in the list.
Xerces Documentation
The syntax is the same as for the nonamespaceSchemaLocation attribute that may occur in an instance document: e.g." file_name.xsd ".
Xerces Documentation
The recognized scanner names are:
WFXMLScanner
A scanner that performs well-formedness checking only.
DGXMLScanner
A scanner that handles XML documents with DTD grammar information.
SGXMLScanner
A scanner that handles XML documents with XML schema grammar information.
IGXMLScanner
A scanner that handles XML documents with DTD or/and XML schema grammar information (default).
entityExpansionLimit
To mitigate an entity expansion attack (aka "XML bomb" or "the billion laughs" attack) you use this tagged value to limit entity expansion to the specified level.