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

RE: Use case for exchanging an XML document in pieces?

  • From: "Toby Considine" <Toby.Considine@gmail.com>
  • To: "'Costello, Roger L.'" <costello@mitre.org>,<xml-dev@l...>
  • Date: Sun, 30 Aug 2015 10:13:35 -0400

RE:  Use case for exchanging an XML document in pieces?

Not exactly the same thing but….

 

In OASIS Energy Interoperation, many service payloads had the option of including a full specification or be reference. An energy transaction requiring telemetry verification could fully describe the telemetry required (a report definition) or pass an URI to the report definition. The receiving client could then retrieve it, or “remember” its cached version, etc. When a system delvered a telemetry payload back to a counterparty, it was expected to explain what the pile of number is was sending was. This could again be by including a full report definition as a “header”, or ot could simply reference the originating URI.

 

In this model we treated the URI as if it were a GUID, and the query that identified the GUID was also the path to retrieve it.

 

All of Energy Interoperation, and its component specifications WS-Calendar and EMIX used inheritance and context to reduce payload size. A full payload for any moment in time was necessary to action, but that payload might be constructable by what we termed inheritance. The specifications defined inheritance rules, but just about everything could be inherited from the schedule, from the telemetry specification, from the market context, from the financial option.

 

We did this to support parsimonious communications while supporting a requirement that every market, and every market transaction be self-describing. The requirement came from a goal that any system that manipulates energy use, generation, storage, conversion, … be able to participate in any local market. This meant that the market and market rules had to be explicit and machine understandable.

 

SO, now what you describe, but large information models that could be explicitly assembled from smaller discrete XML documents…or transmitted as one large XML document.

 

tc

 


“The single biggest problem in communication is the illusion that it has taken place.”

– George Bernard Shaw.


Toby Considine
TC9, Inc.

Toby.Considine@gmail.com
Phone: (919)619-2104

http://www.tc9.com

  

Chair, OASIS OBIX Technical Committee

Chair, OASIS WS-Calendar Technical Committee

Editor, OASIS Energy Market Information Exchange (EMIX) Editor, OASIS Energy Interoperation
blog: http://www.NewDaedalus.com 

 

 

From: Costello, Roger L. [mailto:costello@m...]
Sent: Sunday, August 30, 2015 7:28 AM
To: xml-dev@l...
Subject: Use case for exchanging an XML document in pieces?

 

Hi Folks,

 

I realized today that I have been assuming that when one application sends an XML document to another application, the entire XML document is sent.

 

I know that at the network (IP) layer the XML document might be broken down

into smaller pieces; but at the application layer the entire XML document is

sent and the entire XML document is received.

 

I would like to challenge my assumption.

 

Are there use cases in data exchanges where you want to break up an XML document into parts and send the document in parts, perhaps even send the parts out of order, and the receiving application then stitches the parts back together? Here is a graphic to illustrate how an XML document might be broken up.

 

 

And the following graphic shows the order in which the parts might be sent from one application to another:

 

What inspired this question? I am learning about IP. I learned that during transmission an IP packet might be fragmented. To account for this possibility, the IP header contains several data items to enable the recipient to reassemble the fragments.

 

Back to fragmenting an XML data exchange … have you ever broken apart an XML document when exchanging data? Or, perhaps you deliberately made small XML documents that are intended to be stitched together by the recipient?

 

You might respond that XMPP does this kind of thing. Yes, I realize that. But I think of XMPP as an XML protocol format, not an XML data exchange format.

 

Not sure that I could articulate the difference between an XML protocol format

and an XML data exchange format.

 

You might respond that XML streaming does this kind of thing. Yes, I realize that as well. But the streamed parts (packets) are always in order, whereas I allow for the case where the parts are not necessarily transmitted in order (just like IP packets might not arrive in the order they are sent).

 

Thoughts?

 

/Roger

 



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