Harmonising datatypes would be nice and wouldn’t hurt but I recently had
the unexpected experience of what _javascript_ can do in particular with dates… As this is one of the main consumer of JSON data… Otherwise JS allows quite flexible transformations. I am lazy and tends to treat many things as strings
or literals in RDF. I know the value of validation but in my domain data can come in a wide range of formats.
Jean-Pierre
From:
Ghislain Fourny [mailto:g@28.io]
Sent: lundi 25 avril 2016 10:40
To: Alain Couthures
Cc: Simon St.Laurent; xml-dev@lists.xml.org
Subject: Re: [xml-dev] yet another richly-typed, self-describing, hierarchical data serialization format
Hi,
Indeed, having rich types (dates and times, binary...) is crucial to many enterprise use cases. I also like the read optimization -- so true, even for code.
I think it would be desirable at some point to standardize atomic types across data formats, that is, have them in common between JSON, XML, etc. We (Zorba/JSONiq/JSound)
have been advocating that most of the atomic types defined in XML Schema are also a perfect fit for JSON.
It is also interesting to note that there are attempts out there to simplify XML on the one hand, and to enrich JSON on the other hand -- it shows how use cases are so
diverse and how the technologies used must be designed when them in mind..
On Fri, Apr 22, 2016 at 6:51 PM, Alain Couthures <alain.couthures@agencexml.com> wrote:
Ion has interesting features: more typed values (just typed elements or attributes in XML...), sequences and symbols (?).
Serialized binary data for images! Just thinking about DOCX files which are ZIP files with XML data + binary data to be embedded...
Thanks!
--Alain
Le 22/04/2016 18:21, Simon St.Laurent a écrit :
Like YAML, though from different roots, Ion is a superset of JSON. Unlike JSON, it has a read-optimized binary format in addition to a text-based
format.
http://amznlabs.github.io/ion-docs/index.html
(via Tim Bray, though he says it wasn't his work.)
Thanks,
Simon St.Laurent
_______________________________________________________________________
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
_______________________________________________________________________
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
**************************************************
This email and any files transmitted with it
are confidential and intended solely for the
use of the individual or entity to whom they
are addressed.
If you have received this email in error,
please notify the system manager.
This footnote also confirms that this email
message has been swept by the mailgateway
**************************************************
|