Makes the XML parser more tolerant to malformed text.
Makes the XML parser more tolerant to malformed text.If errorChar is 0 (default), the parser is strict about XML encoding : invalid UTF-8 sequences or "&" entities are rejected, and the parsing aborts. If errorChar is not 0, the parser is relaxed : invalid UTF-8 characters are replaced by the errorChar, and invalid "&" entities are left untranslated. The parsing is then allowed to continue.