4 ms·
> This isn’t a problem if you assume your input is well-formed. I’m talking about parsing XML, not checking whether some input actually is XML. Correctness is a
by dustingetz 15y ago
> This isn’t a problem if you assume your input is well-formed. I’m talking about parsing XML, not checking whether some input actually is XML. Correctness is a Boolean, after all: invalid XML is not XML. ... [proceeds to parse HTML]
even validated HTML isn't XML, let alone tag soup.
- evincarofautumn 15y agoThat string does serve to show what you get when you throw some tag soup at the thing, though.