Jez Higgins

Freelance software generalist
software created
extended or repaired


Older posts are available in the archive or through tags.

Feed

Follow me on Twitter
My code on GitHub

Contact
About

Wednesday 28 November 2012 Arabica Release - 2012 November

Since putting the Arabica source up on GitHub there seems to have been a little surge in interest in it. It might be coincidence, of course, but I've received several emails and patches of the past few weeks. Once of those emails prompted me to do something I'd been putting off - parameterise the XSLT engine on string type. All the rest of the library is as string type agnostic as I could make it, allowing you to plug in std::string, std::wstring, or whatever other string class you might fancy. (In testing, I actually use a string type with no public member functions.) The XSLT engine was the last hold out, but no more and for the better.

If you've been using the XSLT engine what this means is that where you wrote

    Arabica::XSLT::StylesheetCompiler compiler = ...
    std::auto_ptr<Arabica::XSLT::Stylesheet> stylesheet = ...
you now have to write
    Arabica::XSLT::StylesheetCompiler<std::string> compiler = ...
    std::auto_ptr<Arabica::XSLT::Stylesheet<std::string> > stylesheet = ...
If you haven't been using the XSLT engine because the rest of your application uses std::wstring, then now there's nothing to stop you. Dive in!

Source tar.bz2
http://sourceforge.net/projects/arabica/files/arabica/November-12/arabica-2012-November.tar.bz2/download

Source tar.gz
http://sourceforge.net/projects/arabica/files/arabica/November-12/arabica-2012-November.tar.gz/download

Source zip
http://sourceforge.net/projects/arabica/files/arabica/November-12/arabica-2012-November.zip/download


Changes and Bug Fixes

DOM

  • Expand entity references
  • getLineNumber/getColumnNumber return size_t
  • handle [dtd] pseudo-entity correctly
  • various, mostly obscure, DOM conformances fixes

XSLT

  • XSLT engine is now, like the rest of Arabica, parameterised on string type

Build and installation

  • Solution and project files for Visual Studio 2012 are provided
  • Donated CMake build files included


Tagged code, arabica, xml, and c++


Jez Higgins

Freelance software generalist
software created
extended or repaired

Older posts are available in the archive or through tags.

Feed

Follow me on Twitter
My code on GitHub

Contact
About