public int elemNamespace_19()
{
using (XmlWriter w = CreateWriter())
{
w.WriteStartElement("foo", "Root", "NS");
w.WriteStartElement("bar", null);
w.WriteEndElement();
w.WriteEndElement();
}
return CompareReader("<foo:Root xmlns:foo=\"NS\"><bar /></foo:Root>") ? TEST_PASS : TEST_FAIL;
}