* XmlSchemaExporterTests.cs : without Infoset(), those tests randomly
fail on .NET. This fix is incomplete. Someone please continue this
boring work. I don't want to do that.
svn path=/trunk/mcs/; revision=88453
* XmlSerializerTests.cs : added deserialization test for
XmlSchemaProviderAttribute use.
* XmlReflectionImporterTests.cs : added test for conclict resolution
between defaultNamespace and XmlSchemaProvider() namespace.
* XmlSchemaExporterTests.cs : use Infoset() comparison.
* XmlTypeMapping.cs : Namespace and XmlTypeNamespace could be
different when an explicit namespace is specified (e.g. at
XmlReflectionImporter.ctor).
* SerializationCodeGenerator.cs,
XmlSerializationWriterInterpreter.cs :
revert XmlTypeMapping.XmlTypeNamsepace usage. Now with the fix
above, original code should work fine.
svn path=/trunk/mcs/; revision=86346
* XmlSerializationWriter.cs : WriteTypedPrimitive() infers the type
when the name is null (almost no need to do this, but it is easier
to remove NotWorking from extraneous tests and let them hush than
removing them).
* XmlSerializationWriterTests.cs : removed some NotWorking.
svn path=/trunk/mcs/; revision=72436
* XmlSchemaExporter.cs: Emit xml name of enum-based default values.
Set XmlSchemaAttribute.Use to Required if no default value is defined,
and member is not an optional value type. Element should have minOccurs
1 if value type member has default value. Output flag enum type as
xsd list with restriction.
* XmlReflectionImporter.cs: Removed special casing of enums. Instead
of passing namespace of XmlAttribute to ImportTypeMapping, use the
default namespace for importing the member type.
svn path=/trunk/mcs/; revision=68887
Fixed bug #77117.
* XmlReflectionImporter.cs : Compute nullable correctly. Elements are
nillable when its type is a reference type.
* XmlSchemaExporter.cs :
Set XmlTypeMapElementInfo.IsNullable from XmlTypeMapping.
Set XmlSchemaElement.IsNillable from XmlTypeMapElementInfo.
* XmlSchemaExporterTests.cs :
fixed almost all test cases which expected totally wrong schemas.
Schema elements are all nillable unless it is of value type.
svn path=/trunk/mcs/; revision=67662
allow XML Schema items to be added to its parent in the same order
as MS.NET (schema elements before complex types, ...).
* XmlSchemaExporterTests.cs: Enabled tests which failed due to bug
#78145.
svn path=/trunk/mcs/; revision=59804
* XmlSchemaExporter.cs: Import namespace of schema generated for
non-xsd primitive. Do not set zero-length TargetNamespace to avoid
emitting empty targetNamespace attribute in generated schema.
* XmlReflectionImporter.cs: Use WSDL types namespace for non-xsd
primitives.
svn path=/trunk/mcs/; revision=58132