Peter.
Good input, here is some brief output. You said, "Basically, it seems you believe that some number of endpoints are going to share some deep understanding of the same object model so that you can subsequently exploit this shared understanding to enable some efficiencies in the XML parsing process?" Not exactly, it not that they intimately share an object model, they only share a key to the data. Every Invoice has an invoice Number. EDI 810 says so. When modeling that in XML set the oid= to the unique key(in this case the invoice number). Attribute order matters,oid must be first however, OID IS NEVER REQUIRED. It is as you say - an optimization - it is an optional optimization. Nobody will be forced to retrofit into an existing design that was depending on the principle that attribute order is, was, and always will be insignificant. I can imagine that in some existing implementations adding "oid" under the conditions that it be first may not be simple, in other cases it's a 1 liner. If "oid" is unknown, the data goes through the logic already in place. If "oid" is there then we can parse triple fast. You said "your analogy to HTTP caching is, at best not applicable, and at worst, possibly completely flawed:". I can accept that this analogy is largely misrepresenting of the case at hand. I will remove it. I believe it added confusion yesterday. You said," Why not use some more specialized data interchange that is completely optimized for your data exchange problems?" I resisted XML a little when it was new because of the overhead. A faster format was certainly considered, however because of the powerful integration aspect of XML, the tradeoff was considered to be worth it. Most commonly, transactional XML parsing is only a latency not a bottleneck. A latency to be avoided like all the others. The acceptable uses cases are somewhat defined by it's performance. If XML can be made faster, it can be used where previously a proprietary format or faster format was the only option. Brian On Sun, Mar 23, 2014 at 12:40 AM, Brian Aberle <xmlboss@live.com> wrote:
|