Hi I have a document with an external entity: <?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd"; [ <!ENTITY Contingency SYSTEM "components/hsos.contingency.persistence.Contingency.xml"> ] > So "components/" is a sub directory in the same directory this document is located in. According to RFC 2396 the base URI for the relative path for the external entity should fall back to the location of this document. This works fine validating the doucment with xmllint but when using dom4j/xerces it always tries to use "." as the base URI. How can this behaviour be changed/corrected? PS. I noticed that "." get"s resolved, when I add some logging to Hibernate"s EntityResolver implementation I see the following: [schemaexport] [main] WARN [] <> - publicId [null] systemId is: file:///develop/newcvstest/handson/components/hsos.contingency.persistence.Contingency.xml Thank you Peter --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]