Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

parsing hibernate hbm.xml file. IOException

843834Oct 30 2006 — edited Oct 31 2006
Hi,

I'm trying to parse a hibernate config file (hbm.xml) with SAX.
I'm using a SAXbuilder and its build method:
SAXBuilder builder = new SAXBuilder();
Document doc = builder.build(myFil);
I have an error executing this line:
"IOException hibernate.sourceforge.net"

The header of the XML file is the folowing:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
If anyone could help me...
thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 28 2006
Added on Oct 30 2006
1 comment
362 views