sanpii/behatch-contexts — pull request #44 by mgaskill (2013-12-24 21:20:58+00:00)
Title: Suppress improper error from libxml

Some versions of libxml generate improper errors during parsing. This causes otherwise well-formed XML handling to fail. There are many, many bug reports about this issue.

This specific fix sets the Dom::loadXML() method up to ignore parsing validation explicitly, and then filters for the erroneous error message generated from the "bad" versions of libxml : "Validation failed: no DTD found !".