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

Re: Is a collection of independent, unrestricted elementdefini

  • From: Peter Hunsberger <peter.hunsberger@gmail.com>
  • To: "Costello, Roger L." <costello@mitre.org>
  • Date: Mon, 17 Feb 2014 11:32:16 -0600

Re:  Is a collection of independent
If you ask me, you've got a loosely defined data exchange format.  I'd hesitate to call it a data model since it doesn't model anything in particular. However, that's not necessarily a bad thing in my book...  Among other places, I've recently I've seen some explicit calls for very loosely constrained data exchange formats in parts of the "big data" world.  That might be vendor drive in some cases, at least part of the thinking is something along the lines that if we can build a generic way of getting the data back and forth we can use big data analysis to figure out what it means. Other than possibly duplicating the effort of analysing  and classifying the data on multiple systems I personally prefer the loosely coupled approach over trying to build highly constrained (and possibly brittle) data exchange formats.

Peter Hunsberger


On Mon, Feb 17, 2014 at 11:06 AM, Costello, Roger L. <costello@mitre.org> wrote:
Hi Folks,

Suppose I create a data model (an XML Schema) that consists of a collection of independent, unrestricted definitions. The data model is to be used by communities that are quite different. Would you call the data model a "data exchange format"? Or would you call it something else?

Example: I declare an <Object> element that consists of an abstract <Value> element. I then declare a wide variety of elements that may substitute for <Value>:

- <House>
- <Aircraft>
- <Cellphone>
- <Book>

Notice that they are very different things.

Very different XML instance documents could be created from the data model: For sending to my realtor, I could create an instance that describes a house:

<Object>
      <House>ranch style, brick</House>
</Object>

For communicating with an officer at a military base I could create an instance that specifies an aircraft:

<Object>
      <Aircraft>
            <Type>B-52H</Type>
            <MaxAirspeed>650 MPH</MaxAirspeed>
      </Aircraft>
</Object>

And so forth.

Clearly the data model contains items that are very different and are intended for different audiences.

The data model is too nebulous and too open-ended to be called a data exchange format (I think). For me, a data exchange format is something that specifies precisely the type of data that will be exchanged: If I am exchanging data with my realtor, a data exchange format would specify that XML instances will contain <House> data and not, say, data about an <Aircraft>.

It seems to me that my unconstrained data model is not a data exchange format. But what is it? What would you call a collection of independent, unrestricted element definitions?

/Roger







_______________________________________________________________________

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]


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.