2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Wed, 14 Apr 2004 17:29:47 +0000 (17:29 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Wed, 14 Apr 2004 17:29:47 +0000 (17:29 -0000)
commitfffc6aee71033f2859be042e12083587b1a7365a
tree01a9a9311e4affcb790c9f0c00858777fab4648d
parent9e5dfd977ad5a1319b5c9e5bc176748798bc802a
2004-04-14  Atsushi Enomoto  <atsushi@ximian.com>

* DataSet.cs :
  - In MS output, XML declaration looks to have standalone decl (yes).
  - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
  - ReadXml(reader, mode)
    1) return originally specified mode, instead of (always) Auto.
    2) Check empty reader.
    3) Check diffgram schema and content separately.
    4) When diffgram exists, remaining (the same-level) contents
       won't be consumed.
    5) Similar fact should be applied, but somewhat different.
       InferSchema and IgnoreSchema just skips, Fragment reads both
       schema and content, others just reads schema.
  - Removed unused code.
* XmlDataLoader.cs :
  - Read() should skip in some ReadMode.
  - Don't compare schema element name as case-insensitive (well,
    should schemas be checked here?)
  - Avoided BuildDocument() not to create confusing DataSet
    document element.
  - Don't add any tables when reader has single element.
* XmlDiffLoader.cs :
  When target table was not found, MS.NET doesn't raise an error.
* XmlSchemaMapper.cs :
  When XmlSchema.Read() left xml reader at </xs:schema>, read once.

svn path=/trunk/mcs/; revision=25494
mcs/class/System.Data/System.Data/ChangeLog
mcs/class/System.Data/System.Data/DataSet.cs
mcs/class/System.Data/System.Data/XmlDataLoader.cs
mcs/class/System.Data/System.Data/XmlDiffLoader.cs
mcs/class/System.Data/System.Data/XmlSchemaMapper.cs