Title: Attribute named 'content' causes problem

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

Reply via email to