Hi Mike,
You'll need to use a binding file to rename the field.
--Keith
> "Super, Mike" wrote:
>
> Hello,
>
> I'm running the SourceGenerator on an XML file that unfortunately
> has an attribute named 'content':
>
> <xsd:element name="OrganizationId">
> <xsd:complexType>
> <xsd:simpleContent>
> <xsd:extension base="xsd:string">
> <xsd:attribute name="content" type="xsd:string"
> use="optional"/>
> </xsd:extension>
> </xsd:simpleContent>
> </xsd:complexType>
> </xsd:element>
>
> This produces the following exception:
>
> Exception in thread "main" java.lang.IllegalArgumentException:
> duplicate name found: _content
>
> Is there any way around this short of renaming the attribute?
>
> Mike
>
> ___________________________
> Michael Super
> Fidelity Employer Services Co
> [EMAIL PROTECTED]
> (603) 791-7409
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev