public int attrNamespace_42()
{
using (XmlWriter w = CreateWriter())
{
w.WriteStartElement("pre", "foo", "ns1");
w.WriteAttributeString(null, "xmlns", "http://www.w3.org/2000/xmlns/", "ns");
w.WriteEndElement();
}
return CompareReader("<pre:foo xmlns='ns' xmlns:pre='ns1' />") ? TEST_PASS : TEST_FAIL;
}
}