> 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. 

Ludo

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to