XMLRenderer correctly escapes the surrogate characters AvoidDuplicateLiterals tries to reconstruct original string literal