[Expat-discuss] use of expat with socket

Fred L. Drake, Jr. fdrake@acm.org
Fri, 27 Jul 2001 15:24:34 -0400 (EDT)


Eric Bohlman writes:
 > Not quite correct: whitespace, comments, and processing instructions are allowed to follow the 
 > document element (which also means that you can't use a simple counter to determine when the document 
 > is complete).

  An excellent point!  I stand corrected.
  This is also a really good reason you can't assume you're at the end
of the document until you reach the end of the input data.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation