You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently generation classes for schema files, which often are not valid schema files themself. It would be nice, if the tool could report the line number, on which an exception was raised, when the schema file could not be read. An error message like The 'http://www.w3.org/2001/XMLSchema:element' element is not supported in this context. is not pretty helpful on itself.
I assume you are using System.Xml.XmlSchema.Read() at some point to read the schema file. The error handler of that function already reports the line number, if applicable.
The text was updated successfully, but these errors were encountered:
I'm currently generation classes for schema files, which often are not valid schema files themself. It would be nice, if the tool could report the line number, on which an exception was raised, when the schema file could not be read. An error message like
The 'http://www.w3.org/2001/XMLSchema:element' element is not supported in this context.
is not pretty helpful on itself.I assume you are using
System.Xml.XmlSchema.Read()
at some point to read the schema file. The error handler of that function already reports the line number, if applicable.The text was updated successfully, but these errors were encountered: