add DTDParser and get resources