[fpc-devel] TXMLDataPacketReader width field attribute
Dimitrios Chr. Ioannidis
d.ioannidis at artesoft.gr
Wed Feb 29 10:44:42 CET 2012
Hi all,
the other day i had to do a utility to talk with a delphi written app
via its web services api. In no time i had build a prototype with WST
which worked perfectly.
Now because the result sets was midas's datapacket i added a
bufdataset and used the xmldatapacketreader unit. The only problem i had
was that the result midas's datapacket, for the field type 'string', the
attribute 'WIDTH' was in upper case. So i copied and renamed the unit
and just changed the check from
AFieldDef.Size:=StrToIntDef(GetNodeAttribute(AFieldNode,'width'),0); to
AFieldDef.Size:=StrToIntDef(GetNodeAttribute(AFieldNode,'WIDTH'),0);
Doeas anybody know if this is the default midas's datapacket format so
the check in the xmldatapacketreader needs to be changed ?
regards,
--
Dimitrios Chr. Ioannidis
More information about the fpc-devel
mailing list