2.10.2.1 XML Parser Control
There are two ways to turn on/off caching for the Xerces-C++ parser:
- Administratively by using two environment variables named
URLENTITYCACHINGandURLENTITYCACHEDIR - Programmatically by using four ATMI functions that specify particular Xerces parser class methods:
-
getURLEntityCaching() -
setURLEntityCaching() -
getURLEntityCacheDir() -
setURLEntityCacheDir()
Note:
These four methods are Oracle Tuxedo enhancements to the Apache Xerces-C++ parser. They are used exclusively in conjunction with the following two Xerces objects :-
XercesDOMParser -
SAXParser
-
Parent topic: About the Apache Xerces C++ Parser