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

Reply via email to