Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML jargon: declaration vs. definition

 
Razvan MIHAIU
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?


Regards,
Razvan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic