replicating squizz_cs fix for cached xml as well