I try to use the XMLPartner with Delphi 2006. I succed in compiling the project but when I try to execute it, it fails in the function LoadMemory(value[1],length(Value))
The error message is
Line1 Col1 Error: Expected String '<'
I've checked and the XML string that I pass over is well formed.
Does anyone has any ideas ?
Thanks in advance,
@Bog
P.S: the same project works fine in Delphi 7.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi !
I try to use the XMLPartner with Delphi 2006. I succed in compiling the project but when I try to execute it, it fails in the function LoadMemory(value[1],length(Value))
The error message is
Line1 Col1 Error: Expected String '<'
I've checked and the XML string that I pass over is well formed.
Does anyone has any ideas ?
Thanks in advance,
@Bog
P.S: the same project works fine in Delphi 7.
I had a similar problem, not sure if its related or not. Check out:
http://qc.borland.com/wc/qcmain.aspx?d=25069
Turbopower uses WideChars so whereever it uses
WideChar_Variable = ''
it will return false
Thanks dogcatmouse !
You were right.
Have a nice day !
Hi,
I have the same error under D2007 (went from D7 to D2007, it should be good coz it also has a 7 in it :)).
while I now understand xml partners uses widechar and windechar='' gives false, I've changed
DOMString = WideString;
to
DOMString = String;
and
DOMChar = WideChar;
PDOMChar = PWideChar;
to
TXpUcs4Char = Longint;
TXpUtf8Char = string[6];
Yet I run into other problems. Before running them down and fix them all and ... cripple the packet, I wanted to know how you fixed it ?
thanx!