4 ms·
> At least I've never had production errors because of malformed xml. Oh hey, I had some while making https://hn-blogs.kronis.dev/ https://hn-blogs.kronis.dev/
by KronisLV 3y ago
> At least I've never had production errors because of malformed xml.
Oh hey, I had some while making https://hn-blogs.kronis.dev/ https://hn-blogs.kronis.dev/
I wrote more about it on my blog: https://blog.kronis.dev/articles/ever-wanted-to-read-thousands-of-tech-blogs-now-you-can https://blog.kronis.dev/articles/ever-wanted-to-read-thousan... but the gist of it is that I had to parse thousands of blog feeds and some article from 2009 included a SOH control sequence inside of otherwise valid XML and this broke everything, until I added additional error handling.