[EMAIL PROTECTED] wrote:

I have a better example which better show my problem :




[snip code]

I get this Exception :
java.lang.ClassCastException:
org.apache.xerces.dom.ElementNSImpl

but only with xerces version >= 2
with previouses it perfectly works.

What is the problem ?



If you're trying to use different DOM implementations together, you will need to call org.w3c.dom.Document.importNode(). This isn't particularly nice, but this is the way I use Batik's SVG DOM with Xerces' DOM.

Hope that helps,
James Shaw

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to