Hi Malachi,
Section 5.9.10.1 of the spec defines "getContent" as one of the methods
in the choice property. I believe the name of your base type ("content")
conflicts with that binding, but leave it to others to explain why (or
correct my mistake).
Regards,
--
Ed Mooney |Sun Microsystems, Inc.|Time flies like
Java Web Services |UBUR02-201 |an arrow, but
Ed.Mooney_at_Sun.COM |1 Network Drive |fruit flies like
781-442-0459 |Burlington, MA 01803 |a banana. Groucho
Malachi de AElfweald wrote:
> On Thu, 27 Mar 2003 10:18:22 -0500, Ed Mooney <Ed.Mooney_at_Sun.COM> wrote:
>
>
>>You're seeing name collisions that you can resolve by giving the content
>>property for your base type a different name. You can do that using the
>>enclosed external binding file:
>>
>> xjc -b dynarray.xjb dynarray.xsd
>>
>><jaxb:bindings xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> version="1.0">
>> <jaxb:bindings schemaLocation="dynarray.xsd" node="/xsd:schema">
>> <jaxb:bindings node="./xsd:complexType[@name='content']">
>> <jaxb:property name="base"/>
>> </jaxb:bindings>
>> </jaxb:bindings>
>></jaxb:bindings>
>>
>
> My apologies. I misunderstood. Searching the archives, I realized you attached the xjb to the end of the file. That did fix the problem, thank you. BTW: Can you explain to me why this fixed the problem?
>
> Thanks again,
> Malachi