public int XmlLang_2()
{
using (XmlWriter w = CreateWriter())
{
w.WriteStartElement("Root");
if (w.XmlLang != null)
{
w.Dispose();
CError.WriteLine("Default value if no xml:lang attributes are currentlly on the stack should be null");
CError.WriteLine("Actual value: {0}", w.XmlLang.ToString());
return TEST_FAIL;
}
}
return TEST_PASS;
}