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

Re: XML terminology [was Re: Pontifications on the Perversity of Pedant

  • From: Rick JELLIFFE <ricko@g...>
  • To: ",XML-DEV (E-mail)" <xml-dev@X...>
  • Date: Tue, 25 Apr 2000 15:49:31 +0800

xml terminology
Jonathan Robie wrote:
> 
>  Peter Murray-Rust wrote:
> 
> > I agree that for newcomers to XML the terminology is probably
> > counterproductive. I would never dream of trying to explain to a chemical
> > software engineer that <molecule> was a tag containing an element type
> > name. I might well say "your tags have to nest properly". But for formal
> > discourse among XML developers we have to use precise terminology because
> > otherwise we have confusion. We have seen this in the past on both XML-DEV
> > and XML-SIG where imprecise use of terminology led to different approaches
> > to documentation, and thereby to implementation.
> 
> Unfortunately, I'm not sure that the terminology is as precise as it should
> have been. If it were, there would have been no question about how to
> determine the name of an element or attribute, what - if anything -
> constitutes a type, etc.

I think SGML got it right with "generic identifier".  A "type
identifier" is the thing that should appear in a type declaration; the
"element identifier" should appear in an element declaration; in the
case of DTDs these two functions are combined (hence "element type
identifier" which reflects the dual purpose of the declarations).  

But there is no reason why an "element identifier" in an element
declaration needs to be a GI: it could be an XPath (in some schema
language) for example. If XML terminology is clarified, I hope "Generic
Identifier" is resolved.

By the way, I am notsure that "node" is an adequate substiture for
"element" at all. If an element is a node, what is an attribute? If we
are talking trees, it must be a node too. If we say it is a "property"
or an "attribute" we have left simple trees and are in AVT or some other
specialist jargon anyway.

Rick Jelliffe

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

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.