Friday 12 July 2002
Started some work to make building the SAX library a little more straightforward. XMLReader now has a little #ifdef ladder which pulls in the defines parser, and sets SAX::XMLReader
as a synonym for it.
For instance, if your code included SAX/wrapper/saxexpat.h, you'd instantiate SAX::expat_wrapper
. Now, you can define USE_EXPAT and instantiate SAX::XMLReader
. Later if you needed to use MSXML or Xerces (perhaps on a different platform), you'd simply rebuild with USE_MSXML defined instead.
It's still quite earlier and there are undoubtedly flaws in this plan, but I think it's going to help.
It's available from CVS if you want to take a look.