Simon Willison’s Weblog

Subscribe
Atom feed for wellformedness

1 item tagged “wellformedness”

2008

My Universal Feed Parser was conceived as a weapon against what I considered the gravest error of XML: draconian error handling. Recently, someone asked me to implement a switch that makes it not fall back on lax parsing in the case of an XML wellformedness error. I said no, not because it would be difficult to implement, but because that defeats its entire reason for being.

Mark Pilgrim

# 5th August 2008, 10:52 pm / draconian, feeds, mark-pilgrim, python, universalfeedparser, wellformedness, xml