Hi,
I have developed a number of XSLT transformations that have worked fine
when I run them in a standard Java application using JDK 1.4.2. I have now
implemented another XSLT that is used by a servlet. The problem that I have is
that when create a new Transformer using the factory method newTransformer I
receive an exception stating that the call to the setMethod failed. I have
traced this to the use of <xsl:output> in the XSLT file, if I remove this
element then everything works.
I have tried putting the Xalan libs I have used in the standard Java
application in the common/endorsed directory to ensure that those are used and
not the ones from JDK 1.4.2 but still receive the same error.
Any help would be appreciated.
Tech info:
JDK 1.4.2
Xalan 2.5.1
Regards,
Ben
-----------------------------------------------
Dr Ben Ryan
HLSI Software Development Manager
University of Huddersfield
Tel: 01484 473587
E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
-----------------------------------------------
BEGIN:VCARD
VERSION:2.1
N:Ryan;Ben
FN:Ben Ryan
ORG:School of Human & Health Sciences
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20020909T104843Z
END:VCARD