public int pi_1()
{
using (XmlWriter w = CreateWriter())
{
w.WriteStartElement("Root");
w.WriteProcessingInstruction("test", "This text is a PI");
w.WriteEndElement();
}
return CompareReader("<Root><?test This text is a PI?></Root>") ? TEST_PASS : TEST_FAIL;
}