RapidXml – A Lightweight xml Library for C++

I don’t write in C++ frequently and I can’t say that I am sad about that. However, we all have those projects where, for some reason or another, we must use a tool that wouldn’t normally be our first choice. In one particular case, just recently, I was given a library written in C++ that […]

Making Your Site Visible to Search Engines with Sitemaps

Sitemaps are one of the most recognized website navigation elements on the Internet. A sitemap is a method for making a website easily navigable by humans, and highly visible and indexable by search engines. Despite this, there is often confusion about sitemaps, how they are implemented, and how they can be best leveraged with search […]

Diff, not That

Do you know about the --ignore-matching-lines option to GNU diff? I recently found a great use for it… We were tasked with comparing large sets of XML documents for a web service product. The project called for a SoapUI testsuite using Groovy scripts to compare complete SOAP responses against files containing the expected responses.

Toolsmithing Java with JRuby

JRuby is my favorite Java tool. It lets me wield the power of Java libraries while building tools and abstractions to speed development. On a current project, I’m using JAXB2 to bind a large set of deeply-nested XML Schemas into Java classes. I have a Rake task to create the classes from the xsd files […]

Working with Embedded CDATA in XML Documents

Recently while working on the SME Toolkit, a project sponsored by the International Finance Corporation (a member of the World Bank Group), I encountered a problem with CDATA sections in XML documents. CDATA sections are used in markup languages to identify general character data — data that should only be interpreted as characters, and not […]