Hi Folks,
I've found a bug in AbiCollab code to do with TAB's.
Basically libxml2 is converting tab's to spaces in this function.
szValue = (char *)xmlTextReaderGetAttribute(reader, (const xmlChar
*)"value");
This retrieve escapeXML'd text from the xmlparser. The text from the
originating abiword is created with this code:
UT_UTF8String sText;
sText.appendUCS4(pChars,iLen);
sText = sText.escapeXML();
The escapeXML() method just converts <, >, ", and & and leaves TAB's
intact.
However upon being received the TAB's are converted to spaces via:
szValue = (char *)xmlTextReaderGetAttribute(reader, (const xmlChar
*)"value");
So what should we do to fix this?
Thanks!
Martin
Received on Thu Jul 13 08:57:04 2006
This archive was generated by hypermail 2.1.8 : Thu Jul 13 2006 - 08:57:04 CEST