private static DocumentTypeManager setupTypes() {
        DocumentTypeManager dtm = new DocumentTypeManager();
        DocumentType docType = new DocumentType("doctype");
        docType.addField("bytefield", DataType.BYTE);
        docType.addField("intfield", DataType.INT);
        docType.addField("longfield", DataType.LONG);
        docType.addField("floatfield", DataType.FLOAT);
        docType.addField("doublefield", DataType.DOUBLE);
        dtm.register(docType);
        return dtm;
    }
@author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a>
@since 5.1.29
document/src/test/java/com/yahoo/vespaxmlparser/XMLNumericFieldErrorMsgTestCase.java