fixed Dtd issues on Linux.