W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2002

Re: xslt2 issues

From: David Carlisle <davidc@nag.co.uk>
Date: Fri, 4 Jan 2002 14:04:28 GMT
Message-Id: <200201041404.OAA21956@penguin.nag.co.uk>
To: DPawson@rnib.org.uk
CC: jeni@jenitennison.com, xsl-editors@w3.org


> The initial issue was:
> Issue (user-functions-vs-vendor-functions): Should user-defined functions
> override vendor-defined functions of the same name, as specified here, or
> should it be the other way around?

vendor should win.

vendor functions should be in a vendor's namespace (or common, vendor
shared  like exslt). So users should not be defining functions in the
vendor's namespace with different functionality. To do so is against the
entire spirit of the namespace mechanism. However it is reasonable to
"fake" the vendors function with a user defined function so the
stylesheet is portable to other vendors, but for this to work the
"real" vendor supplied function should run when the stylesheet runs on
that system.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
Received on Friday, 4 January 2002 09:05:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT