[fpc-pascal] Patch: new XML export for FCL-DB readyforinclusion, issue 19790 - includes Delphi Clientdataset
Ludo Brands
ludo.brands at free.fr
Thu Jul 28 10:28:20 CEST 2011
>
> >>> - when a string field contains the > character, the row is not
> >>> imported but the previous one is duplicated.
> >> Strange, shouldn't this be handled by the XML export code?
> >
> > Debugged xmlwrite.pp. In DelphiClientDataset, values are
> sent out as
> > attributes of ROW. Line 133 in xmlwrite.pp specifies special
> > characters for attributes as AttrSpecialChars = ['<', '"', '&', #9,
> > #10, #13]; It doesn't include '>'. Is delphi violating the
> rules or is
> > xmlwrite.pp too conservative, I don't know. Adding '>' to
> > AttrSpecialChars seems to be a save solution. Another issue in
> > bugtracker?
>
> Yes, and please assign it to sergei gorelkin.
>
Do you have any indication if it is actually a bug to not consider '>' as a
special character? I googled a bit but only found contradicting info.
Question of correctly tagging it as feature request or bug.
Didn't know a "reporter" could assign issues to somebody.
Ludo
> Michael.
More information about the fpc-pascal
mailing list