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

Re: Semantics (was Re: Inheritance in XML [^*])

  • From: Tim Bray <tbray@t...>
  • To: xml-dev@i...
  • Date: Thu, 23 Apr 1998 11:58:47 -0700

lost inheritance.uk
At 01:15 PM 4/23/98 -0400, Paul Prescod wrote:
>If XML had no semantics, then XSL, XLL and the DOM would have to
>explicitly describe the mapping from syntactic features to the abstract
>nodes that they work on. But they do not, because XML has semantic
>concepts like "element, "element type", "notation" and "attribute" that
>are *described by* the syntax. 

Well, we just have a difference of perception.  I think that
"element", "element type", "notation", and so on are profoundly
*syntactic* constructs.  I think an element is  a piece of an XML
document that is bounded by tags; an entity is a chunk of
text that is either provided literally or referred to via URL.  It
is true that the spec provides operational rather than purely grammatical
descriptions of some aspects of things, but that is largely for
convenience.  Dan Connolly has argued repeatedly and forcefully that
the spec could be completely re-written to avoid discussion of the
processor's actions (he is right) and that this would be an improvement
(I'm not convinced).

The fact that the XML processor has a couple of required *behaviors*,
most notably error handling, does not constitute anything like
what I think of in connection with the term "semantic".

I suppose you can argue that declaration in DTDs do have a semantic
of grammatical constraint.  OK, granted. 

But in the instance, Elements and attributes don't mean anything in and 
of themselves.  They doubtless have semantics that are used by humans and 
computer programs in particular application domains, but that's none of 
our business.

And finally... words are only of use in facilitating human 
communication when there is some shared understanding as to their
denotation and connotation.  The term "semantic", judged by this standard,
has clearly and empirically lost its usefulness in this discussion.

But of this I am confident: elements, attributes, and entities don't
mean anything in and of themselves. -Tim


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.