C# Classes from ids.xsd

Hi
i’m trying to generate C# classes with Visual Studio’s Xsd.exe utility, but an error is generated at line 43 position 4, Element ‘http://www.w3.org/2001/XMLSchema:restriction’ missing.
Furthermore, a namespace is declared that refers to a commercial tool (xmlns:altova=“XML Editor: XMLSpy | Altova”), would it be possible to remove it in the public document?

Thanks in advance
RV