@Test
/** Tests the validator with valid XML having invalid characters*/
public void testInvalidCharacters() throws Exception
{

  byte[] file1 = VALID_XML_FRAGMENT1.getBytes(XML_ENCODING);
  byte[] file2 = VALID_XML_FRAGMENT1.getBytes(XML_ENCODING);
  file2[30] = (byte)1;
  File tmpDir = createTestDir(file1, file2);
  XmlFormatTrailValidator validator = createValidator(tmpDir, true);
  Assert.assertFalse(validator.run());
}