<div dir="ltr">I meant *the lack of* array:index-of(), obviously.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-26 19:32 GMT+02:00 W.S. Hager <span dir="ltr"><<a href="mailto:wshager@gmail.com" target="_blank">wshager@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>That should provide some positive perspectives for integrating with the web... wait, did I just get off-topic? Oops? No. I write a great deal of javascript, and this is actually why I would like my wishlist to be considered. Functions like array:index-of and array:for-each (called map in many more languages) feel off to me in xquery because of their resemblance to javascript, but with slightly different semantics. Since this pertains to "imperative" constructs, you may consider converging more towards javascript, which was the reason for the 3.1 spec in the first place, if I'm not mistaken. As an added advantage it would less surprise programmers coming from javascript, I think.<br></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">2015-06-26 19:14 GMT+02:00 daniela florescu <span dir="ltr"><<a href="mailto:dflorescu@me.com" target="_blank">dflorescu@me.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>><br>
><br>
> Which was of course a major failing of the original Xquery proposals.<br>
> It was staggering that an W3C XML query language should _not_ start from<br>
> that base.  Fortunately It was redrafted to sit over Xpath.<br>
> XQuery 1 was basically (and should have been defined as) a non-xml<br>
> syntax for a simplified subset of XSLT.<br>
<br>
</span>BTW, David… it’s funny after 15 years… -)<br>
<br>
If the XSLT WG wanted a simple non-xml syntax for XSLT, they should have done it themselves…..why would this<br>
have been OUR problem !?<br>
<br>
What the XML QUERY Working Group wanted something COMPLETELY different, aka, a QUERY LANGUAGE,<br>
out of which XSLT isn’t one …. that’s all.<br>
<br>
Fun  to see that those arguments don’t die even after 15 years :-)<br>
<br>
I remember having those discussion on-line and off-line with James Clark… like a decade and a half ago !?? :-)<br>
<br>
Actually, the first running implementation of the integration of XQuery and XPath parser was written by me and James<br>
(both bitching about the “features” in other’s side..:-)<br>
<br>
But overall, I think XSLT and XQuery ended up integrated pretty nicely, so it was worth the effort.<br>
<div><div><br>
Best regards<br>
Dana<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:talk@x-query.com" target="_blank">talk@x-query.com</a><br>
<a href="http://x-query.com/mailman/listinfo/talk" rel="noreferrer" target="_blank">http://x-query.com/mailman/listinfo/talk</a></div></div></blockquote></div><br><br clear="all"><br></div></div><span class="">-- <br><div><div>
<p> 
W.S. Hager<br>
Lagua Web Solutions<br>
<a href="http://lagua.nl/" target="_blank">http://lagua.nl</a><br></p></div></div>
</span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div>
<p> 
W.S. Hager<br>
Lagua Web Solutions<br>
<a href="http://lagua.nl/" target="_blank">http://lagua.nl</a><br></p></div></div>
</div>