XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] ANN: Does an XML Document Have Semantics?

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
kurt.cagle@gmail.com
443-837-8725



On Sat, Nov 30, 2013 at 10:03 AM, Costello, Roger L. <costello@mitre.org> 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@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS