* TypeData.cs, MapCodeGenerator.cs, XmlMemberMapping.cs,
TypeTranslator.cs : removed IsGenericNullable and added
set_IsNullable so that it could be simpler.
svn path=/trunk/mcs/; revision=73114
In class/System.XML:
* System.Xml.dll.sources : added XmlMappingAccess.
* XmlMappingAccess.cs : new type in 2.0 RTM.
* XmlCodeExporter.cs, SoapCodeExporter.cs,
MapCodeGenerator.cs,
XmlSchemaImporter.cs, SoapSchemaImporter.cs, SchemaImporter.cs,
SchemaImporterExtension.cs, SchemaImporterExtensionCollection.cs,
XmlMemberMapping.cs, XmlSerializationReader.cs :
several 2.0 API fixes from betas to RTM.
In class/System.Web.Services:
* ProtocolImporter.cs, ServiceDescriptionImporter.cs :
some 2.0 API fixes from betas to RTM.
In tools/wsdl:
* MonoWSDL2.cs : 2.0 API fixes from beta2 to RTM.
svn path=/trunk/mcs/; revision=62910
of XmlInclude attributes needed for the service class.
IsMapExported: Removed check for object type, since it can now be exported.
SetMapExported: Use the type name as key, since different importers may
be used to create a map for the same type.
GenerateClassInclude: Updated signature.
* SoapCodeExporter.cs: Moved management of IncludeMetadata to MapCodeGenerator.
GenerateClassInclude(): Updated signature.
* SoapReflectionImporter.cs: Support SoapIncludeAttribute in array members.
Implemented IncludeTypes.
* XmlCodeExporter.cs: Moved management of IncludeMetadata to MapCodeGenerator.
GenerateClassInclude(): Updated signature.
* XmlMemberMapping.cs: Added missing property.
* XmlReflectionImporter.cs: GetReflectionMembers must be private.
Implemented IncludeTypes().
* XmlSchemaExporter.cs: Added support for exporting typeof(object).
* XmlSchemaImporter.cs: Changed the implementation of ImportDerivedTypeMapping.
Now, it does a regular import and then assign the required base class to
the imported map. In this way it is possible to assign a base type for a
map that was previously imported without a base type.
* XmlTypeMapping.cs: Added internal method SetRoot().
svn path=/trunk/mcs/; revision=23510
* TypeTranslator.cs: NMTOKENS, ENTITIES and IDREFS must be mapped to
string, not string[].
* XmlCodeExporter.cs: AddMappingMetadata(): improved attribute generation
for array parameters. In general, improved generation of schema Form
property.
* XmlMemberMapping.cs: Added Form property.
* XmlReflectionImporter.cs: Types that inherit from other types cannot be
simple types. Added a check for this.
* XmlSchemaExporter.cs: several fixes: better generation of IsMixed and
Form. The key used to determine if a map has been already generated must
include the XmlType, since there can be two xml types with the same CLR
type and namespace (for example, they may differ in the Form property).
* XmlSchemaImporter.cs: When getting the TypeData for a schema element,
also return the corresponding map. There can be two maps that have the
same TypeData, so given a TypeData is not always possible to get the
correct corresponding map (for example two arrays that only differ in the
Form of the item).
* XmlTypeMapping.cs: Added method to set if a map can represent a simple
type or not.
svn path=/trunk/mcs/; revision=22968
parameter of type enum.
* XmlAttributeAttribute.cs: little fix.
* XmlCodeExporter.cs: Support XmlAnyAttribute when generating attributes
for method parameters.
* XmlMemberMapping.cs: Improved support for members of type "any".
* XmlReflectionImporter.cs: Improved assignment of the attribute form.
If the namespace is explicitly specified, then the form should be
qualified. Also fixed issues with the namespace assigned to attributes.
This should fix bug #53384.
* XmlSchemaExporter.cs: ExportMembersMapping(): improved support for
methods that return values of type "any". Changed the methods
AddSchemaArrayElement and AddSchemaElement, so instead of adding the
element, return it, and the caller must add it to the collection.
Other fixes in attribute generation.
* XmlSchemaImporter.cs: ImportAnyType(): if a type name is provided,
generate the AnyType mapping from the type described in the schema.
Small fixes regarding IsMixed property of complex types (it means that
the type can contain text, so the XmlTextAttribute must be generated).
* XmlSerializationReaderInterpreter.cs: Reading of members by-order must
be only used in the bare+encoded format.
svn path=/trunk/mcs/; revision=22533
* SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlSchemaImporter.cs:
in ImportMembersMapping, set pass the namespace to each XmlMemberMapping.
* SoapSchemaExporter.cs: Some fixes in ExportMembersMapping.
* XmlMemberMapping.cs: Fixed constructor. Now it takes the default namespace
and whether it uses encoded or literal format.
* XmlSchemaExporter.cs: Little fixes.
svn path=/trunk/mcs/; revision=19015
* XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
* XmlMapping.cs: Added internal property.
* XmlMemberMapping.cs, XmlMembersMapping.cs: Implemented.
* XmlReflectionImporter.cs: Implemented importing of XmlMembersMapping. Several fixes.
* XmlReflectionMember.cs: XmlAttributes are now created by default
* XmlSerializationReader.cs, XmlSerializationWriter.cs: Several fixes.
* XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs, XmlSerializer.cs:
Implemented support for XmlMembersMapping.
* XmlTypeMapping.cs: Property ObjectMap moved to XmlMapping.
svn path=/trunk/mcs/; revision=14997
* XmlSerializationReader.cs: implemented a few methods.
* XmlAnyElementAttribute.cs:
* XmlArrayAttribute.cs:
* XmlChoiceIdentifierAttribute.cs:
* XmlElementAttribute.cs:
* XmlMemberMapping.cs:
* XmlMembersMapping.cs: class status based fixes.
svn path=/trunk/mcs/; revision=7578