Thanks, Mauro, this is a useful improvement. I confirm that all tests 
pass, including GeoServer app-schema online tests against postgis.

Merged on master:
https://github.com/geotools/geotools/pull/760

Kind regards,
Ben.

On 05/03/15 01:19, Mauro Bartolomeoli wrote:
> Hi,
>
>
>> two issues:
>>
>> (1) This commit includes an xsd for the INSPIRE Land Cover Vector
>> application schema. What is the licence for this document? If the licence
>> permits republication, it may be included in our repository; we will
>> require a copy of the licence in the "licenses" directory, prefaced with a
>> note.
>>
>
> I replaced it with a simpler hand made xsd that is enough for my unit tests.
>
>
>>
>> (2) This change causes a build failure in GeoServer gs-csw-core when
>> building with -PallExtensions or -Prelease:
>>
>> Failed tests: 
>> testRepeatedCapabilitiesCall(org.geoserver.csw.GetCapabilitiesDecoratorTest):
>> Document did not validate.
>>    testPostBasic(org.geoserver.csw.GetCapabilitiesTest): Document did not
>> validate.
>>    testGetBasic(org.geoserver.csw.GetCapabilitiesTest): Document did not
>> validate.
>>    testSections(org.geoserver.csw.GetCapabilitiesTest): Document did not
>> validate.
>>    testPostBasic(org.geoserver.csw.store.internal.GetCapabilitiesTest):
>> Document did not validate.
>>    testGetBasic(org.geoserver.csw.store.internal.GetCapabilitiesTest):
>> Document did not validate.
>>    testSections(org.geoserver.csw.store.internal.GetCapabilitiesTest):
>> Document did not validate.
>>
>
> I found and fixed the issue (in many places a plain Object instance (new
> Object()) is put as an object to be encoded, with the meaning of "nothing
> to encode" (this is my understanding). I added explicit checks to skip
> encoding of those objects, now geoserver seems to build fine.
>
> The pull request is here: https://github.com/geotools/geotools/pull/760
>
> Mauro
>

-- 
Ben Caradoc-Davies <b...@transient.nz>
Software Engineer
Transient Software <http://transient.nz>
New Zealand

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to