I have added a component to a composite element in my hibernate mapping file and the dtd does not support this. Is it ok to modify the dtd to support? If not, why isn't it supported.
The strange thing is that my schemaupdate will complain:
org.xml.sax.SAXParseException: The content of element type "composite-element" must match "(parent?,(property|many-to-one|nested-composite-element)*)".
but still create me the structure for my database and I can insert, update, retrieve from the component columns with no problems.
Any help would be much appreciated,
Thank you in advance,
Scott Buckham
|