diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2003-07-31 22:01:50 +0400 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2003-07-31 22:01:50 +0400 |
commit | 3de188080d415abd17f407788031409233942f50 (patch) | |
tree | 1c83b05622e8d0e1499af03948574f8921597368 /mcs/class/System.XML/System.Xml/DTDObjectModel.cs | |
parent | c7d9a0b0d6dfd1d9dec29280c7550a0c7e5cf1f0 (diff) |
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
Diffstat (limited to 'mcs/class/System.XML/System.Xml/DTDObjectModel.cs')
-rw-r--r-- | mcs/class/System.XML/System.Xml/DTDObjectModel.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mcs/class/System.XML/System.Xml/DTDObjectModel.cs b/mcs/class/System.XML/System.Xml/DTDObjectModel.cs index 58ba5b1bbc2..c17b39ee889 100644 --- a/mcs/class/System.XML/System.Xml/DTDObjectModel.cs +++ b/mcs/class/System.XML/System.Xml/DTDObjectModel.cs @@ -38,6 +38,8 @@ namespace Mono.Xml public string SystemId; public string InternalSubset; + + public bool InternalSubsetHasPEReference; public string ResolveEntity (string name) { @@ -556,6 +558,7 @@ namespace Mono.Xml public string NotationName; // FIXME: should have more complex value than simple string public string EntityValue; + public bool IsInternalSubset; internal DTDEntityDeclaration () {} } |