Validation on DTD import with errors and line number