This would break: <![CDATA]]> expect: cdata("]")
So it's possible to detect the difference between a CDATA section split over multiple writes, and multiple successive CDATA sections.
failures are detected and reported.
… tag in the doc will close out the root.
…arness to support expecting errors.
…ross multiple writes. (Otherwise, streaming a large file over XMPP would require buffering the entire file, which would be no good.)
…d" and "ready" be included in the expect list.
Unit tests, care of tmpvar and jimbojw.
Return the parser from end and write. Reset parser.closed in ctor.
…rite/process/chomp delegation. Don't buffer the body.
…rampoline area, to make it easier to convert to a switch.