Global document validation