[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: funny parser


RE:  funny parser
Title: RE: funny parser

Essentially the same "mess" as code patches.  Same
administrative overhead, same risks, same problems for
multiple instances of the code (say customers).

Won't this resurrect the 'version' permathread?

len


From: Robin Berjon [mailto:robin.berjon@e...]

Yes, that or an XPath should work quite well. It's routinely done in a
variety of situations. You may wish to look at XUpdate for instance
(assuming you want to reuse an existing piece of technology).

> Can you be certain that all change requests will be received, and in the
> order they were sent? If not, the problem gets much messier; but
> probably you can ensure that somehow.

It doesn't have to get terribly messy. With each update you send an
update number. You also provide a way for clients to request updates by
update number (which means you cache the n last ones, which would be a
cheap thing to do on disk). When a client gets an update that's more
than +1 above the last one it got, it requests the one(s) it's missed
before processing the one it has (you can also enforce that it
redownload the whole thing if it's missed more than a given number).

This assumes a bidirectional network, which appears to be what you have.
In a unidirectional network, you would caroussel the whole document
continiously, but you might schedule updates with a higher priority in
your broadcast.


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.