Building on the Toronto Code Sprint 2009 (I had the honour of helping Paul set this up), this year MapServer, GDAL, PostGIS, etc. devs are headed to to the Big Apple for the New York Code Sprint 2010. Having participated in last year’s event, I can say that it is a fun, spirited and productive event. Though I won’t be able to make it there in person this year, I will be among those ‘present in spirit’ on #tosprint over the weekend.
Keep an eye on Paul’s blog for sprint updates. Have fun guys!
MapServer outputs XML by way of a modified printf as well as using libxml2 for newer code. Here was a case of a feature being added to older code. I’ve always pushed for libxml2 as it negates the possibilities of trying to print out XML via printf, which IMHO is error prone and can lead to poorly formed and invalid XML, and tons of printf’s for closing elements. Something like libxml2 trims down your code so you don’t have to do that (just declare the element, and libxml2 will close it for you). Same goes for etree for python folks.
At the same time, using something like libxml2 can yield heavy processing, especially for huge XML response (did someone say WFS GetFeature responses?).
What do you use for outputting XML in your development environment?
Modified: 3 February 2010 18:57:08 EST
The views expressed here are my own and do not necessarily reflect the views of my employer.