For some years i've had a subsystem that directly manipulates MS OpenXML files.

For some years i've had a subsystem that directly manipulates MS OpenXML files.

Regarding Zip libraries, i've tried the built-in (XE2) two different ways and Abbrevia two different ways. Also another 3rd party Zip library. All of them has some bug or thingy that surfaces when the load and complexity increases.

Early on i adapted OmniXML for manipulating the parts. OmniXML has worked good. No big problems, but when moving to Berlin it seemed a bit unmaintained and so i switched that too.

So the winners:

Zipping: units from mORMot. Brilliant! Fast. Does not puke!
XML:ing: Oxml (kluug.net).

I have not retained the old sources after this latest refactoring but things feel a lot speedier and it's perfectly stable now. I'm happy!

(This code runs in a multithreaded server environment).

Comments

  1. OmniXML included in Berlin (in TXMLDocument) is unmaintained?
    Or you do speak about other OmniXML sources?

    ReplyDelete
  2. Cristian PeÈ›a​ i will check that out. Yes, i had it from somwhere else, started using it in xe2 i think, perhaps earlier.

    ReplyDelete
  3. In XE2 i havi OmniXML from an SVN that seems to be closed. I remember having compile problems when moving to XE7. When trying to move a lot of things to Berlin we decided we'll minimize the libraries that has to be tweaked for new Delphi versions. I did use the build in XML handling at some point. This was way before Berlin. I had specific problems with some of the XML parts where Office is picky about a line break. Cristian Peța, i'm sorry, i run a tight shop so i do not have the luxury to evaluate each and every step.

    ReplyDelete
  4. I think it's a good habit to read what's new when a Delphi version is released. OmniXML was included in Delphi some years ago.
    But it's slower than MSXML on Windows. I use it only on mobile.

    ReplyDelete
  5. Another good XML library is the one that comes with SecureBlackBox from Eldos. It's fast and all Delphi, and comes with XML signatures. The SecureBlackBox bundle is worth every penny.

    ReplyDelete
  6. Leonardo Herrera, are you 100% SBB has delphi/pascal source code? They are pricey but complete and well maintained, yes. I thought SBB came w/o source or "untraceable" sources.

    ReplyDelete
  7. Dany Marmur With subscription you get all the source code. Yes, it's all Delphi, but they do some magic to have a parallel .NET distribution.

    ReplyDelete

Post a Comment