Lists Home |
Date Index |
Elliotte Rusty Harold scripsit:
> You never know at compile time what documents you or may not
This is only true if you are prepared to accept documents from arbitrary
sources. Plenty of applications aren't.
> In order to be a conformant XML parser, a parser must adhere to the
> minimum requirements of XML 1.0. It is not enough to work correctly
> for only some subset of well-formed XML 1.0 documents.
Absolutely. But there are times and places where non-conformant parsers,
or even no parsers at all, are the Right Thing. I generate my own XML
documents, and when I process them, I process them with fgrep: it's fast
and it works, because I have 100% knowledge of what the documents look
like -- I generated them, after all.
John Cowan email@example.com www.ccil.org/~cowan www.reutershealth.com
"If I have seen farther than others, it is because I am surrounded by dwarves."