This definitely fixed the problem.
On Behalf Of Michael Kay
Sent: Tuesday, 15 February, 2005 13:00
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...
From: firstname.lastname@example.org [mailto:email@example.com] On Behalf Of Gil Tayar
Sent: 15 February 2005 10:15
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)
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?
Chief Technology Officer
Business: +972 (3) 766 1806
Mobile: +972 (54) 634 4457