-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: ERROR Configuration - dom4j Exception -while mapping
PostPosted: Thu Dec 01, 2005 2:44 am 
Newbie

Joined: Thu Dec 01, 2005 2:31 am
Posts: 3
Hi all,
I got the following error. and do not know how to proceed.



11:50:14,185 INFO Configuration:332 - Mapping resource: persistance/MyCompany.h
bm.xml
11:50:14,216 ERROR XMLHelper:48 - Error parsing XML: XML InputStream(2) The proc
essing instruction target matching "[xX][mM][lL]" is not allowed.
11:50:14,216 ERROR Configuration:296 - Could not configure datastore from input
stream
org.dom4j.DocumentException: Error on line 2 of document : The processing instr
uction target matching "[xX][mM][lL]" is not allowed. Nested exception: The proc
essing instruction target matching "[xX][mM][lL]" is not allowed.
at org.dom4j.io.SAXReader.read(SAXReader.java:355)
at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:
287)
at net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:337
)
at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:102
7)
at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:983
)
at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:911)
at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:897)
at HibernatePOJO.update(HibernatePOJO.java:163)
at HibernatePOJO.main(HibernatePOJO.java:204)
Nested exception:
org.xml.sax.SAXParseException: The processing instruction target matching "[xX][
mM][lL]" is not allowed.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:339)
at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:
287)


any idea?


regards,
Basha


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 01, 2005 3:26 am 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
your going to get in trouble if you keep double posting.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.