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

Re: [permathread:semantics] What Markup Is For

  • To: xml-dev@l...
  • Subject: Re: [permathread:semantics] What Markup Is For
  • From: Sean McGrath <sean.mcgrath@p...>
  • Date: Sat, 12 Apr 2003 08:23:17 +0100

Re:  [permathread:semantics] What Markup Is For
[Jonathon Borden]
 >I assume you are saying that XSD can do -without- types, and to the 
extent that XSD is used as a language
 >to express -syntactic constraints- on unicode strings, this is certainly 
true. The point of semantics is that
 >now that we have a piece of XML that let's say corresponds to some RNG 
pattern or XSD type _now what_.
 >How can we specify how different programs i.e. processes might use this 
piece of XML in an
 >interoperable fashion.

The key word there is "processes". For specific processes to interoperate 
we may want higher order
labelling (i.e. types) than UnicodeWithAngleBrackets provides.

But - and I think this is the key point - those labels will be specific to 
the interoperability needs
of specific processes at a point in time. They do not need to be innate in 
the XML itself. Indeed,
putting them there reduces the usefulness of the XML.

For example, what happens when we want to change the processes? If we 
tightly couple process-specific labelling
into the XML, we need to revisit the XML. If however, we loosely couple 
process-specific typing as a downstream
process from the UnicodeWithAngleBrackets, we can tweak the 
process-specific "object models" or
"data types" or whatever they are called without revisiting the XML. We 
only need to revisit the XML if
we need something not already represented in the XML.

In my experience, this is a really useful level of loose coupling which has 
saved me countless programming
hours.

Its weird, XML is mentioned as a key technology in the whole loose 
coupling, web services, service oriented
architectures thing and yet boxed XML[1] tightly couples things (like 
typing) in a counterproductive way.

Sean
[1] http://lists.xml.org/archives/xml-dev/200301/msg00396.html

http://seanmcgrath.blogspot.com



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.