Lists Home |
Date Index |
- To: Michael Kay <firstname.lastname@example.org>
- Subject: Re: [xml-dev] Seeking Examples of XSLT Memory Stress
- From: Robert Koberg <email@example.com>
- Date: Wed, 17 Aug 2005 12:24:24 -0400
- Cc: firstname.lastname@example.org
- In-reply-to: <200508171610.j7HGAcg14758@server1.livestoryboard.com>
- References: <200508171610.j7HGAcg14758@server1.livestoryboard.com>
- User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)
Michael Kay wrote:
>>I did not know that and it is good to know. I disable extensions (and
>>don't really investigate them) as I run some untrusted XSLs in my CMS
>>webapp. I wonder, is there some way to configure Saxon to allow this
>>extension, but not allow any others?
> You can define a subclass of JavaExtensionLibrary and nominate this using
> configuration.setExtensionBinder(); in your subclass you can override the
> bind() method to select which extension functions you want to allow through.
That is perfect! It will really take a load of the servers. Now I need
to find out what other extensions I have been missing all these years.
>>Any chance of this type of thing getting into the spec?
> I doubt it - too hard to specify the semantics.
> Michael Kay