AndrewCarterUK / pascal-voc-writer

A python library for generating annotations in the PASCAL VOC format.
MIT License
220 stars 57 forks source link

Special XML characters are not escaped #4

Open PavelKovalets opened 4 years ago

PavelKovalets commented 4 years ago

If name contains <, > etc chars then generated XML is malformed. The solution might be to use from xml.sax.saxutils import escape

tahirrafiqueasad commented 3 years ago

I also face the same problem. I sent the pull request to author.