Bugs item #1242288, was opened at 2005-07-21 21:31 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1242288&group_id=31650
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: cvs Status: Open Resolution: None Priority: 5 Submitted By: Henry (henryl) Assigned to: Nobody/Anonymous (nobody) Summary: XmlLogger doesn't handle characters in the range 0x-0x1F Initial Comment: The XmlLogger doesn't handle characters in the range 0x-0x1F correctly (excluding whitespace). It will happily write messages with these characters to the xml log file, resulting in invalid xml. You can get log messages with these characters when running console applications that modify the console window (for example, by writing \x0008 (backspace)). A possible fix is to use _xmlWriter.WriteString(rawMessage); which handles these characters, instead of _xmlWriter.WriteCData(StripCData(rawMessage)); which doesn't. I haven't submitted a patch to do this because some XmlLogger tests depend on cdata functionality (they check explicitly for cdata in the output). Attached is a patch for a unit test to test this. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1242288&group_id=31650 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers