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

Re: [Shannon: information ~ uncertainty] Ramifications to XML


information uncertainty redundancy
> QUESTIONS
> 
> 1. How does this aspect (information ~ uncertainty) of Shannon's work relate
> to data exchange using XML? 

That is a rather broad question, like "how does Newton's work relate
to the construction industry?"   My guess is that XML is somewhat
against the grain of Shannon's thought (without contradicting it) :
The point of markup is to add redundancy so as to increase the
probability of information surviving noisy channels or the passage of
time that tend to degrade  shared assumptions about the inherent
structure of messages.  Binary data is pretty meaningless without
knowing the way the bits are broken up into fields, the byte-order of
the integers, etc. XML is more akin to natural language with its
redundancy, irrelevancies, etc., which Shannon was trying to factor
out.

> 
> 2. A schema is used to restrict the allowable forms that an instance
> document may take.  So doesn't a schema reduce information?

Right, that's the whole point.  This is most easily seen in
schema-based data compression along the lines of ASN.1 -- If you
constrain the diversity of information that could be exchanged, then
it takes fewer bits on the wire to convey something meaningful.   More
generally, schemas reduce the set of possible markup and values within
the markup, so they reduce the expressiveness of one authoring
according to the schema. The value offered in return is that the
shared assumptions about inherent structures of messages make it
easier for stupid machines to "validate" the messages, for simple
programs to make effective use of the messages, etc.

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.