Re: new drafts published
Jonathan Robie <[email protected]> Mon, 11 Apr 2005 12:08:58 -0400
| Newsgroups | gmane.comp.web.query-languages |
|---|---|
| Message-ID | <[email protected]> |
Associating XQuery with Perl is at least bad positioning, and it's
certainly not the case that Perl was a model for the syntax of XQuery in
any sense. I strongly agree with Phil and Steve.
Jonathan
Philip Wadler wrote:
>
> Liam,
>
> I agree with Steve. There are similarities with Perl and there are
> also differences. Calling the syntax Perl-like may attract some folk,
> but will alienate others. Since it is not a description that enjoys
> the concensus of the group it is best avoided.
>
> -- P
>
> Liam Quin wrote:
>
>> On Tue, Apr 05, 2005 at 02:29:06PM -0400, Tolkin, Steve wrote:
>> Oops, I didn't copy my reply to the list, sorry....
>>
>>> I quote from the announcement below:
>>>
>>> * XQuery 1.0: An XML Query Language:
>>> A non-XML, Perl-like syntax for querying ...
>>>
>>> "Perl-like syntax"?
>>
>>
>>
>> Uses $ signs to signify variables; uses {...} for scope; has
>> optional type checking system (although much weaker than XQuery's);
>> has lists (sequences) that can contain trees but not sequences;
>> there are actually quite a lot of similarities between XQuery and
>> Perl at the superficial level, although as a user of both languages
>> I know well that there are many differences.
>>
>> XQuery's syntax is not a human-readable XML-based one such as that
>> of XSLT, though.
>>
>> Liam
>>
>