public int attribute_7()
{
using (XmlWriter w = CreateWriter())
{
w.WriteStartElement("Root");
w.WriteStartAttribute("pre1", "attr1", "http://my.com");
w.WriteEndAttribute();
w.WriteEndElement();
}
return CompareReader("<Root pre1:attr1=\"\" xmlns:pre1=\"http://my.com\" />") ? TEST_PASS : TEST_FAIL;
}