[inline]
Gets pointer to character data where error happened. Ch should be the same as char type of xml_document that produced the error.