XML Parser

In one of my projects I needed to process XML files with document type definitions (DTD). The first couple of attempt failed miserably. But after some research I managed to cope:

See also the XML Validator, the Caching Entity Resolver and the Null Entity Resolver