Whereas I agree with the rest of Francois' contribution, this paragraph
is not quite right. If you change "ESIS event stream" to "Instance
character stream", then it would be more correct. But in fact the
SGML->SGML declaration was not one of our goals; for example, the
processor is not required to tell the app about [at least] comments
and <![CDATA[ sections. The XML spec says *nothing* about the ESIS,
merely, in a very abstract way, what the processor has to give the
application.
If either of these problems (the impossibility of SGML->SGML or the
absence of an ESIS equivalent) is a big huge flaw in XML, there's still
time to fix it. The SGML->SGML problem is probably a job for the
XML WG. The ESIS issue is perhaps a job for this list. I personally
think an API is better than an ESIS [even if the ESIS were properly
defined] anyhow.
Cheers, Tim Bray
tbray@textuality.com http://www.textuality.com/ +1-604-708-9592