[xquery-talk] Collections - family relationships
joewiz at gmail.com
Sat Jan 18 10:01:23 PST 2014
I have a major bone to pick with the XQuery working group and all users of the language, who must all be insane.
When I'm trying to write a program in XQuery and it isn't working, I need to blow off steam with a pissed off comment in the code right where the error message appears. So I write my comment:
>:( XQuery makes no sense to me!!! ):<
But this raises new errors! So I try a different comment syntax:
>:^( GRRRR! )v:<
And another error appears!
Why doesn't XQuery understand my comments? Change it now or I will never cease to complain.
Oh, and I'm not interested in code samples showing the correct syntax for comments or explanations about the origins of whatever crazy comment syntax they came up with.
One final note to anyone who tries to be helpful: Shove it!
Sent from my iPhone
> On Jan 18, 2014, at 11:02 AM, Ihe Onwuka <ihe.onwuka at gmail.com> wrote:
> On Sat, Jan 18, 2014 at 1:57 PM, Adam Retter <adam.retter at googlemail.com> wrote:
>>>> You know full well that the design isn't going to be improved in a subsequent release unless there's an issue that's a real stopper, because people expect backwards compatibility.
>> I am not sure that this is making the point you think it is!
> It does.
>> Anyway, I am sure you realise that you could write your own function
>> in XSLT, let's call it 'doc-or-empty' and use it in place of doc to
>> achieve exactly what you want.
> Yes and I have no intention of doing so.
> See the original post here.
> I knew that parenthesising the return expression would fix the problem
> but I didn't know why. Wolfgang's answer told me.
> talk at x-query.com
More information about the talk