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

Re: Here's how to remove 'time' from a processing problem

  • From: Peter Flynn <peter@silmaril.ie>
  • To: xml-dev@lists.xml.org
  • Date: Wed, 21 Dec 2022 15:19:57 +0000

Re:  Here's how to remove 'time' from a processing problem
On 21/12/2022 13:25, Roger L Costello wrote:
I have a program that processes XML files in a folder. Some of the XML documents contain data about a car, [...] At some point
I think, the wrong point.

the program reads in that XML document and begins processing it. The objective of processing is to output the license plate number if the car is stolen and "" (not stolen) otherwise. However, the document does not contain the necessary information to make that decision.
The information to make the decision arrives some time later,
This looks like a case of putting the cart before the horse.

So the desired processing behavior is this:
The conventional sequence of processing would be more likely to start by processing a police report. It looks up the car in the documents in the folder about cars. If there is a match, then perform whatever action is required, then go onto the next police report until they are all finished, then stop and wait for more police reports to arrive.

I see no benefit in processing this back-to-front.

Peter



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


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.