Skip to Content
Former Member
Nov 24, 2005 at 06:41 AM

Can I don't use sapxmltoolkit for xml parsing?



I have a J2EE application with Struts frontend. I

I have successfully deployed and run without problem on SAP WebAS 6.40 (Slim Edition). However, when I tried to deploy and run the same application on the Java Edition that comes with EP, there is a "Provider not found" error due to missing reference to the sapxmltoolkit library. I added the reference to the sapxmltoolkit library in my application and that resolves the error but my frontend still does not display correctly.

My application EAR already contains the Xerces parser library and I would like to stick to that but I saw that

system properties for javax.xml.parsers.DocumentBuilderFactory has been set to

How can I make my application use the xerces parser without hardcoding the use of xerces parser implementation in my code?