Re: Java extensions namespaces

2008-10-24 Thread Fausto
)413-2601 > Email: [EMAIL PROTECTED] > > > *Michael Ludwig <[EMAIL PROTECTED]>* > > 24/10/2008 11:34 AM > To > xalan-j-users@xml.apache.org > cc > Subject > Re: Java extensions namespaces > > > > > Fausto schrieb: > > Also, I have

Re: Java extensions namespaces

2008-10-24 Thread Christine Li
ct Re: Java extensions namespaces Fausto schrieb: > Also, I have read in an > article<http://www.ibm.com/developerworks/library/x-xalanextensions.html >that > XSLT processors should have some optimization on extension functions, > assuming these functions should not have any side ef

Re: Java extensions namespaces

2008-10-24 Thread Michael Ludwig
Michael Ludwig schrieb: Fausto schrieb: My questions are: does xalan have this optimization [...] ? Apparently not: Forgot to include the result in my previous post: # xalan urmel.xml increment-via-extension.xsl 1 2 So the extension function is called twice. Given the method name is "ne

Re: Java extensions namespaces

2008-10-24 Thread Michael Ludwig
Fausto schrieb: Also, I have read in an articlethat XSLT processors should have some optimization on extension functions, assuming these functions should not have any side effect and always return the same value when some parameter

Re: Java extensions namespaces

2008-10-24 Thread Fausto
y.own.extension* <http://my.own.extension/>" > exclude-result-prefixes="own"> > > > > > > Christine Li > XML Transformation > IBM Toronto Lab > Tel: (905)413-2601 > Email: [EMAIL PROTECTED] > > > *Fausto <[EMAIL PROTECTED]>

Re: Java extensions namespaces

2008-10-24 Thread Christine Li
p://my.own.extension"; exclude-result-prefixes="own"> Christine Li XML Transformation IBM Toronto Lab Tel: (905)413-2601 Email: [EMAIL PROTECTED] Fausto <[EMAIL PROTECTED]> 24/10/2008 08:35 AM To xalan-j-users@xml.apache.org cc Subject Java extensions n

Java extensions namespaces

2008-10-24 Thread Fausto
Hi all, I am not sure I did understand well how the extension namespaces works on xalan-j, because I have not found a way to define my own namespace for the extentions. Like having "http://my.own.extension"; namespace for the class my.own.extension.ExtensionImpl. Only way I have seen to use exte