Hello, All!
It seems the bug
(http://groups.google.com/groups?hl=r...3b01c28a00%242
08bc860%2439ef2ecf%40TKMSFTNGXA08&rnum=8&prev=/groups%3Fq%3DschemaLocation%2
BXmlSchema%2B.NET%26hl%3Dru%26lr%3D%26ie%3DUTF-8%26selm%3Da53b01c28a00%25242
08bc860%252439ef2ecf%2540TKMSFTNGXA08%26rnum%3D8) wasn't fixed neither in
v1.1 nor in v2.0.
Here is exception
Unhandled Exception: System.Xml.Schema.XmlSchemaException: Cannot resolve
schema Location attribute.
at Modile1.ValidationSchemaCallBack(Object sender, ValidationEventArgs e)
at System.Xml.Schema.BaseProcessor.SendValidationEven t(XmlSchemaException
e, XmlSeverityType severity)
at System.Xml.Schema.SchemaCollectionPreprocessor.Loa dExternals(XmlSchema
schema, XmlSchemaCollection xsc)
at System.Xml.Schema.SchemaCollectionPreprocessor.Exe cute(XmlSchema
schema, String targetNamespace, Boolean loadExternals, XmlSchemaCollection
xsc)
at System.Xml.Schema.XmlSchema.CompileSchema(XmlSchem aCollection xsc,
XmlResolver resolver, SchemaInfo schemaInfo, String ns,
ValidationEventHandler validationEventHandler, XmlNameTable nameTable,
Boolean CompileContentModel)
at System.Xml.Schema.XmlSchema.Compile(ValidationEven tHandler
validationEventHandler)
Moreover, new XmlSchemaSet class, i'm afraid, have the same bug. I must
explicitly add all included schemas via Add method to get it work.
What i want is automatic addition all included schemas into the schema set.
With best regards, Alex Shirshov.