On 10/29/2010 10:27, Adam Martinson wrote: > + #if LIBXML_VERSION>= 20621 > + xmlSchemaSetValidStructuredErrors(svctx, validate_serror, NULL); > + #endif I think a common and preferable way is to add configure define and check for presence of this call.