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

Re: XML Redux

  • From: "Pete Cordell" <petexmldev@codalogic.com>
  • To: "Dave Pawson" <davep@dpawson.co.uk>,<xml-dev@l...>
  • Date: Thu, 17 Feb 2011 13:50:10 -0000

Re:  XML Redux
Original Message From: "Dave Pawson"

> Semantics?
>
> Its a number... as apposed to a string?
> The sender recipient should understand it as 32 somethings,
> the app only knows it can treat it as a number?

But is that level of semantics helpful to a computer?  I'm not sure that 
knowing that something is 32 the number, rather than "32" the string would 
help me much with all the semantic inferencing I can do as a human.  I would 
have thought its even less useful to a computer!

Here's a test:

12^^int

:-)

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using C++ XML
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info
----- Original Message ----- 
From: "Dave Pawson" <davep@dpawson.co.uk>
To: <xml-dev@lists.xml.org>
Sent: Thursday, February 17, 2011 10:47 AM
Subject: Re:  XML Redux


>
> On Thu, 17 Feb 2011 10:00:41 -0000
> "Pete Cordell" <petexmldev@codalogic.com> wrote:
>
>> Original Message From: "John Cowan"
>>
>> > I'd add ... and the ability to add XSD simple
>> > type names (prepended with "^^") and language tags (prepended with
>> > "@") to a JSON literal in either order.  N3 allows this on string
>> > literals only, but 32^^integer seems better to me than
>> > "32"^^integer.
>>
>> One thing I'm not clear on is, what value is there in knowing that,
>> say, 32 is a float, if you don't know that that particular float
>> represents, for example, the length of a box?  Surely it's not
>> sufficicient to just know the type of something.  You also have to
>> know what to do with it for it to be useful.  And if you know what to
>> do with it, you implicitly know its type so it doesn't need to be
>> explicitly stated.
>>
>> What am I missing?
>
> Semantics?
>
> Its a number... as apposed to a string?
> The sender recipient should understand it as 32 somethings,
> the app only knows it can treat it as a number?
>
>
>
>
> -- 
>
> regards
>
> -- 
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk
>
> _______________________________________________________________________
>
> 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]


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.