users@jaxb.java.net

xsd:element and xsd:attribute with same name

From: Rico Cruz <Roderico.Cruz_at_Sun.COM>
Date: Fri, 25 Aug 2006 21:08:45 -0700

In one of the OTA schemas (OTA_TravelItinerary.xsd, attached), an
xsd:element and an xsd:attribute has the same name
("BookingReferenceID", see lines 5040 and 5046. The jaxb compiler fails
on this, giving the error: "[ERROR] Property "BookingReferenceID" is
already defined."

Is this a known bug?

Thanks.
Rico Cruz