* Bob Wyman <[EMAIL PROTECTED]> [2005-08-22 04:00]:
> Basically, what you do is consider the open tag to have a
> virtual closure and use it primarily as a carrier of stream
> metadata.

Shades of SGML…

> You could certainly do that, however, you will inevitably want
> to pass across some stream oriented metadata and you'll
> eventually realize that much of it is stuff that you can map
> into an Atom Feed

OT1H, you could put this data in the stream as an empty but
complete Atom Feed Document served as the first complete entity
in the feed –

> A rather nice side effect of forming the stream as an atom feed
> is the simple fact that a "log" of the stream can be written to
> disk as a well-formed Atom file.

– but OTOH this is a pretty good point.

Of course, the question is whether it is really any more work to
receive an empty Atom Feed Document + X * Atom Entry Documents
and to insert the Entry Documents into the Feed Document for
storage.

Note that in the case of prepending an empty Atom Feed Document,
all fully received Documents are well-formed entities of their
own, so you don’t need a recovering XML parser that can implement
the “virtual closing element” semantic – all entities can be
processed with any run-of-the-mill XML parser.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Reply via email to