OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] RE: Web site that emits a continuous stream of XML?

I think if I had to produce a closing tag I'd do this with a wrapper on the connection on the client side: store the first element sent after the connection establishes.  Forward a closing version of that same tag when the connection drops...

Peter Hunsberger

On Thu, May 22, 2014 at 1:21 PM, Liam R E Quin <liam@w3.org> wrote:
On Thu, 2014-05-22 at 12:52 +0000, Costello, Roger L. wrote:
> Oops! I forgot to mention one requirement: the web site must provide its data stream for free.

It would be easy to write a CGi script that produced an endless stream
of XML. Note that you don't get an end tag for the outermost element if
you disconnect, of course - true for all these protocols.

When the Jabber people contacted me early on I suggested they use a
stream of smaller documents, one per message.

Another approach is to have a second URI that, when accessed, will end
the stream and disconnect from the server end.


Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml


XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS