users@jaxb.java.net

trying to unmarshal class from xsd

From: <oblio.leitch_at_gmail.com>
Date: Fri, 28 Jan 2011 15:52:52 +0000 (GMT)

I have a simple schema that defines node:
        <xs:simpleType name="noYesDeclinedBlankType">
                <xs:restriction base="xs:string">
                        <xs:whiteSpace value="collapse"/>
                        <xs:enumeration value="no"/>
                        <xs:enumeration value="yes"/>
                        <xs:enumeration value="declined"/>
                        <xs:enumeration value=""/>
                </xs:restriction>
        </xs:simpleType>

JAXB will not create a class from this. However, if I remove the last
enumeration node, it creates it with no trouble. Is this a bug?