Bug #15
closedmetacat depends on Oracle parser, should be SAX
0%
Description
need to make metacata only dependant on the SAX parser, probably SAX2 for
namespace support.
Updated by Matt Jones over 24 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.
Updated by Matt Jones over 24 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.