Seems this workaround is no longer relevant for Expat 2.7.x, with upstream's elimination of recursion.