Commit Graph
13 Commits
Author SHA1 Message Date
Rodrigo Kumpera 8752d92528 Kill MOONLIGHT from System.Xml. 2013-02-11 16:03:40 -05: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 112c1993e5 eol-style:native
svn path=/trunk/mcs/; revision=67475
2006-11-07 18:19:47 +00:00
Gert Driesen 008ad8e54c * SoapAttributeAttribute.cs: Set eol-style to CRLF.
* SoapElementAttribute.cs: Same.
* SoapEnumAttribute.cs: Same.
* SoapIncludeAttribute.cs: Same.
* SoapSchemaMember.cs: Same.
* SoapTypeAttribute.cs: Same.
* XmlArrayAttribute.cs: Same.
* XmlAttributeAttribute.cs: Same.
* XmlChoiceIdentifierAttribute.cs: Same.
* XmlElementAttribute.cs: Same.
* XmlEnumAttribute.cs: Same.
* XmlRootAttribute.cs: Same.
* XmlSchemaImporter.cs: Same.
* XmlTextAttribute.cs: Same.
* XmlTypeAttribute.cs: Same.
* XmlTypeMapping.cs: Same.
* SoapAttributeOverrides.cs: Fixed line endings. Set eol-style to CRLF.
* CodeIdentifiers.cs: Same.
* SoapCodeExporter.cs: Same.
* SoapAttributes.cs: Same.
* SoapIgnoreAttribute.cs: Same.
* SoapSchemaImporter.cs: Same.
* TypeMember.cs: Same.
* UnreferencedObjectEventArgs.cs: Same.
* XmlAnyAttributeAttribute.cs: Same.
* XmlAnyElementAttributes.cs: Same.
* XmlArrayItemAttributes.cs: Same.
* XmlAttributeEventArgs.cs: Same.
* XmlCodeExporter.cs: Same.
* XmlElementAttributes.cs: Same.
* XmlElementEventArgs.cs: Same.
* XmlIgnoreAttribute.cs: Same.
* XmlNamespaceDeclarationsAttribute.cs: Same.
* XmlNodeEventArgs.cs: Same.
* XmlReflectionMember.cs: Same.
* XmlSchemas.cs: Same.
* XmlSerializerNamespaces.cs: Same.
* XmlTypeMapMemberElement.cs: Set eol-style to native.

svn path=/trunk/mcs/; revision=56805
2006-02-11 16:45:52 +00:00
Lluis Sanchez cd602dc5ce 2004-12-09 Lluis Sanchez Gual <[email protected]>
* XmlReflectionMember.cs: Added DeclaringType member.
	* XmlReflectionImporter.cs: When importing fields that belong to a
	base class, use the xml namespace of the base map for the member.
	This fixes bug #70309.


svn path=/trunk/mcs/; revision=37475
2004-12-09 10:38:49 +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
Lluis Sanchez ef6734e55d * SerializationCodeGenerator.cs: Generate an integer for unknown enum values.
Use a special method to generate default values, since default enum values
	  will come as integers, so a special cast is needed.
	* XmlSerializationReaderInterpreter.cs,
	* SerializationSource.cs, SoapAttributeAttribute.cs, SoapAttributeOverrides.cs,
	  SoapAttributes.cs, SoapElementAttribute.cs, SoapEnumAttribute.cs,
	  SoapTypeAttribute.cs, XmlAnyElementAttribute.cs, XmlAnyElementAttributes.cs,
	  XmlArrayAttribute.cs, XmlArrayItemAttribute.cs, XmlArrayItemAttributes.cs,
	  XmlAttributeAttribute.cs, XmlAttributeOverrides.cs, XmlAttributes.cs,
	  XmlChoiceIdentifierAttribute.cs, XmlElementAttribute.cs, XmlElementAttributes.cs,
	  XmlEnumAttribute.cs, XmlReflectionMember.cs, XmlRootAttribute.cs,
	  XmlTextAttribute.cs, XmlTypeAttribute.cs: Had to change the implementation
	  of SerializationSource. It can't keep and use the XmlAttributeOverride
	  instances as key values, since those instances can be modified after the
	  xml map has been generated. Now, SerializationSource generates a unique
	  string hash from XmlAttributeOverride and uses it for comparisons.

svn path=/trunk/mcs/; revision=24553
2004-03-25 00:07:43 +00:00
Lluis Sanchez 95d2d48bb3 * SerializationCodeGenerator.cs: Added support for generation of readers
and writers for several maps in a single class. Added support for
	  XmlMemberMapping. Fixed generation of serializers that use encoded format.
	* SoapAttributeAttribute.cs, SoapAttributeOverrides.cs, SoapAttributes.cs,
	  SoapElementAttribute.cs, SoapEnumAttribute.cs, SoapTypeAttribute.cs,
	  XmlAnyElementAttribute.cs, XmlAnyElementAttributes.cs, XmlArrayAttribute.cs,
	  XmlArrayItemAttribute.cs, XmlArrayItemAttributes.cs, XmlAttributeAttribute.cs,
	  XmlAttributeOverrides.cs, XmlChoiceIdentifierAttribute.cs, XmlRootAttribute.cs,
	  XmlElementAttribute.cs, XmlElementAttributes.cs, XmlEnumAttribute.cs,
	  XmlReflectionMember.cs, XmlTextAttribute.cs, XmlTypeAttribute.cs:
	  Added InternalEquals method.
	* XmlAttributes.cs: Removed a lot of unused code. Added InternalEquals method.
	* SoapReflectionImporter.cs: Set SerializationSource to generated maps.
	* XmlCustomFormatter.cs: Fixed little bug.
	* XmlMapping.cs: Added Source property. This a global identifier of the map.
	* XmlReflectionImporter.cs: Set SerializationSource to generated maps.
	* XmlSchemaImporter.cs: Set the correct value for IsNillable when importing
	  mapping members.
	* XmlSerializationReaderInterpreter.cs, XmlSerializationWriter.cs: Minor fixes.
	* XmlSerializationWriterInterpreter.cs: WriteObject and WriteEnum were not
	  correctly used.
	* XmlSerializer.cs: Added support for generation of serializers.

svn path=/trunk/mcs/; revision=23392
2004-02-24 12:03:28 +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
Lluis Sanchez ac9dfbe8c5 * TypeData.cs, TypeTranslator.cs: Renamed some properties.
* 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
2003-05-29 20:14:18 +00:00
Lluis Sanchez 2ce77c20e0 * TypeData.cs, TypeTranslator.cs: Added support for enums. Added method for translating
from xml type to clr type.
	* XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
	* XmlReflectionMember.cs: Added default constructor.
	* XmlSerializationReader.cs: Implemented ReadTypedPrimitive(), ToByteArrayBase64().
	* XmlSerializationWriter.cs: Several fixes.
	* XmlSerializationReaderInterpreter.cs, XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs
	  XmlTypeMapMember.cs, XmlTypeMapMemberElement.cs, XmlTypeMapping.cs:
	  Added support for enums. Added support for XmlElement and XmlNode.
	  Support for XmlAnyAttributeAttribute and XmlAnyElementAttribute. Many fixes.

svn path=/trunk/mcs/; revision=14977
2003-05-28 22:30:06 +00:00
Lluis Sanchez 63d68c4130 * TypeData.cs, TypeTranslator.cs: Implemented some methods.
* XmlCustomFormatter.cs: Added formatting methods.
	* XmlReflectionImporter.cs, XmlSerializer.cs: New implementation.
	* XmlReflectionMember.cs: Added new constructor.
	* XmlSerializationReader.cs, XmlSerializationWriter.cs: Implemented some methods.
	* XmlSerializationWriterInterpreter.cs, XmlSerializationReaderInterpreter.cs
	  XmlTypeMapElementInfo.cs, XmlTypeMapMember.cs, XmlTypeMapMemberAttribute.cs
	  XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added

svn path=/trunk/mcs/; revision=14884
2003-05-26 14:34:44 +00:00
Tim Coleman 22b3f2a7f1 2002-07-22 Tim Coleman <[email protected]>
* CodeIdentifiers.cs:
        * SoapCodeExporter.cs:
        * SoapSchemaExporter.cs:
        * XmlCodeExporter.cs:
        * XmlMemberMapping.cs:
        * XmlMembersMapping.cs:
        * XmlReflectionImporter.cs:
        * XmlReflectionMember.cs:
        * XmlSchemaExporter.cs:
        * XmlSchemaImporter.cs:
        * XmlSchemas.cs:
                New stubbs added to aid in the linux build of
                System.Web.Services.

svn path=/trunk/mcs/; revision=6068
2002-07-23 05:35:33 +00:00