* MapCodeGenerator.cs: Changed some methods to make them easier to reuse.
authorLluis Sanchez <lluis@novell.com>
Wed, 11 Feb 2004 11:27:23 +0000 (11:27 -0000)
committerLluis Sanchez <lluis@novell.com>
Wed, 11 Feb 2004 11:27:23 +0000 (11:27 -0000)
commitd2f63bb61f06440bbf8fba914898a78c172004c5
tree966050754ab104968dfec61ba235ab18fd0bb7a2
parentd43e2ed2ea06153f4672037ccf3744b8a6424b98
* MapCodeGenerator.cs: Changed some methods to make them easier to reuse.
* 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
mcs/class/System.XML/System.Xml.Serialization/ChangeLog
mcs/class/System.XML/System.Xml.Serialization/MapCodeGenerator.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/XmlMemberMapping.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/XmlTypeMapping.cs