[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

XQuery needs to prohibit variable redefinition

Michael Kay mhk at mhk.me.uk
Fri Jul 16 01:56:53 PDT 2004


  XQuery needs to prohibit variable redefinition
For the record, here is Dimitre Novatchev's take on the issue (expressed in
XSLT terms):

http://lists.w3.org/Archives/Public/public-qt-comments/2004Feb/0111.html

Michael Kay 

> -----Original Message-----
> From: kent tegels [mailto:http://xquery.com/mailman/listinfo/talk] 
> Sent: 15 July 2004 23:59
> To: 'Per Bothner'; 'Michael Kay'
> Cc: http://xquery.com/mailman/listinfo/talk
> Subject: RE:  XQuery needs to prohibit variable 
> redefinition
> 
> I have a different view on the issue, but I don't want debate 
> that here. If
> you're interest, its at.
> http://sqljunkies.com/WebLog/ktegels/archive/2004/07/15/3512.aspx
> 
> Yet another reason I can't wait for Michael's book to get done.
> 
> -----Original Message-----
> From: http://xquery.com/mailman/listinfo/talk 
> [mailto:http://xquery.com/mailman/listinfo/talk] On Behalf Of
> Per Bothner
> Sent: Thursday, July 15, 2004 5:09 PM
> To: Michael Kay
> Cc: http://xquery.com/mailman/listinfo/talk
> Subject: Re:  XQuery needs to prohibit variable 
> redefinition
> 
> Michael Kay wrote:
> 
> >>There is no reason why the Core Language can't allow redefinitions, 
> >>even if the User Language doesn't.
> >>
> >>After all, the names added by Normalization are in the 'fs' 
> namespace, 
> >>which users can't access anyway.
> > 
> > 
> > You're preaching to the choir.
> 
> I suspected that.  But do you think there is any chance we can get the
> committee to reconsider?  We do have new data: that many of 
> the beginner
> questions we get on this list are the result of confusing 
> declarations with
> assignments.  This is a problem.
> Prohibiting redeclarations isn't a full solution, but at 
> least it enables
> the compiler to reject many of these erroneous programs.
> -- 
> 	--Per Bothner
> http://xquery.com/mailman/listinfo/talk   http://per.bothner.com/
> _______________________________________________
> http://xquery.com/mailman/listinfo/talk
> http://xquery.com/mailman/listinfo/talk
> 
> 



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.