Yes, creating instances of elements rather than types solves the problem,
but I had to modify the schema to allow the <enumset> and <ruleset> as root
elements of a document, otherwise jaxb don't generate the methods to create
instance of elements.
"Robert Lowe" <rmlowe_at_rmlowe.com> wrote on 08/14/2003 11:01:41 PM:
> > I tried to add derived types to its container (FilesetsType) by
> creating new object with createEnumsetType() and createRulesetType().
>
> Should you be creating instances of the elements (i.e.
> createEnumset() and createRuleset()) rather than the types (i.e.
> createEnumsetType() and createRulesetType())?
>
> - Rob
>