diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2004-01-07 12:05:23 +0300 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2004-01-07 12:05:23 +0300 |
commit | 65b863c896f2fedd1526ff1b84653dcc1dba533a (patch) | |
tree | 083997587742704b6bac6b1bc1138a8147465e80 /mcs/class/System.XML/System.Xml/DTDObjectModel.cs | |
parent | 51e43a37c43542592c0f3980ecd07c5cc09a3a58 (diff) |
2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
* DTDObjectModel.cs, DTDReader.cs, XmlSecureResolver.cs :
avoiding obvious exception.
* DTDReader.cs, XmlTextReader.cs : Some optimization.
Avoided extraneous PeekChar() and reduced name string creation.
svn path=/trunk/mcs/; revision=21797
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, 2 insertions, 1 deletions
diff --git a/mcs/class/System.XML/System.Xml/DTDObjectModel.cs b/mcs/class/System.XML/System.Xml/DTDObjectModel.cs index 31feda211c8..b94d150118f 100644 --- a/mcs/class/System.XML/System.Xml/DTDObjectModel.cs +++ b/mcs/class/System.XML/System.Xml/DTDObjectModel.cs @@ -1057,7 +1057,8 @@ namespace Mono.Xml Uri baseUri = null; try { - baseUri = new Uri (BaseURI); +// if (BaseURI != null && BaseURI.Length > 0) + baseUri = new Uri (BaseURI); } catch (UriFormatException) { } |