Bug #15
closed
metacat depends on Oracle parser, should be SAX
Added by Matt Jones almost 24 years ago.
Updated about 22 years ago.
Description
need to make metacata only dependant on the SAX parser, probably SAX2 for
namespace support.
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.
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.
Original Bugzilla ID was 15
Also available in: Atom
PDF