2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Sun, 23 Oct 2005 19:10:47 +0000 (19:10 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Sun, 23 Oct 2005 19:10:47 +0000 (19:10 -0000)
commit21b9253d8bee6fbe19e11b3cc7f22951f18fc1f9
treeef25ad5d1d68fd235a433972b0d62762a796c0cd
parentb02ef389e27c013dae0661a7e069c5669a0b1523
2005-10-23  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader.cs, DTDValidatingReader.cs : LookupNamespace("") for
  default namespace was returning "" instead of null. It didn't check
  empty namespace URI for non-empty prefixes.

* XmlTextReaderTests.cs, XmlValidatingReaderTests.cs,
  XmlReaderCommonTests.cs : added and fixed tests to make sure that
  LookupNamespace("") returns null for default namespace, and checks
  that empty namespace URI is not allowed for non-empty prefix.

svn path=/trunk/mcs/; revision=52099
mcs/class/System.XML/System.Xml/ChangeLog
mcs/class/System.XML/System.Xml/DTDValidatingReader.cs
mcs/class/System.XML/System.Xml/XmlTextReader.cs
mcs/class/System.XML/Test/System.Xml/ChangeLog
mcs/class/System.XML/Test/System.Xml/XmlReaderCommonTests.cs
mcs/class/System.XML/Test/System.Xml/XmlTextReaderTests.cs
mcs/class/System.XML/Test/System.Xml/XmlValidatingReaderTests.cs