http://xml.org/sax/features/validation
True:
|
Validate the document.
|
False:
|
Do not validate the document.
|
Default:
|
false
|
Access:
|
(parsing) read-only; (not parsing) read/write
|
Note:
|
If this feature is set to true, the document must specify a grammar. If this
feature is set to false, the document may specify a grammar and that grammar
will be parsed but no validation of the document contents will be performed.
|
See:
|
http://apache.org/xml/features/validation/dynamic
http://xml.org/sax/features/namespaces
|
http://xml.org/sax/features/external-general-entities
http://xml.org/sax/features/external-parameter-entities
True:
|
Include external parameter entities and the external DTD subset.
|
False:
|
Do not include external parameter entities or the external DTD subset.
|
Default:
|
true
|
Access:
|
(parsing) read-only; (not parsing) read/write
|
See:
|
http://xml.org/sax/features/external-parameter-entities
|
http://xml.org/sax/features/namespaces
True:
|
Perform namespace processing: prefixes will be stripped off element and
attribute names and replaced with the corresponding namespace URIs. By default,
the two will simply be concatenated, but the namespace-sep core property allows
the application to specify a delimiter string for separating the URI part and
the local part.
|
False:
|
Do not perform namespace processing.
|
Default:
|
true
|
Access:
|
(parsing) read-only; (not parsing) read/write
|
Note:
|
If the validation feature is set to true, then the document must contain a
grammar that supports the use of namespaces.
|
See:
|
http://xml.org/sax/features/validation
http://xml.org/sax/properties/namespace-sep
|
http://apache.org/xml/features/validation/schema
True:
|
Turn on XML Schema support.
|
False:
|
Turn off XML Schema support.
|
Default:
|
true
|
http://apache.org/xml/features/validation/schema-full-checking
True:
|
Enable full schema constraint checking, including checking which may be time-consuming
or memory intensive. Currently, particle unique attribution constraint checking
and particle derivation resriction checking are controlled by this option.
|
False:
|
Disable full constraint checking.
|
Default:
|
false
|
http://apache.org/xml/features/validation/dynamic
http://apache.org/xml/features/validation/warn-on-duplicate-attdef
True:
|
Warn on duplicate attribute declaration.
|
False:
|
Do not warn on duplicate attribute declaration.
|
Default:
|
false
|
http://apache.org/xml/features/validation/warn-on-undeclared-elemdef
True:
|
Warn if element referenced in content model is not declared.
|
False:
|
Do not warn if element referenced in content model is not declared.
|
Default:
|
false
|
http://apache.org/xml/features/allow-java-encodings
True:
|
Allow Java encoding names in XMLDecl and TextDecl line.
|
False:
|
Do not allow Java encoding names in XMLDecl and TextDecl line.
|
Default:
|
false
|
Note:
|
A true value for this feature allows the encoding of the file to be
specified as a Java encoding name as well as the standard ISO encoding name. Be
aware that other parsers may not be able to use Java encoding names. If this
feature is set to false, an error will be generated if Java encoding names are
used.
|
http://apache.org/xml/features/continue-after-fatal-error
True:
|
Continue after fatal error.
|
False:
|
Stops parse on first fatal error.
|
Default:
|
false
|
http://apache.org/xml/features/nonvalidating/load-dtd-grammar
True:
|
Load the DTD and use it to add default attributes and set attribute types
when parsing.
|
False:
|
Build the grammar but do not use the default attributes and attribute types
information it contains.
|
Default:
|
true
|
Note:
|
This feature is always on when validation is on.
|
http://apache.org/xml/features/nonvalidating/load-external-dtd
True:
|
Load the external DTD.
|
False:
|
Ignore the external DTD completely.
|
Default:
|
true
|
Note:
|
This feature is always on when validation is on.
|