On Jun 29, 2004, at 6:36 AM, Andrew Ferguson wrote:
> also I'm a little confused by the schema snippet you posted - the XML
> Primer says you must duplicate the content from the base in the derived
> definition (unlike how java inheritance is declared) - which from my
> reading would mean that Employee would need to declare both "name" and
> "title". although this is all new to me (but I would like to
> understand..)
it's just a minor point, bu just to clarify, mr. munz uses
<xsd:complexContent><xsd:extension>..., which effectively does what the
Primer says -- it's an implicit inclusion of whatever the base is as
specified in the <xsd:extension>.
jon
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net