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

Re: Bad Design? An XML Schema that forces applications tomaint

  • From: Norm Tovey-Walsh <ndw@nwalsh.com>
  • To: Roger L Costello <costello@mitre.org>
  • Date: Tue, 07 Feb 2023 08:39:48 +0000

Re:  Bad Design? An XML Schema that forces applications tomaint
Roger L Costello <costello@mitre.org> writes:
> In other words, the XML Schema forces applications to maintain state. 
>
> Isn't that really, really bad?
>
> Imagine trying to map this battlefield message data format to some
> other battlefield data format. You would have to do state-dependent
> mapping. Ugh! That's awful! Right?

Maybe. It really depends on the context. If this is a format used by
historians to describe battles and the expectation is that entire
campaigns will be in a single file then not forcing the user to repeat
something is possibly a useful feature. The value you want is always on
a preceding sibling anyway.

Even in a modern context where the messages are being used to describe
an ongoing conflict, if they’re routinely sent in small batches, it
might be advantageous to save space by allowing later messages in the
same batch have state implicit from earlier messages.

If they’re being sent wholly independently over UDP then, yeah, that
seems bad.

                                        Be seeing you,
                                          norm

--
Norman Tovey-Walsh <ndw@nwalsh.com>
https://nwalsh.com/

> Our years, our debts, and our enemies are always more numerous than we
> imagine.--Charles Nodier

Attachment: signature.asc
Description: PGP signature



[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.