2003-07-12 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
authorAtsushi Eno <atsushieno@gmail.com>
Sat, 12 Jul 2003 07:39:25 +0000 (07:39 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Sat, 12 Jul 2003 07:39:25 +0000 (07:39 -0000)
commit86b8448fdb822ca1f72a61c85b1dbe2ae05f8527
treefb963987fe9284b7948f25c80ff9f77834b8e918
parentaececc6f872ed754acca6f96483123ce00827400
2003-07-12  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlAttribute.cs,
  XmlElement.cs : Fixed CloneNode() for bug #46129.
* XmlDocument.cs : Fixed MakeReaderErrorMessage that specified invalid
  String.Format arguments, and basically XmlException.ctor(
  IXmlLineInfo, message) seems good idea to use.
* XmlTextReader.cs :
  - Fixed .ctor(Stream, XmlNodeType, XmlParserContext) which had
    required non-null context which don't have to exist.
  - Added state check. Introduced 'currentState' and 'maybeTextDecl'
    (for external entity) and removed hasEnteredDocument. Added
    state-check logic to ReadStartTag(), ReadEndTag(), ReadText(),
    ReadCData(), ReadDoctypeDecl() and ReadWhitespace().
  - Replaced throw ReaderError() with throw new XmlException() and
    fixed that some error hadn't thrown, only created.
  - ResetState() should re-initialize existing private members other
    than some specified fields.
  - Private AddAttribute() should check if the same-named attribute
    already exists.
* DTDObjectModel.cs : Additive declaration for ATTLIST is availabe now.

svn path=/trunk/mcs/; revision=16131
mcs/class/System.XML/System.Xml/ChangeLog
mcs/class/System.XML/System.Xml/DTDObjectModel.cs
mcs/class/System.XML/System.Xml/XmlAttribute.cs
mcs/class/System.XML/System.Xml/XmlDocument.cs
mcs/class/System.XML/System.Xml/XmlElement.cs
mcs/class/System.XML/System.Xml/XmlTextReader.cs