Bugs item #1681921, was opened at 2007-03-16 09:47 Message generated for change (Comment added) made by jflokstra You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1681921&group_id=56967
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: PF/runtime Group: Pathfinder CVS Head >Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Jens Teubner (teubner) Assigned to: Jan Flokstra (jflokstra) Summary: XQ: Character escaping is bogus Initial Comment: The current serialization modes escape characters below ASCII 32 as \xxx, where xxx is the octal ASCII code, e.g., echo '""' | MapiClient -lx -o xml <?xml version="1.0" encoding="utf-8"?> <XQueryResult>\003</XQueryResult> Of course, this is nonsense. XML does NOT use backlashes to escape anything. XML uses &-style character entities to escape things. The correct output thus should be <?xml version="1.0" encoding="utf-8"?> <XQueryResult></XQueryResult> (Actually, I'm not sure whether it is at all necessary to escape everything up to ASCII 32.) Assigning to Jan F, since he wrote the initial serialization code. Feel free to re-assign to somebody else. ---------------------------------------------------------------------- >Comment By: Jan Flokstra (jflokstra) Date: 2007-04-23 09:46 Message: Logged In: YES user_id=1054297 Originator: NO Added a test $PF/tests/BugTracker/Tests/char_escape_SF-1681921.xq case closed. ---------------------------------------------------------------------- Comment By: Stefan Manegold (stmane) Date: 2007-04-21 23:09 Message: Logged In: YES user_id=572415 Originator: NO Any progress on the test for this one? Should basically by some cut&paste from the report above ... ---------------------------------------------------------------------- Comment By: Jan Flokstra (jflokstra) Date: 2007-03-16 11:24 Message: Logged In: YES user_id=1054297 Originator: NO Problem is fixed. Solution did not have any effect on existing testsets. Anybody volunteering for a test for this? Otherwise I will make one next week. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1681921&group_id=56967 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Monetdb-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-bugs
