[Home] [By Thread] [By Date] [Recent Entries]

  • From: Kurt Cagle <kurt.cagle@g...>
  • To: "Costello, Roger L." <costello@m...>
  • Date: Sat, 30 Nov 2013 12:02:24 -0800

So what does "mean" mean? ;-)

The term semantics is fraught with multiple meanings (not surprisingly). Programmers deal with syntax, semiotics and semantics. Syntax defines well-formedness - "are these symbols placed in this manner a valid statement within the language in question"? Semiotics deals with symbolic associations - "when I place these particular symbols together, what specifically are they referring to?" In many cases, when people talk about semantics, what they are actually describing is more properly semiotics. Semantics describes relationships on and between symbols.

In that regard, XML has semantics, though they are usually container/contained semantics. Those semantics are formally identified by a schematic validation system, which imposes a specific "data model" upon the XML instance in question. The schema is not the semantics, but it informs it. When an instance conforms to a specific schema, then it has a contracted set of meanings to whatever process recognizes this particular model.

The one key difference between an XML or JSON and a program is simply that the syntactics of declarative structures such as these are usually simpler than they are for a Java or _javascript_ program. 

Kurt Cagle
Invited Expert, XForms Working Group, W3C
Managing Editor, XMLToday.org
443-837-8725



On Sat, Nov 30, 2013 at 10:03 AM, Costello, Roger L. <costello@m...> wrote:
Hi Folks,

I wrote a short paper, titled:

      Does an XML Document Have Semantics?

Here it is:

http://www.xfront.com/Does-an-XML-Document-Have-Semantics.pdf

I welcome your comments.

/Roger

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member