>>> I have a problem with xml attachments. When I send xml attachment I'll >>> get little bit different file than the previous which I sent. File is >>> bigger and has more spaces and probably other synbols ( like CR ). The >>> result is totally bad, cause xml file is unreadable ( I got message XML >>> Parsing Error: not well-formed ) >> >> >> Check that there are no extra characters, such as line feeds, outside >> the SquirrelMail PHP tags (<?php ?>) - especially in files you modified >> yourself such as configuration files. Sometimes extra char's breaks >> attachments when downloading them. >> >> Do you have the same problem with other attchments as well? Are the XML >> attachments valid when saved using another client? > > > I cannot specify which character in xml file is "incorrect" but here is > a xml sample that is wrong ( or wrong when you sent it through SM ) I > login into SM , attach this xml attachment and sent to other address. > Then save this attachment and you can see that file size is larger then > origin and unparseable
Please keep the conversation at the list, and please don't top post. I compared the two versions you sent me. This is what I found: 990 identical bytes (in both files) CR LF Space (only in the modified file) 989 identical bytes (in both files) CR LF Space (only in the modified file) 989 identical bytes (in both files) CR LF Space (only in the modified file) 39 identical bytes (in both files) CR LF (only in the original file) Something is stripping out the original "CR LF" combination and inserts "CR LF Space" after every 990:th byte, counting the space as on byte thus inserting the next "CR LF Space" after 989 bytes of original content. Since they didn't break for me, and I use SquirrelMail as well, I assume that you can send attachments without corrupting them and that the extra bytes are inserted either when your MTA delivers the mail to your IMAP server or when you save the attachments using your SquirrelMail installation, i.e. something is broken in your system. Have your system administator check your SquirrelMail installation for extra characters in the source code, as I stated in my previous mail. Also, please answer the questions I asked. If you have the same problem using another client, SquirrelMail isn't the culprit. What's your SquirrelMail version number? Sincerely, Fredrik. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users