Hitachi

uCosminexus Application Server XML Processor User Guide


4.1 How to Use the SAX2 Features and Properties

The SAX2 standards define how to use the SAX parser's optional functions by using features and properties.

A feature or property name is a URI corresponding to an optional function of the SAX parser. The formats of the feature and property names are as follows:

[Figure]

Table 4-1 and Table 4-2 list the SAX2 features and SAX2 properties supported by Cosminexus XML Processor respectively.

Table 4‒1: SAX2 features supported by Cosminexus XML Processor

No.

Feature name

1

http://xml.org/sax/features/external-general-entitie

2

http://xml.org/sax/features/external-parameter-entities

3

http://xml.org/sax/features/namespaces

4

http://xml.org/sax/features/namespace-prefixes

5

http://xml.org/sax/features/use-attributes2

6

http://xml.org/sax/features/use-locator2

7

http://xml.org/sax/features/use-entity-resolver2

8

http://xml.org/sax/features/validation

Table 4‒2: SAX2 properties supported by Cosminexus XML Processor

No.

Property name

1

http://xml.org/sax/properties/declaration-handler

2

http://xml.org/sax/properties/lexical-handler

For the meaning of each feature and property, see the following parts in Javadoc of Simple API for XML (SAX) 2.0.2 (sax2r3):

Organization of this section