[fpc-pascal] XML parser

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Fri Apr 6 08:59:57 CEST 2012

On Fri, 6 Apr 2012, Juha Manninen wrote:

> Hi
> I have a new job.
> Now I am looking for a proper XML parser for Delphi, for big XML files.
> The default Delphi parser, using MS DOM, chokes badly. 4 GB memory is not
> enough for it.
> Question:
> Does FCL-XML work with a new Unicode Delphi?

I seriously doubt it.

> Another question:
> What does the license say about using FCL-XML in a commercial Delphi
> project?

It's the FPC license, so perfectly OK for this.

> I found a Delphi SAX parser from SourceForge. It gave errors on
> Scandinavian alphabets ä, ö etc.
> I commented out some hard-coded checks and finally it stopped working
> completely.
> Not a good parser!
> There are some other choices like SimpleXML. Should I use that?

You can try OpenXML ?

Delphi's XML parser can use it. It can also use Xerxes, if I'm correct.


More information about the fpc-pascal mailing list