I tried to export a Data Model using ERWIN into a XSD File. Now I am trying to convert the XSD file into C# Classes using XSD.exe from VS2005. It failed giving me this message:
Schema validation warning: Invalid 'name' attribute value '10XXR_identifier': 'The '1' character, hexadecimal value 0x31, at posit ion 0 within the name, cannot be included in a name.'. Line 210, position 2. Schema validation warning: Invalid 'name' attribute value '10XXR_status_identifier': 'The '1' character, hexadecimal value 0x31, a t position 0 within the name, cannot be included in a name.'. Line 245, position 2. Schema validation warning: Invalid 'name' attribute value '10XXR_status_identifier': 'The '1' character, hexadecimal value 0x31, a t position 0 within the name, cannot be included in a name.'. Line 299, position 2. Schema validation warning: Invalid 'name' attribute value '10XXR_type_identifier': 'The '1' character, hexadecimal value 0x31, at position 0 within the name, cannot be included in a name.'. Line 333, position 2.
Warning: Schema could not be validated. Class generation may fail or may produce incorrect results.
Error: Error generating classes for schema 'MPAS1'. - Schema with targetNamespace='' has invalid syntax. Invalid 'name' attribute value '1099R_identifier': 'The '1' character, hexa decimal value 0x31, at position 0 within the name, cannot be included in a name.'. Line 210, position 2. - Invalid 'name' attribute value '1099R_identifier': 'The '1' character, hexadecimal value 0x31, at position 0 within the name, cannot be included in a name.'.
Might be I didn't really pay attention while exporting the Data Model but, did I do something wrong while importing the Data Model My main motto is convert a existing Data Model into .NET Classes, integrated with all relations and preconditions as defined in the Data Model.
Any suggestions, or comments
.NET Development33
|