2003-07-31 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
authorAtsushi Eno <atsushieno@gmail.com>
Thu, 31 Jul 2003 18:01:50 +0000 (18:01 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Thu, 31 Jul 2003 18:01:50 +0000 (18:01 -0000)
commit3de188080d415abd17f407788031409233942f50
tree1c83b05622e8d0e1499af03948574f8921597368
parentc7d9a0b0d6dfd1d9dec29280c7550a0c7e5cf1f0
2003-07-31  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlParserContext.cs,
  XmlAttribute.cs,
  XmlElement.cs : Added internal Dtd and new internal XmlParserContext
  .ctor() that takes DTDObjectModel. And then rewrote classes which
  uses DTD information. Changed DocTypeName, InternalSubset, PublicId
  and SystemId to use DTDObjectModel.
* DTDObjectModel.cs :
  Added DTDObjectModel.InternalSubsetHasPEReference.
  Added DTDEntityDeclaration.IsInternalSubset.
* XmlTextReader.cs :
  Added internal GetInternalParserContext (to build entity reader).
  Added private isIntSubset to check if the DTD subset is internal or
  external, which might affect well-formedness constraints.
  Changed GenerateDTDObjectModel to return the resulting DTD model.

* XmlEntityReference.cs : implemented BaseURI.
* XmlNodeReader.cs :
  - Implemented ResolveEntity() and CanResolveEntity(). In fact
    it leads too many changes on almost all methods and properties,
    since they now must be aware of entityReader.
  - fixed ownerElement that might be used to return from attribute
    value to the element through parent attribtues.
  - Now changed indexer to call GetAttribute() and moved actual logic
    to the matching GetAttribute() methods.

svn path=/trunk/mcs/; revision=16946
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/XmlElement.cs
mcs/class/System.XML/System.Xml/XmlEntityReference.cs
mcs/class/System.XML/System.Xml/XmlNodeReader.cs
mcs/class/System.XML/System.Xml/XmlParserContext.cs
mcs/class/System.XML/System.Xml/XmlTextReader.cs