patch applied (cabal-branches/cabal-1.6): Validate the docbook xml before processing.