IOW, how do I do this:
Snoopy.xml:
<dog name="Snoopy"><!-- dog elements --></dog>
Felix.xml:
<cat name="Felix"><!-- cat elements --></cat>
And get
interface Dog extends Animal
interface Cat extends Animal
Animal implements get/setName()
?
Thanks,
Gary
-----Original Message-----
From: Gary Gregory
Sent: Thursday, June 05, 2003 16:13
To: 'Discussion list for the Java Architecture for XML Binding'
Subject: Still no Substitution group support?
Hello,
>>From the 1.0 spec:
"Substitution group
Any XML Schema concepts indicating that substitution group support is
a necessary component of the schema should be reported as an error."
When will Substitution group be supported?
Is my only alternative is to use a vendor extension to specify a common
supertype?
Thanks,
Gary