Revision f6e0b669a888d47b1c8b2a18ae4df10c40292c1b

Committed on 30/05/2012 2:12 pm by Mike van Riel <mike.vanriel@naenius.com> [GitHub Diff]

getAsXhtml did not merge parser and visitor errors.

Whenever the errorReporting option only included `E_PARSE & E_ERROR`
it was impossible to get the errors generated by the visitor and parser
as these were not propagated. This commit changes that by merging the
parser and visitor errors into this error listing.

This is a replica of the behaviour in the getAsDocbook() method.