public int writeNode_XmlReader38()
{
string strxml = "<!DOCTYPE root SYSTEM \"#\"><root/>";
try
{
using (XmlReader xr = CreateReader(new StringReader(strxml)))
{
using (XmlWriter w = CreateWriter())
{
w.WriteNode(xr, (bool)CurVariation.Param);
}
}
}
catch (XmlException e) { CError.WriteLine(e); return TEST_PASS; }
return TEST_FAIL;
}