users@jaxb.java.net

Re: UnsupportedOperationException with Binder

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 14 Jun 2006 23:23:38 -0700

marklists_at_javector.com wrote:
> I'm trying to test a simple usage of javax.xml.bind.Binder. Am using JAXB 2.0
> version that ships with GlassFish b42. Are Binders not supported?

Argh. This is a bug. I just committed a fix. This method was meant for
supporting other DOMs like dom4j, but we never got around to support
anything but W3C DOM, and hence we forgot to implement it.

It will take some time for this to propagate to Glassfish, so meanwhile
you can use the no arg version "createBinder()" to achieve the same
effect, since you are using W3C DOM.


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com