public int BinHex_8()
{
byte[] buffer = new byte[10];
using (XmlWriter w = CreateWriter())
{
w.WriteStartElement("root");
w.WriteStartAttribute("xml", "lang", null);
w.WriteBinHex(buffer, 0, 0);
w.WriteEndElement();
}
return CompareReader("<root xml:lang=\"\" />") ? TEST_PASS : TEST_FAIL;
}