changed the parsing of a document's DTD to use the proper base path (bug * valid.c: changed the parsing of a document's DTD to use the proper base path (bug 144366)