From Sergey Linev: Patch in TXMLEngine to support both single and double quotes

(cherry picked from commit 975a940db4419884864006084c8c977bd4cb3984)