public int lookupPrefix_5()
{
using (XmlWriter w = CreateWriter())
{
w.WriteStartElement("Root");
w.WriteAttributeString("ns1", "attr1", "foo", "val1");
string s = w.LookupPrefix("foo");
CError.Compare(s, "ns1", "Error");
}
return TEST_PASS;
}