Hello,

I have 2 projects, say Project A, Project B.

For running the Project A I must use Xerces DOM Parser and
for Project B I need Crimsion DOM Parser.
I am using Websphere VisualAge4.0.

I used the following code  for instatiating DOM Parser in Project A:
 javax.xml.parsers.DocumentBuilderFactory  dbf =
DocumentBuilderFactory.newInstance();

When Project A alone is in the Websphere Environment classpath, it takes
Xerces Parser and everything is O.K.
But when I included both Projects in the Websphere Environment
classpath, it alwaya takes Crimsion. So, I couldn't execute my Project A
application.

Anybody have any ideas how the "DocumentBuilderFactory.newInstance()"
determines which parser to select when more than one parsers exists in
the Websphere Environment..?

Thanks in Advance,
Shankar

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to