Joined: Tue Nov 11, 2003 5:25 pm Posts: 17 Location: Milwaukee, Wi
|
The addition of a version tag seems to have caused some errors in my Hibernate mappings (Hibernate v2.0.3). Is this correct?
<version
name="updateSequence"
column="UPDATE_SEQUENCE"
type="long">
</version>
Any help would be appreciated. I am currently getting the error below:
15:20:08,255 ERROR XMLHelper:37 - Error parsing XML: XML InputStream(97)
org.xml.sax.SAXParseException: The content of element type "version" must match "EMPTY".
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213)
at org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLError(XMLValidator.java:1851)
at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1490)
at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1204)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at org.dom4j.io.SAXReader.read(SAXReader.java:339)
at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:252)
at net.sf.hibernate.cfg.Configuration.addClass(Configuration.java:286)
|
|