Still trying to get SourceGenerator working properly. Thanks for the help so far.

Currently, SourceGenerator throws a null pointer exception (AttributeDecl.java line 152)

when the following schema is used(lots snipped for clarity). When the offending attribute,

"name=IntervalUnits" below, is removed, SourceGenerator succeeds. Can anybody shed any

light on this?

Thanks in advance,

kipz.

<xsd:attributeGroup name="BookingRequirementAG" >

<xsd:attribute name="IntervalUnits">

<xsd:annotation>

<xsd:documentation>Units of time for TimeInterval magnitude.</xsd:documentation>

</xsd:annotation>

<xsd:simpleType >

<xsd:restriction base="xsd:string">

<xsd:enumeration value="Hours"/>

<xsd:enumeration value="Days"/>

<xsd:enumeration value="Weeks"/>

<xsd:enumeration value="Months"/>

</xsd:restriction>

</xsd:simpleType>

</xsd:attribute>

<xsd:attribute name="MaximumStay" type="xsd:integer">

<xsd:annotation>

<xsd:documentation>Indicates if there is a maximum length of stay for the booking.</xsd:documentation>

</xsd:annotation>

</xsd:attribute>

Reply via email to