Why Text Processing Is (Unnecessarily) Tough |
An example: One of the motivations for creating and migrating to XML from SGML was the perceived difficulty of writing an SGML parser.
It is difficult to write an SGML parser, at least one that's convenient to use for its client applications.
But it's not the SGML (as compared to XML) that's the main factor in making the task difficult.