This definitely fixed the problem.

 

Thanks!

Gil

 


From: saxon-help-admin@lists.sourceforge.net [mailto:saxon-help-admin@lists.sourceforge.net] On Behalf Of Michael Kay
Sent: Tuesday, 15 February, 2005 13:00
To: saxon-help@lists.sourceforge.net
Subject: RE: [saxon] DOMSource/Result support removed in Saxon 8.3?

 

Please see the description of changes for this release (the section headed "DOM level 3 support").

 

In particular, if you want to use a DOMSource or DOMResult, you must ensure that the classpath contains both saxon8-dom.jar, and the JAXP 1.3 version of dom.jar.

 

Support for DOM is no longer in the main saxon8.jar file because of DOM incompatibilities between JDK 1.4 and JDK 1.5 - it was the only way I could find to make Saxon work on both versions.

 

I'll think about improving these error messages...

 

Michael Kay

http://www.saxonica.com/

 

 

 


From: saxon-help-admin@lists.sourceforge.net [mailto:saxon-help-admin@lists.sourceforge.net] On Behalf Of Gil Tayar
Sent: 15 February 2005 10:15
To: saxon-help@lists.sourceforge.net
Subject: [saxon] DOMSource/Result support removed in Saxon 8.3?

After moving from 8.2 to 8.3, we got the following exceptions:

java.lang.IllegalArgumentException: Unknown type of source class javax.xml.transform.dom.DOMSource at net.sf.saxon.event.Sender.send(Sender.java:141)

at net.sf.saxon.event.Sender.send(Sender.java:45)

 

and

 

Unknown type of result: class javax.xml.transform.dom.DOMResult

  (java.lang.IllegalArgumentException)java.lang.IllegalArgumentException: Unknown type of result: class javax.xml.transform.dom.DOMResult 

 

 

Looking at the code (ResultWrapper.java, I believe), we noticed that support for these Results has been commented out.

 

Is this temporary, or a sign of things to come? If temporary, is there a timeline for correction?

 

Yours,

Gil Tayar

WebCollage

Chief Technology Officer

Business: +972 (3) 766 1806

Mobile:    +972 (54) 634 4457