Archiv für Januar 2006

Having fun with xmllint

Januar 06, 2006 - Markus Hoenicka
Error messages can sometimes be quite misleading at first sight. I had to realize this again today while trying to validate a rather complex XML document (the upcoming XML version of the RefDB manual). It is composed of a main file, which XIncludes all chapters. Some of the chapters in turn XInclude refentries, which are both parts of the manual and the sources for the man pages. As DTD-based tools cannot handle the XIncludes I had to use xmllint in conjunction with the DocBook RelaxNG schema files - and ran into some strange issues.

Read more »