[jdom-interest] How to find out which parser is being used
dak at dotech.com
Tue Dec 10 23:39:53 PST 2002
Sort of. The VM will find its own parser before one you put in the
classpath, or in the ext directory, but you can use the "endorsed
standards override" mechanism to replace the parser. Look in the jdk1.4
docs for the specifics. Certain APIs can have their implementation
replaced. One of these is the XML parser. You pretty much create a
directory under "jre/lib" called "endorsed" and put your jar there.
On 12/11/2002 3:09 AM, Christian Peter wrote:
> so I take it that the parser which is first in the classpath is used?
> Thanks for the answer,
> David Kavanagh wrote:
>> Should be able to set the system property:
>> to something like
>> org.apache.crimson.parser.XMLReaderImpl - for the crimson parser
>> You can assume that with JDK1.4 and greater, crimson is being used by
>> default. You could replace it by setting the above property.
>> On 12/10/2002 3:34 AM, Christian Peter wrote:
>>> Hi all,
>>> when using DOMBuilder, is there a way to check which parser is being
>>> used? And is it possible to explicitely set the parser which should
>>> be used?
>>> To control your jdom-interest membership:
> To control your jdom-interest membership:
More information about the jdom-interest