Entity resolver for local loading dtds used by layers