Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2012-04

XML parser

7 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Juha Manninen

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?

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

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?

Juha

Reply by email

Unknown author
to Juha Manninen
Juha Manninen wrote 9 lines
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.

Show quoted text 8 lines
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.

Michael.

Reply by email

Michael Schneider
to Juha Manninen: Hi I have a new job. Now I am looking for a proper XML parser for Delphi, for big XML…
Juha Manninen wrote 23 lines
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? Another question: What does the license say about using FCL-XML in a commercial Delphi project? 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? Juha

NativeXml?
http://www.simdesign.nl/xml.html

Reply by email

Howard Page-Clark
to Juha Manninen: Hi I have a new job. Now I am looking for a proper XML parser for Delphi, for big XML…
Juha Manninen wrote
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.

Another option is kbmMW from

http://www.components4programmers.com/products/index.htm

The entry level product is free. It has a very capable XML DOM parser and generator, in addition to lots of other functionality.

Reply by email

Marco van de Voort
to Juha Manninen

In our previous episode, Juha Manninen said:

there are so many choices. I did not find most of them with a simple Google search. I will look at them more closely next week.

IIRC there is also an "omnixml" xml parser, but it seems the homepage is temporarily offline atm:

www.omnixml.com/download.html

Reply by email

Sven Barth
to Juha Manninen: Hi I have a new job. Now I am looking for a proper XML parser for Delphi, for big XML…
"Juha Manninen" wrote
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.

You know that on Windows for 32-bit processes the memory limit is 2GB? The remaining part of the address space is used by the OS (Note: the usable space can be extended to 3GB by setting a flag in the executable and starting Windows using a certain switch).

Regards,
Sven

Reply by email