Updated by Kirill Kornyakov almost 12 years ago

OpenCV 2.4.2 cv::FileStorage segfaults when parsing singleton tags.

It will happily parse empty tags of the form:
<pre>
<variable></variable>
</pre>


But fails in the case where an empty tag is expressed in the form:
<pre>
<variable />
</pre>


Some libraries such as XML parsers within python automatically condense empty tags into this singleton format, so it would be great to be able to parse them correctly (either simply ignoring the variable or setting it to some default null value)

H

Back