Re: [Geotools-devel] Encoder configuration binding override

2010-02-14 Thread Ben Caradoc-Davies
On 10/02/10 23:05, Justin Deoliveira wrote:> > This is also a known issue. If you look at Configuration you will see > that setupBindings(PicoContainer) is deprecated in favor of > setupBindings() which returns a map. > The reason for the api change is exactly what you are running up > against, the

Re: [Geotools-devel] Encoder configuration binding override

2010-02-10 Thread Justin Deoliveira
Hi Ben, This is also a known issue. If you look at Configuration you will see that setupBindings(PicoContainer) is deprecated in favor of setupBindings() which returns a map. The reason for the api change is exactly what you are running up against, the inability to override bindings. So it is

[Geotools-devel] Encoder configuration binding override

2010-02-10 Thread Ben Caradoc-Davies
Justin, if I add an override like to xsd-gml3 GMLConfiguration.registerBindings: container.registerComponentImplementation(XS.ANYTYPE, ComplexSupportXSAnyTypeBinding.class); I get a unit test failure (see below). Looks like the test code is gathering all the bindings and detecting that there i