The following table gives cautionary notes on the schema validation.
Table 6-9 Notes on the schema validation
No. | Notes |
---|---|
1 | To register an entity resolver with the XML parser, you must always set a system identifier for the return value, InputSource, of the resolveEntity method of the entity resolver. If you do not set the system identifier, resolution of the location of the schema document specified by xsd:import or xsd:include might fail, resulting in an error. |