OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Seeking Examples of XSLT Memory Stress

[ Lists Home | Date Index | Thread Index ]
  • To: Michael Kay <mike@saxonica.com>
  • Subject: Re: [xml-dev] Seeking Examples of XSLT Memory Stress
  • From: Robert Koberg <rob@koberg.com>
  • Date: Wed, 17 Aug 2005 12:24:24 -0400
  • Cc: xml-dev@lists.xml.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
> http://www.saxonica.com/


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS