I will appreciate any quick help on this:
I am trying to use xsd.exe to generate classes for a standard schema. I do not have any choice to modify the schemas. So if the tool has to work, it has to work on the existing schemas.
As I tried the following command line
xsd /c liberty-metadata-v1.1.xsd
I got the following warnings and errors:
Microsoft (R) Xml Schemas/DataTypes support utility
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
Copyright (C) Microsoft Corporation. All rights reserved.
Schema validation warning: The 'http://www.w3.org/2000/09/xmldsig#ignature' el
ement is not declared. Line 226, position 8.
Schema validation warning: The 'http://www.w3.org/2000/09/xmldsig#ignature' el
ement is not declared. Line 137, position 8.
Schema validation warning: The 'http://www.w3.org/2000/09/xmldsig#ignature' el
ement is not declared. Line 178, position 8.
Schema validation warning: The 'http://www.w3.org/2000/09/xmldsig#:KeyInfo' elem
ent is not declared. Line 154, position 8.
Warning: Schema could not be validated. Class generation may fail or may produce
incorrect results.
Error: Error generating classes for schema 'liberty-metadata-v1_1'.
- The element 'http://www.w3.org/2000/09/xmldsig#:KeyInfo' is missing.
If you would like more help, please type "xsd / ".
I will look forward to any clues.
The schema can be downloaded from: