Author: atsushi
Date: 2006-12-11 00:55:02 -0500 (Mon, 11 Dec 2006)
New Revision: 69294
Modified:
branches/atsushi/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
branches/atsushi/mcs/class/System.Web.Services/System.Web.Services.Description/ProtocolImporter.cs
Log:
2006-12-12 Atsushi Enomoto <[EMAIL PROTECTED]>
* ProtocolImporter.cs : (ImportsEncodedNamespace) XmlSchemaExternal
could be of other types than XmlSchemaImport.
Modified:
branches/atsushi/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
===================================================================
---
branches/atsushi/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
2006-12-11 05:33:38 UTC (rev 69293)
+++
branches/atsushi/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
2006-12-11 05:55:02 UTC (rev 69294)
@@ -1,3 +1,8 @@
+2006-12-12 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * ProtocolImporter.cs : (ImportsEncodedNamespace) XmlSchemaExternal
+ could be of other types than XmlSchemaImport.
+
2006-12-04 Atsushi Enomoto <[EMAIL PROTECTED]>
* SoapProtocolImporter.cs : added trivial IsSoapEncodingPresent().
Modified:
branches/atsushi/mcs/class/System.Web.Services/System.Web.Services.Description/ProtocolImporter.cs
===================================================================
---
branches/atsushi/mcs/class/System.Web.Services/System.Web.Services.Description/ProtocolImporter.cs
2006-12-11 05:33:38 UTC (rev 69293)
+++
branches/atsushi/mcs/class/System.Web.Services/System.Web.Services.Description/ProtocolImporter.cs
2006-12-11 05:55:02 UTC (rev 69294)
@@ -545,7 +545,7 @@
foreach (XmlSchemaObject ob in sc.Includes)
{
XmlSchemaImport import = ob as XmlSchemaImport;
- if (import.Namespace ==
SoapProtocolReflector.EncodingNamespace) return true;
+ if (import != null && import.Namespace ==
SoapProtocolReflector.EncodingNamespace) return true;
}
return false;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches