Upgrading from sun's parser to xerces parser
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mehjabin_Kapasi
Posted On:   Wednesday, February 27, 2002 01:10 PM

Re: Upgrading from sun's parser to xerces parser

Posted By:   radu_pienar  
Posted On:   Friday, March 1, 2002 05:12 AM

try to start jvm using this(modified) parameters (in this case it works with apache's crimson parser)

in fact, you have to set javax.xml.parsers.DocumentBuilderFactory system property to value you want like the example below



it might work





this one is for DOM parsers





-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl





this one is for SAX parsers





-Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactoryImpl





if you want, tell me please if it works for you

About | Sitemap | Contact