dahnielson / iola

🎞️ Non-linear digital video and motion picture editor
http://blackburst.com
GNU General Public License v2.0
14 stars 2 forks source link

Improve the robustness of the XML parser #35

Closed dahnielson closed 14 years ago

dahnielson commented 14 years ago

Currently if an element does not exist in the DOM, the element factory return a NULL pointer to the parser. This causes problem with popping elements from the context stack in endElement as NULL pointer elements (for obvious reasons) is never pushed on the stack in startElement.

The solution is to never have the element factory return a NULL pointer but a dummy element.