W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2004

RE: defer cyclic module import until XQuery 1.0

From: Michael Kay <mhk@mhk.me.uk>
Date: Thu, 4 Mar 2004 00:29:12 -0000
To: "'Per Bothner'" <per@bothner.com>
Cc: <public-qt-comments@w3.org>, "'Michael Rys'" <mrys@microsoft.com>
Message-Id: <20040304002939.ADBADA05F2@frink.w3.org>

# 
# OK.  However, XQuery has static binding of names *within* each module,
# and we should be able to separately compile a library module.  In XSLT
# you don't static name binding in the normal sense, and while you might
# be able to do some kind of separate compilation it would have to leave
# a lot of name binding until run-time.

I would imagine that most XSLT processors do indeed bind the names of
variables and templates/functions statically; but it's true that the module
mechanism isn't designed to facilitate separate compilation. However, I
don't think separate compilation is at all impossible within the XSLT model,
it just needs (as you imply) rather more work at link time (which might be
the same as run-time).

Michael Kay
Received on Wednesday, 3 March 2004 19:29:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:33 GMT