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