John Wilson wrote:
> > > If you are sending well formed XML you can
> > > tell when the response has ended without it.

> From: "Timothy Peierls" <[EMAIL PROTECTED]>
> > Can you? Aren't comments and PIs allowed after the top level
> > tag is closed? Or is that an old, fixed XML spec bug?

John Wilson wrote:
> As the XML-RPC implementation never sends PIs the point is 
> somewhat moot ;)

The spec is not exactly clear about whether comments and PIs
are allowed, so you can be sure that there is or will be an
implementation out there that uses a trailing PI to send
sideband information for clients that care about it, leaving
other clients to ignore it. Innocent clients that rely on the 
document close tag will break, and the rogue implementation 
author can claim with some justification that the spec doesn't 
disallow the trailing PIs. So clients cannot in general use 
the closing tag in lieu of the Content-length.

At any rate, there seems to be general agreement that servers
can't omit the Content-length header, so ultimately, yes, the
point is moot.

--tim

Reply via email to