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

Re: The privilege of XML parsing - Data types, binary XML and


roger l. costello xml
> Hi Sean,
> 
> > 2. Applications come and go but data lives forever (or can do). The
> > trick of making your data outlive your applications is to divorce
> > application-level data models from the XML. Burying data model
> > information into the XML binds the XML to the application in a way
> > which will bite when the application is changed or retired.
> > 
> > 3. Doing so significantly increases the semantic consensus required by
> > communicating processes to share data. The beauty of *HAVING* to
> > create your own data model[1] from a stream of Unicode with angle
> > brackets is that you do not have to share any semantics or
> > expectations other than Unicode with the originator of that XML. Far
> > from being a burden, it is a *privilege* to be able to parse the XML
> > and treat the data the way you want to, rather than have a data model
> > imposed on you.
> 
> I passed your message along to a colleague.  Here are her comments:
> 
> XML is a syntax.  It has no data model.

This sounds like the dictator's logic.  "We have no secret police, so how is 
it you say our secret police tortured you?"

> So how would one "bury a data model" in it even if one wanted to?   

You do so by adding in an XSD schema location pointer.  Then, suddenly, when I 
run it unsuspectingly through my XPath2 engine, drags in all sorts of unwanted 
magic into my processing.


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Tour of 4Suite - http://www.xml.com/pub/a/2002/10/16/py-xml.html
Proper XML Output in Python - http://www.xml.com/pub/a/2002/11/13/py-xml.html
RSS for Python - http://www-106.ibm.com/developerworks/webservices/library/ws-p
yth11.html
Debug XSLT on the fly - http://www-106.ibm.com/developerworks/xml/library/x-deb
ugxs.html



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.