diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2005-05-30 08:27:21 +0400 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2005-05-30 08:27:21 +0400 |
commit | 16505f6e8be512ed3627664b6579dad0479bb126 (patch) | |
tree | 1efb6c1124888d17f20eb4f45f5c745a3f02e89f /mcs/class/System.XML/System.Xml/DTDObjectModel.cs | |
parent | 07a4d5c837ae49e5512e4c85dd6c6c9180f88be2 (diff) |
2005-05-30 Atsushi Enomoto <atsushi@ximian.com>
* DTDObjectModel.cs : in DTDEntityBase.Resolve() don't overwrite
BaseURI which results in incorrect URI resolution.
svn path=/trunk/mcs/; revision=45177
Diffstat (limited to 'mcs/class/System.XML/System.Xml/DTDObjectModel.cs')
-rw-r--r-- | mcs/class/System.XML/System.Xml/DTDObjectModel.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mcs/class/System.XML/System.Xml/DTDObjectModel.cs b/mcs/class/System.XML/System.Xml/DTDObjectModel.cs index 42fcdcf5815..9fcbcd82cfa 100644 --- a/mcs/class/System.XML/System.Xml/DTDObjectModel.cs +++ b/mcs/class/System.XML/System.Xml/DTDObjectModel.cs @@ -1021,7 +1021,6 @@ namespace Mono.Xml s = resolver.GetEntity (absUri, null, typeof (Stream)) as Stream; XmlTextReaderImpl xtr = new XmlTextReaderImpl (absPath, s, Root.NameTable); // Don't skip Text declaration here. LiteralEntityValue contains it. See spec 4.5 - this.BaseURI = absPath; LiteralEntityValue = xtr.GetRemainder ().ReadToEnd (); Root.ExternalResources.Add (absPath, LiteralEntityValue); |