This function is used to ensure that the markup is well-formed and valid according to the DTD. It is currently not implemented.