uCosminexus Application Server, XML Processor User Guide
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:
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):
To set a SAX2 feature, use the setFeature method of the org.sax.xml.XMLReader class. How to set a feature is shown below:
To set a SAX2 property, use the setProperty method of the org.sax.xml.XMLReader class. How to set a property is shown below.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.