Rico Cruz wrote:
> 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?
No. See
http://weblogs.java.net/blog/kohsuke/archive/2005/05/compiling_mathm_1.html
I improved the error message to point to this.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com