metacat depends on Oracle parser, should be SAX
need to make metacata only dependant on the SAX parser, probably SAX2 for
#1 Updated by Matt Jones about 19 years ago
the current DBWriter class uses the oracle parser explicitly. See the example
in DBQuery.java to demonstarte how to use any SAX compliant parser. Still need
to configure this as a runtime parameter in the config files, but the basic
infrastructure is shown in DBQuery.
#2 Updated by Matt Jones almost 19 years ago
All of the metacat classes use the SAX2 API now for loading and parsing XML
documents. The specific parser is dynamically loaded at runtime by getting the
"saxparser" property from the metacat.properties file. This technique requires
that the appropriate jar file containing the SAX2 parser be locatable onthe
CLASSPATH or a runtime exception will occur. The only dependence on the oracle
parser left is for XSL transforms, which is treated as a seperate issue.