Check the docbook file before using it.