I have set XMLInputFactory.SUPPORT_DTD to Boolean.FALSE as the DTD for the data
I need to parse contains no information and would slow down things too much. But
now I get this error message:
Doctype declaration is not allowed.
Is this a bug or a feature? None of the other StaX parsers I have tested so far
had this behavior...