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

XML jargon: declaration vs. definition

  • To: Elliotte Harold <elharo@m...>
  • Subject: XML jargon: declaration vs. definition
  • From: mihaiu@m...
  • Date: Thu, 10 Feb 2005 23:35:32 +0200
  • Cc: xml-dev@l...
  • User-agent: Internet Messaging Program (IMP) 3.2.2

declaration and definition

Hi Elliot,



    In the meantime I asked for more questions. From my point of view the thread
is closed,  but if you want to make any comments you can read the thread below:



Bullard, Claude L (Len) wrote:

>They are inherited rom sloppy terminology used in SGML days.
>
>The term "definition" appears in Document Type Definition
>which should not be confused with Document Type Declaration.
>
>How 'ok' it is really depends on what your readers need to
>know or how precisely they need to communicate.  As long
>as the syntactical form is correct, the declaration will
>work.  If however, they use the term in the wrong circles,
>they may get a raised eyebrow, but most people will accept
>the terminology.   In publications, however, it is better
>to be right and specific given that the credibility of the
>author will be rated accordingly.
>
>You might want to review the XML 1.0 spec at some point.
>Most of us have to and even I had to look that one up
>to be sure, and that tells you it won't make that big
>a difference in most circles.  For example, most people
>think <?xml blah is a processing instruction.  It isn't.
>It is an XML Declaration not because of the syntax but
>because it can only appear once and in a specific place.
>
>len
>
>
>From: mihaiu@m... [mailto:mihaiu@m...]
>
>On some forums/xml tutorials I saw the term definition used for the exact
>same
>purpose. Are they completely equivalent ? If I write a technical
>documentation
>is it OK to use the term "definition" instead of "declaration" ?
>
>On a wider scale: is the term "definition" used at all in XML ?
>
>
>Thanks,
>Razvan
>
>
>Bullard, Claude L (Len) wrote:
>
>>It is an element type declaration and an attribute list declaration.
>>
>>http://www.w3.org/TR/REC-xml/#elemdecls
>>
>>len
>>
>>-----Original Message-----
>>From: mihaiu@m... [mailto:mihaiu@m...]
>>Sent: Thursday, February 10, 2005 2:43 PM
>>To: xml-dev@l...
>>Subject:  XML jargon: declaration vs. definition
>>
>>
>>
>>Hi,
>>
>>
>>
>>       Consider the following XML element:
>>
>><!ELEMENT value (#PCDATA)>
>><!ATTLIST value year CDATA #IMPLIED>
>>
>>       Is this a declaration or a definition ? In Java/C++ there is a
>
>clear
>
>>distinction between declaration and definition. How about XML ?
>>	I am apologizing for asking such a simple (stupid?!) question but I
>>need to
>>clarify the terminology.
>>
>>
>>Thanks,
>>Razvan
>>
>>
>>
>>-----------------------------------------------------------------
>>The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
>>initiative of OASIS <http://www.oasis-open.org>
>>
>>The list archives are at http://lists.xml.org/archives/xml-dev/
>>
>>To subscribe or unsubscribe from this list use the subscription
>>manager: <http://www.oasis-open.org/mlmanage/index.php>
>>
>>
>>
>
>
>
>



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.