Layout table: the first cell contains the value of schema-type parameter, the second contains the value of validate parameter, the third contains the value of the validate-if-schema parameter, the 4th contains the actual document schemas, the 5th contains the output of such configuration, the 6th list addition parameters that can be effected.1
"schema-type"
"validate"
"validate-if-schema"
Instance schemas, i.e. the current schema
Outcome
Other parameters
21null |
11true |
11false |
21DTD and XML Schema |
21Implementation dependent |
21
The outcome of setting the "datatype-normalization",
"element-content-whitespace"
or "namespaces" parameters
to true or false is implementation
dependent.
|
11false |
11true |
21null |
11true |
11false |
21none |
11Report an error |
21
Setting the "datatype-normalization"
to true or false has no effect on
the DOM.
|
11false |
11true |
11No error is reported |
21null |
11true |
11false |
21DTD |
21Validate against DTD |
21
Setting the "datatype-normalization"
to true or false has no effect on
the DOM. |
11false |
11true |
21null |
11true |
11false |
21XML Schema |
21
Validate against XML Schema
|
21
The outcome of setting the "namespaces" to
false is implementation dependent (likely to be
an error). Setting the "element-content-whitespace"
to false does not have any effect on the DOM.
|
11false |
11true |
21"http://www.w3.org/TR/REC-xml" |
11true |
11false |
21DTD or XML Schema or both |
11
If DTD is found, validate against DTD. Otherwise, report an
error.
|
21
Setting the "datatype-normalization"
to true or false has no effect on
the DOM.
|
11false |
11true |
11If DTD is found, validate against DTD. |
21"http://www.w3.org/2001/XMLSchema" |
11true |
11false |
21DTD or XML Schema or both |
11
If XML Schema is found, validate against the schema.
Otherwise, report an error.
|
21
Setting the "datatype-normalization"
to true exposes XML Schema normalized values in the
DOM. The outcome of setting the "namespaces" to
false is implementation dependent (likely to be
an error).
|
11false |
11true |
11
If XML Schema is found, validate against the schema.
|
11
"http://www.w3.org/2001/XMLSchema" or
"http://www.w3.org/TR/REC-xml"
|
11false |
11false |
11DTD or XML Schema or both |
11
If XML Schema is found, it is ignored. DOM implementations
may use information
available in the DTD to perform entity
resolution.
|
11
Setting the "datatype-normalization"
to true of false has no effect on
the DOM.
|