Hello, All!
It seems the bug
(http://groups.google.com/groups?hl=r...3b01c28a00%242
08bc860%2439ef2 ecf%40TKMSFTNGX A08&rnum=8&prev =/groups%3Fq%3Dsc hemaLocation%2
BXmlSchema%2B.N ET%26hl%3Dru%26 lr%3D%26ie%3DUT F-8%26selm%3Da53b 01c28a00%25242
08bc860%252439e f2ecf%2540TKMSF TNGXA08%26rnum% 3D8) wasn't fixed neither in
v1.1 nor in v2.0.
Here is exception
Unhandled Exception: System.Xml.Sche ma.XmlSchemaExc eption: Cannot resolve
schema Location attribute.
at Modile1.Validat ionSchemaCallBa ck(Object sender, ValidationEvent Args e)
at System.Xml.Sche ma.BaseProcesso r.SendValidatio nEvent(XmlSchem aException
e, XmlSeverityType severity)
at System.Xml.Sche ma.SchemaCollec tionPreprocesso r.LoadExternals (XmlSchema
schema, XmlSchemaCollec tion xsc)
at System.Xml.Sche ma.SchemaCollec tionPreprocesso r.Execute(XmlSc hema
schema, String targetNamespace , Boolean loadExternals, XmlSchemaCollec tion
xsc)
at System.Xml.Sche ma.XmlSchema.Co mpileSchema(Xml SchemaCollectio n xsc,
XmlResolver resolver, SchemaInfo schemaInfo, String ns,
ValidationEvent Handler validationEvent Handler, XmlNameTable nameTable,
Boolean CompileContentM odel)
at System.Xml.Sche ma.XmlSchema.Co mpile(Validatio nEventHandler
validationEvent Handler)
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.