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] RE: xquery v1.1 tracking xquery x was Re: [xml-dev]RE: Declarative programming requires a different mindset

On Wed, 14 Apr 2010 21:00:44 +0100
"Michael Kay" <mike@saxonica.com> wrote:

> They've done two kinds of extension, as far as I can see:
> (a) new functions, which is unproblematic
> (b) new declarations in the prolog. The rule for a new prolog
> declaration to be unambiguous is that it must start with two keywords
> (for example "declare integrity") where the second keyword does not
> clash with a word that can appear in an operator context (such as
> "and", "then", "as", "with" - the list is quite long and growing
> because of Update and Free Text). They have taken a gamble that the
> words "collection", "integrity", "value", "ordered" will never be
> used in an operator context in a future version of the standard.

Noting this as following the fp thread from David Lee, perhaps
James Clark was right in using Scheme for DSSSL?
Given (a b  c) it is easy to find out what each term is with the
language rules.  
XML follows that idea as Michael shows. 

Lesson there somewhere, that xquery failed to learn.



Dave Pawson

[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