Hi, Brenda

This is not a bug in documentation. The documentation is updated in
accordance with Xalan 2.4.1. The namespace URI was changed in Xalan 2.4.1
from "http://xml.apache.org/xslt";  to "http://xml.apache.org/xalan";. The
old namespace "http://xml.apache.org/xslt"; still works, but the new one is
the standard. This information is also available in the on-line
documentation.

Morris Kwan
XSLT Development
IBM Toronto Lab
Tel: (905)413-3729
Email: [EMAIL PROTECTED]



                                                                                
                                                                 
                      Brenda Bell                                               
                                                                 
                      <[EMAIL PROTECTED]        To:       xalan-j-users <[EMAIL 
PROTECTED]>                              
                      erbell.com>                            cc:                
                                                                 
                                                             Subject:  Re: Need 
help getting XSL example to work                                 
                      01/31/2003 11:57 AM                                       
                                                                 
                                                                                
                                                                 
                                                                                
                                                                 



Brenda Bell wrote:
> Brenda Bell wrote:
>
>> I'm trying to run the XSL JavaScript counter example at the bottom of
>> http://xml.apache.org/xalan-j/extensions.html.
>>
>
> More information.  I did a fresh download and redid my class path to
> include xalan.jar, xercesImpl.jar, xml-apis.jar, xsltc.jar, bsf.jar and
> js.jar -- all in that order.
>
> I'm now getting the following output:
>
> (Location of error unknown)XSLT Error
> (javax.xml.transform.TransformerException)
> : java.lang.NoSuchMethodException: For extension function, could not
> find method
>  java.lang.String.read([ExpressionContext,] ).

Problem solved.  The namespace declaration in the example is shown as
xmlns:xalan="http://xml.apache.org/xalan";.

If I change the namespace URI to "http://xml.apache.org/xslt";, it works.
  I think this is a bug in the documentation.




Reply via email to