Fix build, we need to return the empty string if neither the doc nor fragment is valid