I'm seeing two different elements defined in related schemas, and
comparing the code generated from that schema. Both elements are
defined with 'type="xs:boolean"'. Neither of them have a "minOccurs" or
"default" attribute. One of them is generated in the Java code as
"Boolean", and the other "boolean". Why would xjc make one property
"Boolean" and the other "boolean"?
The schema excerpt that produces "Boolean" is this:
<xs:sequence>
<xs:choice>
<xs:element maxOccurs="unbounded" name="ListOfStuff"
type="tns:ListItemType">
</xs:element>
<xs:sequence>
<xs:element name="isFlag" type="xs:boolean">
</xs:element>
The schema excerpt that produces "boolean" is this:
<xs:complexType>
<xs:sequence>
<xs:element name="isFlag" type="xs:boolean">
</xs:element>
The latter complexType is defined inside another one, so the resulting
code is defined inside a static inner class, where the outer class
defines the outer complex type.