January 31, 2007

For you Web standards geeks...

There's an interesting discussion regarding XML and XHTML error handling over on Tim Bray's blog, wherein he points to Anne van Kesteren's suggestion that the next iteration of the XML standard allow for a more nuanced approach to malformedness. (Be sure to read the comments contributions

The current XML standard requires parsers to throw up their hands and quit upon encountering invalid characters, unclosed tags, etc. This is good when you're talking about bank transactions, but applying the same rule to run-of-the-mill HTML content, as attempted by the XHTML standard, makes the format too brittle for most content. This is why browsers still have tag soup parsers.

Posted January 31, 2007 7:51 PM
Comments
Post a comment









Remember personal info?