* XmlSchemaImporter.cs: Implemented ImportTypeMapping and all needed parsing
authorLluis Sanchez <lluis@novell.com>
Tue, 5 Aug 2003 17:22:50 +0000 (17:22 -0000)
committerLluis Sanchez <lluis@novell.com>
Tue, 5 Aug 2003 17:22:50 +0000 (17:22 -0000)
commit4de0bcd2ae8eb24e3ccabef2a2a84cdccea63953
tree87e61fa39b35c086c45b9138ff4b27bd1f62ede0
parent42ebf98abd6f0903a150fa8c2634a5b57edc99d9
* XmlSchemaImporter.cs: Implemented ImportTypeMapping and all needed parsing
  stuff.
* SoapReflectionImporter.cs: Set the type namespace parameter when creating a map.
* TypeData.cs: Added property that returns a TypeData that represents an array of
  the given TypeData.
* TypeTranslator.cs: Added GetArrayName() method.
  Added TypeDatas for missing primitive types.
* XmlCodeExporter.cs: Implemented ExportMembersMapping. Fixed generation of
  XmlRootAttribute. Added the namespace to all attributes being generated.
  Other fixes in the generation of code.
* XmlReflectionImporter: store the namespace of the type in the maps.
* XmlSchemaExporter.cs: Several fixes. Only set the "mixed" attribute if the
  class can generate text. Do not export inherited attributes of a class.
  Use the new root namespace stored in the map when generating the root element.
* XmlSerializationWriter: Always write a prefix when writing a qname, even if the
  namespace is the default namespace.
* XmlSerializationWriterInterpreter.cs: fixed missing "else".
* XmlTypeMapElementInfo.cs: In DataTypeNamespace property, return the type
  namespace instead of the map namespace (which can be different if the type
  has a XmlRoot element).
* XmlTypeMapMember.cs: Set the default value of the DefaultValue property
  to System.DBNull.Value.
* XmlTypeMapMemberElement.cs: ElementInfo property: In the getter Create
  the collection if it has not yet been created.
* XmlTypeMapping.cs: Added property XmlTypeNamespace which stores the namespace
  of the type. It may be different from the namespace of the map if the type
  has a XmlRoot element. Also added IsSimpleType property.
  In ClassMap, added AllMembers property.

svn path=/trunk/mcs/; revision=17075
14 files changed:
mcs/class/System.XML/System.Xml.Serialization/ChangeLog
mcs/class/System.XML/System.Xml.Serialization/SoapReflectionImporter.cs
mcs/class/System.XML/System.Xml.Serialization/TypeData.cs
mcs/class/System.XML/System.Xml.Serialization/TypeTranslator.cs
mcs/class/System.XML/System.Xml.Serialization/XmlCodeExporter.cs
mcs/class/System.XML/System.Xml.Serialization/XmlReflectionImporter.cs
mcs/class/System.XML/System.Xml.Serialization/XmlSchemaExporter.cs
mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs
mcs/class/System.XML/System.Xml.Serialization/XmlSerializationWriter.cs
mcs/class/System.XML/System.Xml.Serialization/XmlSerializationWriterInterpreter.cs
mcs/class/System.XML/System.Xml.Serialization/XmlTypeMapElementInfo.cs
mcs/class/System.XML/System.Xml.Serialization/XmlTypeMapMember.cs
mcs/class/System.XML/System.Xml.Serialization/XmlTypeMapMemberElement.cs
mcs/class/System.XML/System.Xml.Serialization/XmlTypeMapping.cs