Title: weirdness with soap-envelope
Hi,
 
I have checked the archives but haven't found a match, which isn't to say it isn't there (I find the archive search lacking somewhat !!), anwyay excuse me if this is an old/repeated question.
 
I am working with an XML Schema that I didn't author and can't change and it has *many* top-level complexTypes and elements of the same name
 
e.g.
<xsd:complexType name="dogbert">
<xsd:complexContent>
<xsd:extension base="tns:base"> 
<xsd:attribute name="name" type="xsd:NCName" use="optional"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType> 
 
<xsd:element name="dogbert" type="tns:dogbert" abstract="true" / > 
 
 
Now understandably I get a problem with the generated code
 
public class Dogbert extends Dogbert
{
...
}
Is there any way I can avoid this that doesn't involve changing the XML Schema ?
 
Thanks,
Matthew

Reply via email to