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

RE: xslt2 issues

From: <DPawson@rnib.org.uk>
Date: Fri, 4 Jan 2002 13:46:23 -0000
Message-ID: <9B66BBD37D5DD411B8CE00508B69700FE7A9AC@pborolocal.rnib.org.uk>
To: jeni@jenitennison.com, xsl-editors@w3.org
Hi Jeni.
> I'd also argue that users can always write their own functions, with
> their own names, if they wish to do something different than that
> supported within XPath, rather than overriding the existing functions.
> I think that forcing them to do this will prevent there from being
> requests such as 'I want to call the built-in function from my
> overriding function'.

If we class an exslt function as 'user', via import or otherwise,
I'd still put the user preference first, without any hesitation,
whilst accepting your argument re speed etc. The case above (call the 
vendor from a user function of same name) I would take as an exception.


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?



> 
> On the other hand, since reasonable people can obviously differ so
> markedly in their expectations over which should win, 

W3C WAI never has done, nor found any reason so to do.

> a switch sounds  like a good idea 

Fine, so long as the default is for the user to 'win' ( I.e. have
precendence unless otherwise specified explicitly).

#Regards DaveP


- 

NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 
system.

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk 
Received on Friday, 4 January 2002 08:45:45 GMT

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