[hibernate-dev] Trunk error in org.hibernate.test.mappingexception.MappingExceptionTest

Steve Ebersole steve at hibernate.org
Thu Nov 12 23:27:21 EST 2009


My fault.  Committed fix.

On Thu, 2009-11-12 at 22:34 -0500, Scott Marlow wrote:
> 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>
> 
> 
> 
> 
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
-- 
Steve Ebersole <steve at hibernate.org>
Hibernate.org




More information about the hibernate-dev mailing list