Hi,
I know my question is very basic, but i just need some clarifiactions.
 
I am using jdk1.4 and xerces2.2.1
As xerces bundled with jdk1.4, I don't want to use that. So i have put xercesImpl.jar file in the classpath, and then use the following factory method to get the xerces parser reference.
 
DocumentBuilderFactory dbFactory =   
                DocumentBuilderFactory.newInstance();
DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();
 
xercesImpl.jar has javax.xml.parsers.DocumentBuilderFactory.properties set to org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
 
I am wondering why jaxp is added in the package structure. Isn't it xerces parser only and not jaxp?
Should I set it to some other value for xerces parser or is this the correct behavious?
 
Any help will be appreciated.
 
Regards,
Peter


Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

Reply via email to