----- Original Message ----- From: "WAKHARE,TUSHAR (Non-HP-Singapore,ex5)" <[EMAIL PROTECTED]> > Hi James, > > I have downloaded dom4j parser version 1.0 to use. I am using SAXParser of > it to parse the xml document. But when I started executing the program I am > getting warning message quoting that > "Warning: Error occurred using JAXP to load a SAXParser. Will use Aelfred > insted". > > I have the latest crimson.jar and xerces.jar in the classpath. > > Can you please tell me what is the possible reason for this warning > message. > I am running this on HP-UX. > NOTE: Please do a "Reply All".
dom4j will try to use JAXP to create a SAX parser. If JAXP is on the classpath but for some reason JAXP cannot be used a warning is output (the one you've just seen). This generally means that either an old JAXP is on the classpath (e.g. JAXP 1.0 which doesn't support namespaces) or something wierd is going on. If you look at the Javadoc for SAXReader... http://dom4j.org/apidocs/org/dom4j/io/SAXReader.html it describes how you can turn on more verbose error reporting with the org.dom4j.verbose system property to find out exactly what the error is. James _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user
