This is not really a JAXB question. It's a schema question. So you have
to find the right place for that.
That said,
<element name="smil" type="smil20lang:smilType" substitutionGroup="smil20lang:smil"/>
an element declaration can't have itself in @subsctitutionGroup.
regards,
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net