Upps, sorry!!This is in english
**
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 2.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
<hibernate-mapping package="rows">
<meta attribute = "class-description">
blah blah
</meta>
<class name = "rows.ILastUpdateAuditing">
<meta attribute = "interface">true</meta>
<property name = "lastUpdate"
column = "last_update"
type = "date"/>
</class>
</hibernate-mapping>
**
English version:
*****
[java] Processing ILastUpdateAuditing.hbm.xml...
[java] 13-feb-2004 18:15:50 net.sf.hibernate.tool.hbm2java.CodeGenerator$1 error
[java] GRAVE: Error parsing XML: file:ILastUpdateAuditing.hbm.xml(14)
[java] org.xml.sax.SAXParseException: The content of element type "class" must match "(meta*,(cache|jcs-cache)?,(id|composite-id),discriminator?,(version|timestamp)?,(property|many-to-one|one-to-one|component|dynamic-component|any|map|set|list|bag|idbag|array|primitive-array)*,(subclass*|joined-subclass*))".
[java] at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213)
[java] at org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLError(XMLValidator.java:1851)
[java] at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1495)
[java] at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1204)
[java] at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
[java] at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
[java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:354)
[java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:707)
[java] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:689)
[java] at net.sf.hibernate.tool.hbm2java.CodeGenerator.main(CodeGenerator.java:98)
[java] at RowCompiler.<init>(RowCompiler.java:29)
[java] at RowCompiler.main(RowCompiler.java:42)
[java] Processed
ILastUpdateAuditing.hbm.xml...
*****
|