A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
XML and Related Technologies
How to use JExamXML with Crimson
Joined: Jun 12, 2006
Nov 02, 2007 13:47:00
A7Soft JExamXML (
) uses XML parser Xerces. I want to use it with another XML parser.
(Crimson for instance) Can anybody help me.
Joined: Oct 14, 2005
Nov 02, 2007 14:12:00
The standard way to affect what parser is used is to specify a system property and its value. If you want to have a particular DOM parser used, then you find the name of the
class that creates that parser (fully qualified class name of course) and assign its name to the
system property. Or if it's a SAX parser you want used, then you find the name of your
and assign that name to the
Of course it's possible your package might prevent this from working by hard-coding the Xerces parser class into their code. In that case there is nothing you can do except to get the code changed.
It is sorta covered in the
JavaRanch Style Guide
subject: How to use JExamXML with Crimson
How to parse 100mb xml file
parsing and displaying xml data - options?
issue with jdk1.5 + tomcat 5
Using SAXON for xslt versus JDK 1.4/Jaxp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014