[hibernate-dev] Trunk error in org.hibernate.test.mappingexception.MappingExceptionTest
Scott Marlow
smarlow at redhat.com
Thu Nov 12 22:34:43 EST 2009
Is anyone else seeing this test failure on trunk?
<testcase
classname="org.hibernate.test.mappingexception.MappingExceptionTest"
time="0.008" name="testInvalidMapping">
<error type="org.hibernate.MappingException" message="invalid
mapping">org.hibernate.MappingException: invalid mapping
at
org.hibernate.cfg.Configuration.addCacheableFile(Configuration.java:465)
at
org.hibernate.cfg.Configuration.addCacheableFile(Configuration.java:519)
at
org.hibernate.test.mappingexception.MappingExceptionTest.testInvalidMapping(MappingExceptionTest.java:148)
Caused by: org.dom4j.DocumentException: Error on line 4 of document
file:///tmp/TempInvalidMapping1648359301357902517.hbm.xml : Content is
not allowed in prolog. Nested exception: Content is not allowed in prolog.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at
org.hibernate.cfg.Configuration.addCacheableFile(Configuration.java:446)
... 28 more
</error>
</testcase>
More information about the hibernate-dev
mailing list