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