public int element_10d()
{
using (XmlWriter w = CreateWriter())
{
try
{
w.WriteDocType("a", "b", "c", "d");
w.WriteStartElement("Root");
for (int i = 0; i < 200; i++)
{
w.WriteAttributeString("p", "a", "n" + i, "val");
}
w.Dispose();
}
catch (XmlException e)
{
CError.WriteLine(e);
return TEST_FAIL;
}
}
return TEST_PASS;
}