Arabica - easing the build

Started some work to make building the SAX library a little more straightforward. XMLReader now has a little #ifdef ladder which pulls in the defined parser, and sets SAX::XMLReader<stringT> as a synonym for it.

For instance, if your code included SAX/wrapper/saxexpat.h, you’d have been instantiating SAX::expat_wrapper<std::string>. Now, you can define USE_EXPAT and instantiate SAX::XMLReader<std::string>. Later if you needed to use MSXML or Xerces (perhaps on a different platform), you’d simply rebuild with USE_MSXML or USE_XERCES defined instead.

It’s still quite early and there are undoubtedly flaws in this plan, but I think it’s going to help.


Tagged code, arabica, xml, and c++


Jez Higgins

Freelance software grandad
software created
extended or repaired


Jez Higgins

Freelance software grandad
software created
extended or repaired


Jez Higgins

Freelance software grandad
software created
extended or repaired



Jez Higgins

Freelance software grandad
software created
extended or repaired


Jez Higgins

Freelance software grandad
software created
extended or repaired


Jez Higgins

Freelance software grandad
software created
extended or repaired