Hi, all,
 
Please kindly feedback your thought and comment:
 
The way I understand OJB inheritance is: 
 
If I have a base class A and B extends A, what I have to do is:
 
- Put the class "A" description in repository.xml
- put <extent-class class-ref="B" /> in class A's class-descriptor
- (of course) a source file B which extend A
 
 
However my program does not work and it gives me these messages:
 
[Error] repository_gl.xml:172:20: The content of element type
"class-descriptor" must match
"((documentation?,extent-class+,attribute*)|(document
ation?,extent-class*,field-descriptor+,reference-descriptor*,collection-desc
riptor*,attribute*))".
[Error] repository_gl.xml:177:14: The content of element type
"class-descriptor" is incomplete, it must match
"((documentation?,extent-class+,att
ribute*)|(documentation?,extent-class*,field-descriptor+,reference-descripto
r*,collection-descriptor*,attribute*))".

 
Is there any mistake in term of my understanding of the implementation?
 
 
Regards,
 
 
Anthony
 

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

Reply via email to