Hitachi

uCosminexus Application Server XML Processor User Guide


3.3.2 Processing of the schema cache functionality

The schema cache functionality includes the following for operating a schema cache:

The following figure shows the processing of the schema cache functionality.

Figure 3‒1: Processing of the schema cache functionality

[Figure]

Conventional schema validation parses a schema document during validation and creates grammar objects even when the same schema is used for each validation; however, if you use the schema cache functionality, already existing grammar objects are reused to reduce the overhead of schema document parsing.

The following figure shows an example where one schema document is used to validate multiple instance documents. The example shows the differences in the process when using the schema cache functionality with a cache and when using the conventional process scheme validation without a cache:

Figure 3‒2: Difference in the process of schema validation using the schema cache functionality and the process of past schema validation

[Figure]