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