Problem with tree schema

2007-09-06 Thread Ole Laurisch
Hello, I have a problem when I try to generate a jar for an xml schema which is organized like a tree. To make clear what I mean I post two examples: Flat xml schema: xs:schema attributeFormDefault=unqualified elementFormDefault=qualified targetNamespace=http://someurl.org;

Re: Problem with tree schema

2007-09-06 Thread Jacob Danner
Hi Ole, What you are seeing is expected behavior for XMLBeans. The classes are generated this way because of the schema design pattern you are using. In your Tree xsd you are using the russian doll pattern while in your flat file xsd you are using the salami slice pattern. Here is some additional