59 Commits
Author SHA1 Message Date
Alexander Köplinger 112631f5c6 [bcl] Add missing APIs for netstandard parity and expose a few APIs on mobile
This ensures we're compliant with the upcoming netstandard2.0 API surface area.
2016-09-23 17:50:06 +02:00
Marek Safar 69101f50ec [system.xml] serialization handlers from reference sources 2015-05-08 14:41:32 +02:00
Marek Safar d86dc4c41a [system.xml] Fix public api 2015-04-27 20:06:46 +02:00
Atsushi Eno a1d5c9c48d [Sys.Xml] when deserializing XmlNode, use XmlReader's NameTable. 2015-02-21 03:26:10 +08:00
Zoltan Varga 0985d4aa4b [bcl] Remove NET_2_0 defines from the class libs. This has been done using: unifdef -t -DNET_2_0 -o <filename> <filename>. 2015-01-13 15:29:38 -05:00
Rodrigo Kumpera 8752d92528 Kill MOONLIGHT from System.Xml. 2013-02-11 16:03:40 -05:00
Martin Baulig 7d170f400d Sync parameter names with .NET. 2012-06-03 04:02:28 +02:00
Miguel de Icaza 8c4b3c1aca Fix for 1461: Microsoft's generated deserializer call CollapseWhitespace extensively 2011-10-17 17:06:41 -04:00
Sebastien Pouliot 4925054bb0 Make some S.X.S types compatible with the SL API (for SDK)
* XmlAnyElementAttributes.cs:
* XmlArrayItemAttributes.cs:
* XmlElementAttributes.cs:
	Under Silverlight API this implement IList only (does not
inherit from CollectionBase).

* XmlCustomFormatter.cs:
* XmlSerializationWriterInterpreter.cs:
	Use a Convert.ChangeType override that exists in SL API

* XmlReflectionImporter.cs: Provide an alternative for (missing in SL)
Enum.GetNames and select available (in SL) overloads for parsing and
formatting for enums

* XmlSerializationReader.cs: Fix ToEnum API to use IDictionary (in SL)
instead of Hashtable (even if the SL4 docs still states the later)

* XmlSerializationReaderInterpreter.cs:
* XmlTypeMapping.cs:
	Use the default (identical to nonPublic being false) when using
	Activator.CreateInstance under SL

* XmlSerializationWriter.cs: Internally use a Queue<T> instead a a Queue
(not available in SL). Also Namespaces (ArrayList) is replaced by
XmlNamespaces (IList) in SL API.

* XmlSerializer.cs: Do not use environment variables in MOONLIGHT (like
the rest of MOBILE). Use Encoding.UTF8 instead of ENcoding.Default since
the later does not exist in SL.

* XmlSerializerImplementation.cs: SL version use IDictionary instead of
Hashtable for properties.

* XmlSerializerNamespaces.cs: Internally use a generic Dictionary
* instead
of a ListDictionary (which is not available in SL)
2011-05-06 08:40:41 -04:00
Atsushi Eno 8fe0d1c078 Prepare for new System.Xml.Serialization.dll build (moonlight sdk assembly). 2011-04-15 15:00:40 +09:00
Atsushi Eno 11f165cf56 2008-06-04 Atsushi Enomoto <[email protected]>
* XmlSerializationReader.cs : in ReadXmlDocument(), MoveToContent()
	  is required after ReadStartElement(). Fixed bug #393406 (without
	  unit test; no simple way to do that :( ).


svn path=/trunk/mcs/; revision=104846
2008-06-04 10:12:51 +00:00
Atsushi Eno 1da39baea9 2007-08-21 Atsushi Enomoto <[email protected]>
* XmlSerializationReader.cs :
	  implemented ReaderCount and CheckReaderCount().


svn path=/trunk/mcs/; revision=84543
2007-08-21 12:21:01 +00:00
Adar Wesley bb05ca1050 2007-05-14 Adar Wesley <[email protected]>
* XmlSchemaExporter.cs: added missing overload for method ExportAnyType.

        * XmlSchemas.cs: added missing methods Add, AddReference, Contains,
        GetSchemas.

        * XmlSerializationReader.cs: added missing method AddReaderCount.

        * XmlSerializationWriter.cs: added missing overload WriteStartElement.

        * XmlSerializer.cs: added missing overload Serialize.


svn path=/trunk/mcs/; revision=77340
2007-05-14 11:48:15 +00:00
Atsushi Eno 848d3729d5 2006-11-17 Atsushi Enomoto <[email protected]>
* XmlSerializationReader.cs : (ReadReferencedElement)
	  Sometimes there are array types in WSDL, which are not reflected
	  in client proxies. In SOAP messages, they are marked
	  soap-env:arrayType, so use it (this could coexist with xsi:type,
	  which indicates the type in WSDL). Fixed bug #79057.


svn path=/trunk/mcs/; revision=68045
2006-11-17 02:21:56 +00:00
Atsushi Eno 645f666148 2006-11-15 Atsushi Enomoto <[email protected]>
* XmlSerializationReader.cs : implement ToByteArray[Base64|Hex]().
	  removed extra ReadSerializable().
	* XmlTypeMapping.cs : added XsdTypeName and XsdTypeNamespace.


svn path=/trunk/mcs/; revision=67904
2006-11-15 12:38:09 +00:00
Atsushi Eno 1d3440fc5d sanitizing MonoTODOs.
svn path=/trunk/mcs/; revision=67899
2006-11-15 11:31:25 +00:00
Atsushi Eno 42ddd7a0cd 2006-11-01 Atsushi Enomoto <[email protected]>
* XmlAttributeEventArgs.cs : added ExpectedAttributes. Note that it
	  is not considered in XmlSerializationReader yet.
	* XmlElementEventArgs.cs : added ExpectedElements. Note that it
	  is not considered in XmlSerializationReader yet.
	* XmlSerializationReader.cs : added some overloads for 
	  UnknownElement()/-Attribute()/-Node().


svn path=/branches/atsushi/mcs/; revision=67229
2006-11-01 19:46:55 +00:00
Atsushi Eno b3cbbff9ce 2006-07-24 Atsushi Enomoto <[email protected]>
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
2006-07-24 10:50:58 +00:00
Lluis Sanchez d8dc07c3f5 2005-06-07 Lluis Sanchez Gual <[email protected]>
* SerializationCodeGenerator.cs: When reading members by order,
	call a MoveToContext after each member read. In the fixup method
	don't cast returned values if it is reading an object array.
	
	* XmlSchemaImporter.cs: In ImportDerivedTypeMapping, if the type
	being imported is a primitive type, create a wrapper class that
	inherits from the provided one. This fixes bug #68809.
	
	* XmlSerializationReader.cs: Properly report unreferenced objects.
	Created an overload of ReadTypedPrimitive that reports elements of
	unknown type. Implemented Referenced(). 


svn path=/trunk/mcs/; revision=45586
2005-06-07 16:55:01 +00:00
Lluis Sanchez e394f2ee4c 2005-04-12 Lluis Sanchez Gual <[email protected]>
* XmlTypeMapping.cs: Added new XmlSerializableMapping class.
	* XmlSchemaExporter.cs: When exporting an IXmlSerializable type,
	export the schema that it defines. In ImportNamespace, removed
	check for default namespace, since it may be included from a non
	default namespace.
	* XmlReflectionImporter.cs: Create a special map for IXmlSerializable
	types. All this based on a patch by Andrew Skiba.
	
	* SerializationCodeGenerator.cs:
	* XmlMapping.cs:
	* XmlSerializationReaderInterpreter.cs:
	* SoapCodeExporter.cs:
	* XmlTypeMapMemberAttribute.cs:
	* XmlSerializationReader.cs:
	* XmlCodeExporter.cs: Fixed some warnings.

2005-04-10  Andrew Skiba  <[email protected]>

2005-04-03  Andrew Skiba  <[email protected]>

svn path=/trunk/mcs/; revision=42841
2005-04-12 16:34:24 +00:00
Lluis Sanchez a3fc0d1cd0 2005-03-29 Lluis Sanchez Gual <[email protected]>
* XmlReflectionImporter.cs: Added support for subclasses of XmlNode.
	This fixes bug #73901 and should fix #70384.
	* XmlSerializationReader.cs: When reading an object element, return
	an Object instance if the element has no children. This fixes bug #73974.
	* XmlSerializationWriter.cs: Support writing XmlNode[] as a primitive
	type (it is written as an element with those nodes as children). 


svn path=/trunk/mcs/; revision=42328
2005-03-29 11:41:57 +00:00
Lluis Sanchez c425dff131 2005-02-07 Lluis Sanchez Gual <[email protected]>
* XmlSerializationReader.cs: After reading an href element, skip the
	whole element (it may not be an empty element). This fixes bug #72265.


svn path=/trunk/mcs/; revision=40255
2005-02-07 17:46:23 +00:00
Lluis Sanchez 212bcb99fe 2004-11-24 Lluis Sanchez Gual <[email protected]>
* SerializationSource.cs: Made SerializationSource abstract, and
	renamed Equals to BaseEquals to avoid missing GetHashCode warning
	(it does not really make sense in this case).
	* XmlSchemaExporter.cs, SerializationCodeGenerator.cs,
	XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs,
	XmlSerializationReader.cs: Fixed warnings.


svn path=/trunk/mcs/; revision=36462
2004-11-24 09:52:05 +00:00
Lluis Sanchez 5221e53fda * CodeExporter.cs: Added private constructor.
* CodeGenerationOptions.cs: Set the correct enum values.
	* CodeIdentifier.cs: Added private constructor.
	* SchemaImporter.cs: Added internal constructor.
	* XmlMapping.cs, XmlSerializer.cs: 2.0 api fix.
	* XmlMemberMapping.cs, XmlSchemaImporter.cs, XmlSerializationWriter.cs: Added 2.0 stubs.
	* XmlSchemaProviderAttribute.cs, XmlSerializerAssemblyAttribute.cs,
	  XmlSerializerVersionAttribute.cs: Set correct attribute usage.
	* XmlSerializationReader.cs: Added missing setter for DecodeName.

svn path=/trunk/mcs/; revision=30970
2004-07-09 23:19:41 +00:00
Lluis Sanchez c397230784 * CodeIdentifier.cs: Removed constructor for NET_2_0.
* SoapCodeExporter.cs, SoapSchemaImporter.cs, XmlCodeExporter.cs,
	  XmlMapping.cs, XmlMemberMapping.cs, XmlReflectionImporter.cs,
	  XmlSchemaExporter.cs, XmlSchemaImporter.cs, XmlSchemas.cs,
	  XmlSerializationReader.cs, XmlSerializationWriter.cs, XmlSerializer.cs,
	  XmlSerializerNamespaces.cs: Added 2.0 stubs.
	* XmlMembersMapping.cs, XmlTypeMapping.cs: 2.0 fixage.
	* IXmlTextParser.cs, CodeExporter.cs, CodeGenerationOptions.cs,
	  ImportContext.cs, SchemaImporter.cs, SchemaImporterExtension.cs,
	  SchemaImporterExtensionCollection.cs, XmlDeserializationEvents.cs,
	  XmlSchemaProviderAttribute.cs, XmlSerializationGeneratedCode.cs,
	  XmlSerializerAssemblyAttribute.cs, XmlSerializerFactory.cs,
	  XmlSerializerVersionAttribute.cs: New files. More 2.0 stubs.

svn path=/trunk/mcs/; revision=30757
2004-07-05 18:12:19 +00:00
Duncan Mak 8fa6e766dd Add MIT license to System.XML.DLL
svn path=/trunk/mcs/; revision=30055
2004-06-21 18:07:31 +00:00
Atsushi Eno a5eaabf6f1 2004-06-18 Atsushi Enomoto <[email protected]>
* CodeIdentifier.cs, CodeIdentifiers.cs, MapCodeGenerator.cs,
	  SerializationCodeGenerator.cs, SerializationSource.cs,
	  TypeTranslator.cs, XmlAttributeOverrides.cs, XmlCustomFormatter.cs,
	  XmlSerializationReader.cs, XmlSerializationWriter.cs,
	  XmlSerializer.cs, XmlTypeMapMemberElement.cs, XmlTypeMapping.cs
	  : Globalization fixes.
	    In XmlCustomFormatter.GenerateToXmlString() time was not
	    generated correctly.
	    Replaced all CRLF XmlAttributeOverrides.cs into LF.

svn path=/trunk/mcs/; revision=29865
2004-06-18 09:50:34 +00:00
Gert Driesen 7329ab8e6b * XmlSerializationReader.cs: added missing protected members
to fix API compatibility with MS.NET
* XmlSerializationWriter.cs: added missing protected members
to fix API compatibility with MS.NET

svn path=/trunk/mcs/; revision=28770
2004-06-03 16:37:47 +00:00
Lluis Sanchez 285cd2dcc8 * XmlSerializationReader.cs: Support schamea instance namespaces other than
the 2001 one when reading the xsi type.
	* MapCodeGenerator.cs: Take into account that the root namespace and element
	  name may have changed from one export to another of the same type. In
	  this case the class attributes need to be regenerated.
	* SoapCodeExporter.cs, XmlCodeExporter.cs: Take the enum name from XmlType,
	  not ElementName. Idem for namespace.
	* XmlReflectionImporter.cs: Set nullable property of XmlTypeMapping.
	* XmlRootAttribute.cs: Default value for nullable is true.
	* XmlSchemaImporter.cs: The root name for a class may change in some
	  scenarios (for example, when the type is initially exported as part of
	  another type and later exported as a root type).
	* XmlSerializationReader.cs: In GetXsiType(), if the type attribute is not
	  found using the standard namespace, try getting the type using
	  the 2000/10 and 1999 namespaces.
	* XmlTypeMapping.cs: Added IsNullable property. Updated SetRoot method.

svn path=/trunk/mcs/; revision=28711
2004-06-02 18:16:39 +00:00
Lluis Sanchez 2295258581 * XmlSerializationReader.cs: Check for empty element when reading an array
element. This fixes bug #59003. Thanks Atsushi!

svn path=/trunk/mcs/; revision=28048
2004-05-25 13:49:22 +00:00
Lluis Sanchez 304353fc3f * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
When deserializing an encoded method response, if the return type of the
	  method is Object, assign to it the first element of the message, whatever
	  it is.
	* XmlSerializationReader.cs:
	* SoapReflectionImporter.cs, XmlReflectionImporter.cs: Set IsReturnValue of
	  the imported member.
	* TypeTranslator.cs: Added method to safely get a primitive TypeData.
	* XmlSerializationReader.cs: Don't throw an exception when the CLR type for
	  a given xsi type is not found. Just read it as primitive type.
	* XmlTypeMapMember.cs: Added IsReturnValue property.
	* XmlTypeMapping.cs: Added ReturnMember property.
	* XmlSerializer.cs: Reference System.Data when compiling the serializer.

svn path=/trunk/mcs/; revision=26836
2004-05-06 15:08:58 +00:00
Lluis Sanchez fb9c1efbf0 * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
When reading an object using the typeof(object) map, an emty xsi:type
	  means that it has to read the contents into an XmlNode[].
	* TypeData.cs: Return the correct full name for inner classes.
	* XmlSchemaImporter.cs: Improved detection of types that represent
	  "anyType", and must be mapped to XmlElement, XmlNode or Object.
	* XmlSerializationReader.cs: In GetXsiType(), find the type attribute using
	  the correct namespace.
	  In ReadTypedPrimitive(), read the element as XmlNode[] if the type is
	  not known.

svn path=/trunk/mcs/; revision=26761
2004-05-05 13:32:08 +00:00
Lluis Sanchez ea46762091 * XmlSerializationReader.cs: In ReadSerializable(), take into account that
the IXmlSerializable object may not read all the EndElement it read.
	  This fixes bug #57413.

svn path=/trunk/mcs/; revision=26588
2004-05-03 15:36:24 +00:00
Lluis Sanchez 55dc9d8dd2 * SerializationCodeGenerator.cs, XmlReflectionImporter.cs,
XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs:
	  Support deserialization of members of type XmlDocument. This fixes #56169.

svn path=/trunk/mcs/; revision=24780
2004-03-30 11:14:36 +00:00
Lluis Sanchez b26f56b73a * XmlReflectionImporter.cs: Type specified with XmlIncludeAttribute don't
need to be derived types of the includer. This fixes bug #52152.
	  Added null check for Name property of XmlEnumAttribute. This fixes
	  bug #52155.
	* XmlSerializationReader.cs: Fixed some error messages.
	* XmlSerializationReaderInterpreter.cs: Check that the root element has
	  the correct local name and namespace. This fixes bug #52038.
	  Throw exception if enum value can't be parsed.
	* XmlTypeMapping.cs: Don't try to parse numeric enum values. This fixes
	  bug #52041.

svn path=/trunk/mcs/; revision=21166
2003-12-15 13:18:47 +00:00
Lluis Sanchez ce97eef8b3 * XmlCodeExporter.cs: Little fix.
* XmlSchemaExporter.cs: In rpc format, make sure that parameters with the
	  same name have the same type.
	* XmlSchemaImporter.cs: Support xml:lang.
	* XmlSerializationReader.cs, XmlSerializationWriterInterpreter.cs:
	  fixed wrong namespace for the arrayType attribute.

svn path=/trunk/mcs/; revision=21034
2003-12-11 18:10:29 +00:00
Lluis Sanchez e6581dceb8 * XmlSerializationReader.cs: Generate identifiers for arrays user a counter.
delayedListFixups.Count cannot be used because elementes from
	  delayedListFixups are deleted sometimes.

svn path=/trunk/mcs/; revision=20538
2003-11-27 16:45:43 +00:00
Lluis Sanchez 247e8203ac * XmlSerializationReader.cs, XmlSerializationWriter.cs, XmlSerializer.cs:
Removed several TODOs already done.

svn path=/trunk/mcs/; revision=19893
2003-11-12 15:58:12 +00:00
Lluis Sanchez 4dba84b1e7 * XmlSerializationReader.cs. Fixed bug #49510. An array element doesn't
need to be of type SOAP-ENC:Array, it can be a restriction of it.

svn path=/trunk/mcs/; revision=18863
2003-10-10 17:54:25 +00:00
Lluis Sanchez 61080dc4f9 * SerializationCodeGenerator.cs: Minor fixes.
* SoapReflectionImporter.cs: More fixes.
	* SoapSchemaExporter.cs: implemented.
	* SoapSchemaImporter.cs: Initial implementation.
	* TypeTranslator.cs: new methods for dealing with encoded arrays: GetArrayName
	  and ParseArrayType
	* XmlCodeExporter.cs: Fix. When exporting a map, export all derived maps.
	* XmlMemberMapping.cs: Minor fixes.
	* XmlMembersMapping.cs: added some convenient constructors.
	* XmlSchemaExporter.cs: Added support for encoded format.
	* XmlSchemaImporter.cs: Added support for encoded format.
	* XmlSerializationReader.cs: changed some string literals by constants.
	  Implemented ParseWsdlArrayType.
	* XmlSerializationReaderInterpreter.cs: Read typeArray attribute when serializing
	  custom attributes.
	* XmlSerializationWriter.cs: Implemented WriteXmlAttribute.
	* XmlSerializationWriterInterpreter.cs: Use WriteXmlAttribute instead of
	  WriteAttribute to write custom attributes.
	* XmlSerializer.cs: added some namespace constants.
	* XmlTypeMapping.cs: added GetSchemaArrayName method.

svn path=/trunk/mcs/; revision=17856
2003-09-04 02:39:08 +00:00
Lluis Sanchez d19e51679d * XmlReflectionImporter.cs: Fill RelatedMaps property of the generated map.
* XmlSchemas.cs: Find method: make sure the returned object belongs to
	  the requested type.
	* XmlSerializationReader.cs: Removed unneded virtual ReadObject method.
	  Add null checks for eventSource.
	* XmlSerializationReaderInterpreter.cs: ReadObject is not virtual any more.
	* XmlSerializationWriter.cs: In Initialize method, initialize the provided
	  namespece declarations. Virtual method WriteObject not needed any more.
	  In WriteStartElement, write the provided namespaces.
	* XmlSerializationWriterInterpreter.cs: Write object is not virtual any more.
	  Added GetTypeMap method, that returns the map for a given type. Added some
	  virtual methods, so writer behavior can be extended at several places by
	  derived classes.
	* XmlSerializer.cs: Changed behavior to match what MS.NET does. The virtual
	  methods CreateReader and CreateWriter are not called unless no type or
	  type mapping was provided in the constructor.

svn path=/trunk/mcs/; revision=17690
2003-08-28 12:13:06 +00:00
Lluis Sanchez 0fb5c9e6e7 * SoapReflectionImporter.cs: Fix support for DataType in class members.
* TypeData.cs: Don't use "Index" name to get indexer property. Indexer properties
	  can have other names.
	* TypeTranslator.cs, XmlCustomFormatter.cs: Added support for "time" and "data" xml types.
	* XmlReflectionImporter.cs, XmlTypeMapElementInfo.cs, XmlSerializationReader.cs,
	  XmlSerializationWriter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs:
	  Fix support for DataType in class members.
	* XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs:
	  Added support for array of primitive types in attributes.

svn path=/trunk/mcs/; revision=15791
2003-06-30 21:13:56 +00:00
Lluis Sanchez f213541b82 * XmlReflectionImporter.cs: Reset internal tables for each ImportMembersMapping call.
* XmlSerializationReader.cs: GetXsiType(): use current reader.namespaceUri if namespace
	  is not specified in the xsi attribute.
	* XmlSerializationReaderInterpreter.cs: Fixed bug when reading an empty array from an empty element.
	* XmlSerializationWriterInterpreter.cs: Added null value check when writting an array.

svn path=/trunk/mcs/; revision=15459
2003-06-17 15:27:01 +00:00
Atsushi Eno c196e56b6e 2003-06-16 Atsushi Enomoto <[email protected]>
* XmlSerializationReader.cs : Synchronous fix with
	  XmlElement.GetAttribute(name, ns) fix for GetNullAttr().
	* added XmlTypeMapMemberNamespace.cs.
	* XmlReflectionImporter,
	  XmlSerializationReaderInterpreter.cs,
	  XmlSerializationWriterInterpreter.cs,
	  XmlTypeMapping.cs : support for XmlNamespaceDeclarationAttribute.

svn path=/trunk/mcs/; revision=15441
2003-06-16 17:15:55 +00:00
Lluis Sanchez 3e3e0841a4 * XmlSerializationReader.cs: Fixed error message.
* XmlSerializationReaderInterpreter.cs: Fixed bug when reading XmlQualifiedNames as attributes
	  Thanks to Atsushi!
	* XmlSerializationWriter.cs: Null check in FromXmlQualifiedName.

svn path=/trunk/mcs/; revision=15375
2003-06-13 22:30:24 +00:00
Lluis Sanchez 028bb2c2ca * XmlSerializationReader.cs: Fixed implementation of ReadElementQualifiedName() and ReadTypedPrimitive().
* XmlSerializationReaderInterpreter.cs: Improved serialization of XmlQualifiedNames.
	* XmlSerializationWriter.cs: implemented methods for reading XmlQualifiedNames.
	* XmlSerializationWriterInterpreter.cs: Improved deserialization of XmlQualifiedNames.

svn path=/trunk/mcs/; revision=15368
2003-06-13 16:09:27 +00:00
Lluis Sanchez 014e3c71b3 * SchemaTypes.cs: Changed DataSet type for a more generic XmlSerializable.
* SoapReflectionImporter.cs: tiny fix.
	* XmlReflectionImporter.cs, TypeData.cs, XmlSerializationWriterInterpreter.cs,
	  XmlSerializationReaderInterpreter.cs: Added support for IXmlSerializable.
	* XmlSerializationReader.cs: Fixed implementation of ReadSerializable().
	* XmlSerializationWriter.cs: implemented WriteSerializable ().

svn path=/trunk/mcs/; revision=15364
2003-06-13 09:48:24 +00:00
Lluis Sanchez 9ac28c5b9b * XmlSerializationReader.cs: Minor fix.
svn path=/trunk/mcs/; revision=15302
2003-06-11 13:53:43 +00:00
Lluis Sanchez 4c174fcaa1 * XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs: Minor fixes.
svn path=/trunk/mcs/; revision=15301
2003-06-11 13:38:56 +00:00
Lluis Sanchez 8e18d03529 * SoapReflectionImporter.cs: implemented.
* TypeTranslator.cs: added IsPrimitive() method
	* TypeMapping.cs: Added RelatedMaps property that returns all maps directly or indirectly
	  used by that one. Also added Format property, that can be literal or encoded.
	* XmlReflectionImporter.cs: little fixes. Moved some methods to ReflectionHelper.
	* XmlReflectionMember.cs: added constructor that accepts SoapAttributes
	* XmlSerializationReader.cs: implemented many methods needed to support encoded format.
	* XmlSerializationReaderInterpreter.cs: added support for encoded format.
	* XmlSerializationWriter.cs: added support for encoded format.
	* XmlSerializationWriterInterpreter.cs: added support for encoded format.
	* XmlTypeMapElementInfo.cs: added some properties needed to support encoded format
	* XmlTypeMapMemberAttribute.cs: added MappedType property (enum values can be attributes,
	  and a map is needed for them).
	* XmlTypeMapMemberElement.cs: small fixes.
	* XmlTypeMapping.cs: added some properties and methods needed to support encoded format
	* ReflectionHelper.cs: added. Has some methods shared by the reflection importers.

svn path=/trunk/mcs/; revision=15130
2003-06-05 18:17:28 +00:00