Definitively yes. Is there any one to fix this? Bao
On Mon, Sep 8, 2008 at 10:39 AM, Werner Guttmann <[EMAIL PROTECTED]>wrote: > Actually, on line 1028ff of SchemaWriter, Group.getOrder() is called. By > looking into the implementation of Group.getOrder(), I think it becomes > quite clear as to why this problem occurs at all. > > Problem is, I would not know a single reason as to why there needs to be > that special handling of a group that contains just one group. > > Werner > > Le Duc Bao wrote: > > Hello, > > > > I used Schema API to create XML schema instance. I tried to create a > group > > as sequence and a sub-group as choice (see .java file). The generated > schema > > contains both groups as choice (see .xsd file). Is this a bug of schema > API? > > Does it relate to ModelGroup class? If yes, how can we use them? > > > > Regards, > > > > > > ------------------------------------------------------------------------ > > > > --------------------------------------------------------------------- > > To unsubscribe from this list, please visit: > > > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > -- Le Duc Bao