I downloaded the XML Schema for XML Schemas at http://www.w3.org/2001/XMLSchema.xsd.
I then used XSD.EXE to create a class from the downloaded file. I called the class schema.cs
.
I then executed this line of code:
XmlSerializer serializer = new XmlSerializer(typeof(schema));
and got this error:
The XML element 'annotation' from namespace 'http://www.w3.org/2001/XMLSchema' is already present in the current scope.
How do I find the duplicate element and fix it, without breaking the schema?