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

RE: Names As Types


dancing names and types
No, that's an acceptable stack, Vladimir.  

What say other turtles?

I know some of you prefer a turtleZero, but we 
can punt that away safely until we get to running 
turtles and rough dancing.

len


From: Vladimir Gapeyev [mailto:vgapeyev@s...]

Doesn't the following stack fit the bill?:

Top:     7. Humans

          6. Applications

          5. High-level programming languages

          4. Declarative invariants

          3. Types (i.e., structural constraints)

          2. Abstract syntax  [XML Infoset, or other XML data models]

Bottom:  1. Concrete syntax  [XML]


This is just an XML-specific instance of the stack common to software in 
general.  The stack became more refined over the decades: originally all 
semantics was in assembly-coded applications (#6), but gradually the 
layers #2-#5 have separated.

Unfortunately, XML practice doesn't align along this stack cleanly.  (I'd 
say, this is too bad for practice ;-) E.g., W3C Schema spreads across 
several layers, tightly glueing them together: it hijacks #2 by putting 
PSVI instead of the Infoset, it's bulk (rightly so) is #3, but it also has 
things belonging to #4 (e.g. key/keyref constraints) and even #5 or #6 
(e.g. the mechanism for filling-in default values and the mechanism for 
translating XML into PSVI).

Or you were asking about something totally different?  If you have stuff 
like RDF in mind, it is an application that uses XML as just a substrate 
on which it grows.  (I.e., RDF has a similar stack, and if we care only 
about XML-based RDF, the interesting part of this stack is inside #5 and 
#6 above.)  But RDF, or similar "semantic web" developments, can't be the 
only way to give XML semantics!  (Sorry if the RDF guess was wrong)

VG

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.