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

Re: XML is Like a Box of Chocolates

  • From: Jim Melton <jim.melton@oracle.com>
  • To: Peter Flynn <peter@silmaril.ie>
  • Date: Mon, 05 Mar 2012 10:23:55 -0700

Re:  XML is Like a Box of Chocolates
Peter, Roger, et al,

At 3/4/2012 11:27 AM, Peter Flynn wrote:
>On 04/03/12 14:05, Costello, Roger L. wrote:
>...
>
>By the same token, be careful that you don't fail to assign meaning
>explicitly where it is needed. The <title> element as the first child of
>a <chapter> element is important (the clue is in the name "title").

And therein lies extreme danger.  I, like (one would hope) most XML 
vocabulary designers, specify element names and attribute names that 
are somehow mnemonic to their intended usage.

However, as a document author, not to mention the author of tools 
intended to process XML that uses such a vocabulary, I MUST NOT go by 
intuition to decide how to mark up my document or how to process 
documents.  I MUST know the vocabulary designer's intended meaning or 
I'm likely to screw things up royally.  Element names might be 
"clues", but they are not "proof" of anything.

(For example: Is a book "title" 'the same as' a person's "title"?  Is 
it 'the same as' the "title" to a piece of property -- real estate, 
vehicle, etc.?  Is it always a noun, or sometimes a verb, or even an 
adjective -- when used in those different ways, the structure 
[attributes, children] might be different and the processing is 
almost certainly different.)

Hope this helps,
    Jim

========================================================================
Jim Melton --- Editor of ISO/IEC 9075-* (SQL)     Phone: +1.801.942.0144
   Chair, ISO/IEC JTC1/SC32 and W3C XML Query WG    Fax : +1.801.942.3345
Oracle Corporation        Oracle Email: jim dot melton at oracle dot com
1930 Viscounti Drive      Alternate email: jim dot melton at acm dot org
Sandy, UT 84093-1063 USA  Personal email: SheltieJim at xmission dot com
========================================================================
=  Facts are facts.   But any opinions expressed are the opinions      =
=  only of myself and may or may not reflect the opinions of anybody   =
=  else with whom I may or may not have discussed the issues at hand.  =
========================================================================  



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.