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

Re: Must databinding imply tight coupling? (was Re: New tool


databinding parse
Mike Champion wrote:

> Maybe I'm trying to reconcile my irreconciliable desires for loose coupling /
> document-centric XML applications on one hand and ease of use of XML
> technologies by ordinary programmers on the other.

You are not alone in those desires, nor are they in fact irreconcilable. What
is missing, so far as I can see, in all of these 'direct access to data
conveyed by XML' arguments is the necessary acknowledgment that every XML
instance must be parsed on every occasion of every use. That is a mechanical,
functional requirement which is intrinsic to the nature of XML. If it does not
require parsing (and therefore is not a document of UnicodeWithAngleBrackets),
then what you have is not in any meaningful sense XML and what you have lost is
every advantage (interoperability among them) for which you looked to XML
originally.

We have to build 'XML technologies' upon parsers, and therefore upon the
documents which those parsers parse, and not upon infosets because you can't
have an XML infoset until you instantiate one from a parse. Nothing in the
schism of dataheads from docheads is irreconcilable given only this one
premise, which is the ultimate premise of XML itself. Infosets produced from
anywhere other than upon the output of the parse of an XML document are not XML
infosets. Take away that premise and you take away XML; it's that simple.
Therefore the 'XML technologies' which we build--which may very well (should,
in fact!) include direct access to data instantiated in particular forms--must
be built first upon parser output. This means that what is built by a
particular, code-specific or data-specific technology on any one occasion will
not be the same as what is built from a parse of the same document on another
occasion or by another technology. That is, there is no predictable 'infoset'
to be derived from a document, and no one infoset inheres in any document.
Acknowledge that, and dataheads and docheads can peacefully and profitably make
use of the same XML entities. Deny that and there simply is no identifiable
XML.

Respectfully,

Walter Perry


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.