[fpc-pascal] XML_XSD export was: Timezone informationin adatasetdatetimefield?
ludo.brands at free.fr
Tue Jul 26 10:42:35 CEST 2011
> Thanks, Ludo. Applied in mercurial commit 48 2af395d3102c
The patch was improved in a later message...
> Some questions:
> 1: newb alert: if I do patch -i xmlxsd.diff.txt
> fpxmlxsdexport.pp I get patching file `fpxmlxsdexport.pp'
> patch: **** `<' expected at line 12 of patch
> Maybe some kind of line ending issue?
> (I applied the patch manually)
That's possible. I used cygwin diff -> Linux line endings
> 2. UTF8Decode('idx' + UTF8Decode(StringReplace(Index.Fields,
> ';', '_', [rfReplaceAll, rfIgnoreCase])) + IntToStr(Index.ID)));
> Why are you doing an extra UTF8Decode of the StringReplace
> part? The entire string will get UTF8Decoded anyway?
You're right. Did a cut and paste from a few lines below and didn't pay
attention to the double convert.
More information about the fpc-pascal