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] Was OOXML's problem that it should have used JSON not XML?

I do not know schema technologies for JSON well.  Unless 
it can mmic at least XSD schemas for OOXML, JSON-based 
rewrite of OOXML will simply make things worse.


2018-01-23 18:39 GMT+09:00 Michael Kay <mike@saxonica.com>:
No, I don't think encoding this stuff in JSON rather than XML would have made it one iota more accessible. The problem is that it was designed bottom-up rather than top-down: it offers what's easiest for the implementation to deliver, not what is most convenient for the users to digest.

We've done the same thing with the SEF format which dumps the internal expression tree produced by the Saxon compiler - the XML (and in the next version, the JSON) is a dump of an internal data structure, and it's not what we would have designed if it were intended as a public standard. It's full of the little inconsistencies that arise when things grow organically, for example QNames being represented in different ways in different places. And the problem is compounded of course by the fact that once you make the data structure persistent, it becomes harder still to change.

Michael Kay

> On 23 Jan 2018, at 03:58, Rick Jelliffe <rjelliffe@allette.com.au> wrote:
> Here's a thought.
> OOXML (Office Open XML) is criticized for being like a dump of MS Office's binary format: it is not altogether unfair because the aim was to completely represent the native format and much of that was simply not "semantic" let alone elegant.
> But it meant that some technical at people freaked out when they saw it.  Not just because there was no SGML-ish mixed content or tree structure, or because MS clearly did not have adequate internal documentation or documentation QA for the most mission-critical software of businesses around the world [[what is ISO but an organization to facilitate QA of technical documentation?]], but also because it had such a severe reliance on chains of links and markup structures that were alien to the HTML kids.  (I will leave the ideological aspects out here.)
> I wonder whether an objective cause to the subjective antagonism people felt towards it can be attributed to another factor:  they intuited that to some extent OOXML was trying to do in XML what really would be better to do in JSON?   I.e. moving around a big data structure.
> (And I certainly don't want to exclude the possibility that some parts would be better in XML and others in JSON, i.e. a JSON-in-XML-in-ZIP approach.)
> Regards
> Rick


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


Praying for the victims of the Japan Tohoku earthquake


[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