polotek/libxmljs — Issue #106: sorry, parseXmlString crash my program
Author: gmagic10
Created: 2012-02-08 03:56:04+00:00
State: open

I'm the one of previous issus of 'parseXmlString"
My real issue is:
The http return result is xml string normally. but it'll return this html string at some time unpreditable. That will crash my program.
Yes. I know it's html string. But you shouldn't crash it. Instead it should return error to let me choose what to do. I add the try/catch to prevent this.