You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Paul Raby <pr...@tibco.com> on 2005/07/08 16:09:14 UTC

Problem with Transformer setParameter

I'm having problems with the setParameter method on the transformer
object.

 

I'm passing in an element (object) and I'm gettting back an error when
running the transform:

 

ERROR:  'Invalid conversion from
'com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl' to
'node-set'.'

 

I'm using:
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl from
Sun's JWSDP.

 

If I use: org.apache.xalan.processor.TransformerFactoryImpl from Sun's
JDK 1.4.2 it works fine.

 

I need a portable solution across different versions of the JDK.  Is
this a known issue, or does anyone know a workaround?

 

Regards,

 

Paul Raby