Fixes an error in the example code, where the boolean parameter to enable validation needs to be specified on the parse function, not on the constructor of the XMLParser.
I also moved the constructor out of the try/catch block, to easier indicate where the error will be thrown.
Coverage remained the same at 98.447% when pulling 3c9eaaf07070e4771306ca720893df8647d81e42 on patrickl92:master into f900ef83a62e08089489c5bd17d90b677f3f3a6f on NaturalIntelligence:master.
Purpose / Goal
Fixes an error in the example code, where the boolean parameter to enable validation needs to be specified on the
parse
function, not on the constructor of theXMLParser
. I also moved the constructor out of the try/catch block, to easier indicate where the error will be thrown.Type