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
|