Howdy,
I'm using dom4j (1.5 rc1) with the pull parser in my app to do some
soap processing.  Hibernate also uses dom4j to process its
configuration file.  As soon as I dropped in the pull parser and stax
jars, it appears that hibernate configuration processing stopped
working, because it can't find a validating parser...

Warning: Caught exception attempting to use SAX to load a SAX XMLReader
Warning: Exception was: org.xml.sax.SAXException: System property
org.xml.sax.driver not specified
Warning: I will print the stack trace then carry on using the default SAX parser

and

11:36:59,812 ERROR Configuration:934 - problem parsing
configuration/wasabi/hibernate.cfg.xml
org.dom4j.DocumentException: Validation not supported for XMLReader:
[EMAIL PROTECTED] Nested exception:
http://xml.org/sax/features/validation Nested exception: Validation
not supported for XMLReader: [EMAIL PROTECTED]
Nested exception: http://xml.org/sax/features/validation
   at org.dom4j.io.SAXReader.read(SAXReader.java:355)
   at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:930)

Specifying the SAX driver is sort of a pain, but it does appear to
work.  But, I'm curious as to what is happening here.  I'm using java
1.4.2 so it should have a validating parser and dom4j should be able
to find it automatically, no?
- Dan


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to