Tino Sch�llhorn wrote:

Hi,

unfortunately I still have one problem:

I use a xml-parser to pre-validate the repository.xml-file. This Parser now complains that field-descriptors cannot be used when using extent. I checked that with the DTD and I think it is correct:

<!ELEMENT class-descriptor
    ((documentation?, extent-class+, attribute*) |
    (documentation?, object-cache?, extent-class*, field-descriptor+,
     reference-descriptor*, collection-descriptor*,
     index-descriptor*, attribute*,
     insert-procedure?, update-procedure?, delete-procedure?))>

But the thing is: OJB works correctly. So what do I do now? Should I ignore this warning? Or do I have to create a not-persistent abstract
superclass?

I think, your XML parser is in error here (it probably matches the first branch as soon as it sees the extent-class) because extent-class + field-descriptor is definitely allowed (second branch). If I'm not mistaken, OJB also uses the XML parser with validation turned on, so you should not have to validate the repository.xml file, anyway.


Tom


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to