public int elemNamespace_12()
{
using (XmlWriter w = CreateWriter())
{
w.WriteStartElement("x", "Root", "foo");
w.WriteAttributeString("x", "attr", "foo", "b");
w.WriteEndElement();
}
return CompareReader("<x:Root x:attr=\"b\" xmlns:x=\"foo\" />") ? TEST_PASS : TEST_FAIL;
}