2003-08-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
authorAtsushi Eno <atsushieno@gmail.com>
Sat, 2 Aug 2003 06:31:47 +0000 (06:31 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Sat, 2 Aug 2003 06:31:47 +0000 (06:31 -0000)
commit02021a0c54c6f83c81362425649182fd0cae5d8f
tree017de99ac375083da30dd02da631ad03ed53d13f
parentedd6c28e168c5fe6e04fa8c2b7c3437030a8e18c
2003-08-02  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* XmlSchema.cs :
  - Changed missingElementTypeRefs from Hashtable to ArrayList.
  - Added internal XmlSchemas for keeping imported schemas.
  - Added private Compile() that takes the original rootSchema and
    schema location stack for nested inclusion check.
  - Added basic xs:import and xs:include support.
  - Compile() is now aware of included XmlSchemaObject items.
  - Changed Compile() to fill missing elements' types and that of
    referencing elements.
  - Read() now adds SourceUri property (although only to itself).
* XmlSchemaCollection.cs : Implemented Add().
* XmlSchemaCollectionEnumerator.cs :
  Changed .ctor() to use schema collection as its argument.
  Fixed Current to return hashtable's Value, instead of Current
  (which returns DictionaryEntry).
* XmlSchemaComplexType.cs :
  Added internal static AnyType.
  Compile() is now searches for its base type into other schemas.
* XmlSchemaElement.cs : anyType is supported.
  It now searches for type information after Compile().
  SetReferedElementInfo() is now changed to SetSchemaType().
* XmlSchemaObjectTable.cs :
  It had problems similar to schema collection. Now it uses internal
  class XmlSchemaObjectTableEnumerator to support GetEnumerator().
* XmlSchemaParticle.cs : added internal class XmlSchemaParticleEmpty
  and internal static Empty.

svn path=/trunk/mcs/; revision=17000
mcs/class/System.XML/System.Xml.Schema/ChangeLog
mcs/class/System.XML/System.Xml.Schema/XmlSchema.cs
mcs/class/System.XML/System.Xml.Schema/XmlSchemaCollection.cs
mcs/class/System.XML/System.Xml.Schema/XmlSchemaCollectionEnumerator.cs
mcs/class/System.XML/System.Xml.Schema/XmlSchemaComplexType.cs
mcs/class/System.XML/System.Xml.Schema/XmlSchemaElement.cs
mcs/class/System.XML/System.Xml.Schema/XmlSchemaObjectTable.cs
mcs/class/System.XML/System.Xml.Schema/XmlSchemaParticle.cs