Hi Godmar,
Am 19.08.2010 14:13, schrieb Godmar Back:
Most probably the XQJ binding handled this escaping automatically, perhaps a team member with more expertise in XQJ could address this.
Alright, I suppose I have to consult your XQJ code because in order to avoid it I have to reimplement it.
the XQJ binding traverses the DOM tree by itsself (which will be changed in the near future because of the ecxcessive complexity related to finding and declaring implicitly declared namespaces...). I'm currently working on a more stable approach. I therefor wouldn't recommend taking the old code as reference.
Wouldn't be the simplest solution to your problem to replace the characters '{' and '}' in the serialized XML string with their character entities ("{" and "}" respectively)? I can't think of situations when it would destroy the markup and the parsing process converts them back either way.
Hope I could help, cheers Leo