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

Re: Symbol Grounding and Running Code: Is XML Really Extens


xml extens
Chiusano Joseph wrote:

> <Quote1>
> XML Schema thus provides a form of semantics to the XML document, i.e.
> that such element content is to be treated as a decimal number.
> </Quote1>
>
> Yes - and in your opinion would the following XML snippet:
>
> <ApplicantEstimatedAmount>12.30</ApplicantEstimatedAmount>
>
> provide a form of semantics to the data - i.e. that the data represents
> the estimated amount that an applicant requested, given that it occurs
> in the context of - for example - a loan application? This added context
> would therefore enhance the sematics provided by the
> "ApplicantEstimatedAmount" tag to enable it to be interpreted as "the
> amount that an applicant requested for a loan".

I am not saying that given sufficient _other_ information, that a program
cannot so interpret the snippet ... for example, application level
semantics. On the other hand, the XML Schema specification does not provide
such semantics.

>
> <Quote2>
> It doesn't state what units, for example, the number is intended to
> represent, e.g. 12.3 froggets, or 12.30 euros.
> </Quote2>
>
> Yes - but what if it did? For example:
>
> <ApplicantEstimatedAmount
> currencyCode="USD">12.30</ApplicantEstimatedAmount>
>

Sure, specifications can define semantics for XML. The RDF/OWL semantics do
so for XML that conforms to the RDF/XML syntax. Writing a model theory is
one way to formally define a particular semantics. Other semantics might be
specified in the english language prose of a specification. That too is a
semantics, just not one that machines do a great job of properly
understanding. That why we still need human programmers to translate the
semantics of a written specification into a (machine) application. Much of
the idea behind creating machine processable ontologies etc. is that this
allows generic programs, e.g. inference engines, to do more, just as
computer languages greatly facilitate the porting of applications to
different platforms, and even, in the case of a more comprehensive semantics
such as is defined by the java virtual machine, enable applications to (very
frequently) operate across platforms without the need for human tweaking of
the application for a given platform/CPU.

Jonathan


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.