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

Re: Syntax + object model

  • To: "xml-dev@l..." <xml-dev@l...>
  • Subject: Re: Syntax + object model
  • From: Mike Champion <mc@x...>
  • Date: Sat, 24 May 2003 10:40:15 -0400
  • User-agent: Opera7.03/Win32 M2 build 2670

what is an underlying syntax


> Better to have a standard syntax and different, non-standard, independent 
> object models optimized for their particular domains and uses that all 
> operate on the same underlying syntax. Object models are *local*. Syntax 
> is *global*.

The success of XSLT, XPath, and the (probable) success of at least the hard 
core of XQuery is a strong counter-example to this assertion.  None of 
those operate on syntax.  We can argue about whether the XPath data model 
is an "object model" or not, but it ain't syntax.  An XSLT stylesheet that 
had to consider all the multiple possible syntactical variations on legal 
input would be a nightmare. An XQuery join across an RDBMS and an XML data 
store is simply inconceiveable at the syntax level.

Likewise DOM is an ugly beast, the proverbial camel designed by a 
committee, but it has proved quite valuable out in the wastelands of the 
Web where well-formed syntax is rare. What unifies N separate bowls of tag 
soup and legal XHTML that look the same in a browser, or similar XML files 
with different frostings of syntax sugar? They probably have more or less 
the same representation in the DOM Core.

The XML syntax and data model are joined at the hip. (OK, there are 
multiple data models, but the different flavors vary mainly with respect to 
the namespace and schema type stuff that has caused no end of controversy 
all across the XML spectrum).  Without the data model(s) XML is useful 
mainly by hard core developers skilled in regexes and formal grammars; 
without the stamdard syntax those abstract data models can't be shared 
without some sort of private contract about serialization.  Why do we get 
tangled in this permathread every month or two? 

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.