fixed https://github.com/ossec/ossec-hids/issues/149

fixed #149  
such as "<xml a='a'/>" parse fail , fixed the bug.