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