Hi,
I'm using JAXP for XML parsing with the default
parser provided by SUN. Here is an excerpt from
an article which explains how different parser
implementations can be used by changing the
java system property.
"The implementation of the SAXParserFactory interface to be used can be changed by setting
the Java system property javax.xml.parsers.SAXParserFactory. If this property isn't defined, then the default
implementation (whatever parser your vendor specified) is returned. The same principle applies for the
DocumentBuilderFactory implementation you use. In this case, the
javax.xml.parsers.DocumentBuilderFactory system property is queried. "
Can anybody please explain how can i change this java system
property . One more thing , I've been able to use jclark
parser with JAXP by just including it in classpath
while copiling but this java system prerty thing is
confusing....somebody please explain.
------------------
max