Problem with the serialization of a boolean value in delphi
Posted on 2007-11-21
I'm having this wee problem whereby a Boolean value is not being serialized correctly (to lowercase true or false - following the xml standard) for an object that inherits from TRemotable - it always capitalises that first letter of each. I've tried overriding the ObjectToSoap method of the TRemotable class - but this would mean having to iterate through each node to determine if it contains that value "True" or "False", and lowercasing it - a time consuming process, is there an easier way? Any help would be greatly appreciated.
Thanks in advance...