@Test
public void getDatatypeDocumentEmpty() throws ValidationException {

    QName qn = new QName("document()?");
    Datatype dt = instance.getDatatype(qn);
    assertTrue("Datatype for document()? does not allow empty", dt.allowsEmpty());
}