Re: [fpc-devel] XML Parser problems with C-Data and Character Encoding

2012-09-27 Thread Graeme Geldenhuys
On 2012-09-27 14:50, michael.vancann...@wisa.be wrote: > I did some benchmarking. Using XML (well, SOAP) makes a typical > application 6 times slower than a comparative binary transmission > mechanism. Just curious, did you even do that test with JSON as well? Probably still slower than binary, bu

Re: [fpc-devel] XML Parser problems with C-Data and Character Encoding

2012-09-27 Thread michael . vancanneyt
On Thu, 27 Sep 2012, Andrew Brunner wrote: On 09/27/2012 04:19 AM, Mattias Gaertner wrote: Have you tried setting the right encoding in the xml? > http://mantis.freepascal.org/view.php?id=22990 I have, and it did and it did work (thanks Sergei :-) Maybe you can explain what you are trying

Re: [fpc-devel] XML Parser problems with C-Data and Character Encoding

2012-09-27 Thread Andrew Brunner
On 09/27/2012 04:19 AM, Mattias Gaertner wrote: Have you tried setting the right encoding in the xml? > http://mantis.freepascal.org/view.php?id=22990 I have, and it did and it did work (thanks Sergei :-) Maybe you can explain what you are trying to do? I have a cloud social virtual operati

Re: [fpc-devel] XML Parser problems with C-Data and Character Encoding

2012-09-27 Thread Mattias Gaertner
Andrew Brunner hat am 26. September 2012 um 21:21 geschrieben: >[...] > If c-data contains any character whose ordinal value is greater than 127 > the XML parser raises an exception. Have you tried setting the right encoding in the xml? >[...] > Is there a ANY case where dropping c-data is OK

[fpc-devel] XML Parser problems with C-Data and Character Encoding

2012-09-27 Thread Andrew Brunner
From time to time I get XML parsing exceptions even though I disabled data validation. If c-data contains any character whose ordinal value is greater than 127 the XML parser raises an exception. I realize fpc's parser is not the only one with this problem. So who's infinite wisdom decided