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

Re: XML Redux

  • From: Stephen Green <stephengreenubl@gmail.com>
  • To: Pete Cordell <petexmldev@codalogic.com>
  • Date: Thu, 17 Feb 2011 15:26:27 +0000

Re:  XML Redux
With all this discussion of types, is it still the main motivator
behind using JSON or this XML-oriented variant of JSON
that Javascript be able to parse the data natvively (or pretty
much natively, perhaps with some pre- and/or post-processing)?

If so then surely the assumption would be that types only go
as far as JSON's handling of types (what with Javascript
being weakly typed).

If not then why bother with JSON if Javascript isn't the target?

----
Stephen D Green



On 17 February 2011 15:06, Pete Cordell <petexmldev@codalogic.com> wrote:
> Original Message From: "John Cowan"
>
>> Pete Cordell scripsit:
>>
>>> 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!
>>
>> Au contraire, it tells you what object to store the value in, at least
>> in statically typed languages.
>
>
> My feeling is that when you work through the implementation of handling type
> tagged values you'll still end up with a fairly generic kind of object and
> you're not going to get floats mapped to language native float types etc.
> For example, all the classes would likely have some common base class
> interface and be created by some factory or other.
>
> 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
>
>
>
>
> _______________________________________________________________________
>
> 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-2011 All Rights Reserved.