A
Alan Silver
Hello,
I am using a DataSet to retrieve some data, but have noticed that the
error window has 75 errors, all of which refer to the .xsd file that
VS2005 generated for me.
My guess is that most of the errors are caused by VS not knowing the
scheme of the file. That would (I think) explain the large number of
errors like...
The 'SchemaSerializationMode' attribute is not declared
Where 'SchemaSerializationMode' is one of a number of attributes that
appear in the errors.
There are also quite a lot of errors like...
The element cannot contain white space. Content model is empty
No idea what that means!!
Lower down the list are loads of warnings, all of which follow the same
pattern as this one...
Could not find schema information for the attribute
'urn:schemas-microsoft-com:xml-msdata:UseCurrentLocale'
Where the actual attribute value changes from warning to warning.
All the code works fine, I just don't like all these errors and
warnings. Apart form anything else, having this many of them makes it
hard to find real errors when they occur.
Anyone any ideas? I searched but couldn't find. TIA
I am using a DataSet to retrieve some data, but have noticed that the
error window has 75 errors, all of which refer to the .xsd file that
VS2005 generated for me.
My guess is that most of the errors are caused by VS not knowing the
scheme of the file. That would (I think) explain the large number of
errors like...
The 'SchemaSerializationMode' attribute is not declared
Where 'SchemaSerializationMode' is one of a number of attributes that
appear in the errors.
There are also quite a lot of errors like...
The element cannot contain white space. Content model is empty
No idea what that means!!
Lower down the list are loads of warnings, all of which follow the same
pattern as this one...
Could not find schema information for the attribute
'urn:schemas-microsoft-com:xml-msdata:UseCurrentLocale'
Where the actual attribute value changes from warning to warning.
All the code works fine, I just don't like all these errors and
warnings. Apart form anything else, having this many of them makes it
hard to find real errors when they occur.
Anyone any ideas? I searched but couldn't find. TIA