Bugs item #1743442, was opened at 2007-06-26 12:24
Message generated for change (Comment added) made by tsheyar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1743442&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 general
Group: Pathfinder 0.18
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Joris van Rantwijk (jvrantwijk)
Assigned to: Jan Rittinger (tsheyar)
Summary: XQ: illegal XML syntax in serialized attributes

Initial Comment:
If the result of an XQuery is an attribute node, the default serializer in 
Pathfinder returns something which is almost, but not quite, an XQuery 
expression. I think that quoting and escaping the attribute value would make 
the result more useful.

For example, the following query:
  <aap q="noot &quot; mies" />/@q

returns the following result:
  attribute q { noot " mies }

while the following might be better:
  attribute q { "noot &quot; mies" }


----------------------------------------------------------------------

>Comment By: Jan Rittinger (tsheyar)
Date: 2007-07-03 22:02

Message:
Logged In: YES 
user_id=993208
Originator: NO

I aligned the serialization of attributes in mode DM with Joris'
suggestion. (I am however a little bit puzzled that mode DM is the default
mode.)

Added test BugTracker/attribute_serialization.SF-1743442

----------------------------------------------------------------------

Comment By: Peter Boncz (boncz)
Date: 2007-07-03 12:07

Message:
Logged In: YES 
user_id=591107
Originator: NO

renamed bug with XQ: in title

----------------------------------------------------------------------

Comment By: Peter Boncz (boncz)
Date: 2007-07-03 12:01

Message:
Logged In: YES 
user_id=591107
Originator: NO

Jan, maybe have a look at this one?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1743442&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

Reply via email to