Allow surrogate chars in xml builder