Link to home
Start Free TrialLog in
Avatar of axnst2
axnst2Flag for United States of America

asked on

schema xmlns='http //www.w3.org/2001/xmlschema' was not expected

Hi Experts,

      I am trying to create a C# class from an XSD using XSD.exe (VS2015) and I am getting the below error:

'schema xmlns='http //www.w3.org/2001/xmlschema' was not expected'

   Here's what I am using:

     xsd /classes /language:cs /out:C:\Classes /parameters:C:\ED_Address.xsd

Attached is the XSD.  Any help would be great!
ED_Address.xsd
Avatar of axnst2
axnst2
Flag of United States of America image

ASKER

Is there anyone out there??
ASKER CERTIFIED SOLUTION
Avatar of Daniel Van Der Werken
Daniel Van Der Werken
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of axnst2

ASKER

I just had to change my command line arguments per your answer to:

xsd C:\ED_Address.xsd /classes /language:cs /out:C:\Classes

Thank you!!!!!