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: Open
>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>&#3;</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-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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to