<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Ihe Onwuka</b> <span dir="ltr"><<a href="mailto:ihe.onwuka@gmail.com">ihe.onwuka@gmail.com</a>></span><br>Date: Wed, May 13, 2015 at 5:11 AM<br>Subject: Re: [xquery-talk] [xml-dev] Mistakes made in the design of XQuery 3.1<br>To: daniela florescu <<a href="mailto:dflorescu@me.com">dflorescu@me.com</a>><br><br><br><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Wed, May 13, 2015 at 4:55 AM, daniela florescu <span dir="ltr"><<a href="mailto:dflorescu@me.com" target="_blank">dflorescu@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>><br>
> The issue with many JSON people is that they don't seem to acknowledge the need for interoperability with XML so the utility of a "bilingual language" probably doesn't resonate.<br>
<br>
<br>
</span>Ihe,<br>
<br>
this is where the JSONiq authors (me included) we did spent a HUGE amount of energy for design:  in the following compromise:<br>
<br>
(1) try to find a superset of XQuery 3.0 (so still stay in the XML world),  which can handle BOTH XML and JSON.<br>
This resulting language was not always pretty to look at, as you can imagine, because it inherited the syntactic<br>
quirks of BOTH XML and JSON, yet it is very powerful and useful, as you can imagine, if in an application you need to mix and match both.<br>
<br>
but in the same time, this billingual (expressive-power rich, but not pretty to look at, and not simple) language:<br>
<br>
(b) was able to be syntactically subsetted to a VERY SIMPLE language for querying/processing JSON-only. This subset was maintaining the “good” parts of XQuery<br>
(composability, declarativity, functional nature, optimizability, expressive power), while being aesthetically pleasing to a JSON-only crowd .<br>
<br>
<br></blockquote><div><br></div></span><div>Sounds like Worse is Better.<br></div><span class=""><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So I don’t agree with you. With JSONiq, we did prove that it IS possible to serve BOTh community with one underlying “virtual machine”, if you want, and several syntaxes,<br>
according to the “beauty is in the eye of the beholder” principle.<br>
<span><br></span></blockquote><div><br></div></span><div>You misread me. Though not an expert but I have written some  JSONiq so I can appreciate what you are saying.<br><br> When i say JSON people I mean people like Marc (from the linkedin discussion you started) and some others I have worked with who believe all the myths  and think everything can and should be done in JSON. OK maybe not that far out because such a person would never come to an XQuery WG but you know the sort of people I mean.<br></div><div> <br></div><br></div><br></div></div>
</div><br></div>