On 20/04/12 09:38, Brett Walker wrote:
> I’ve noticed that the app-schema extension on trunk now generates a myriad of 
> warnings like the one below.
> 19/04/2012 1:29:29 PM 
> org.geotools.data.complex.config.FeatureTypeRegistry<init>
> WARNING: Unable to set substitution group, caused by: XSD type definition not 
> found in schemas: {http://www.opengis.net/gml}CoordinateSystemAxisBaseType

I think this might be a bona fide error. Substitution groups are 
collected to enable better support for polymorphic types, so users do 
not have to specify targetAttributeNode in many cases. This error might 
be caused by circular dependencies or type registration order problems 
in FeatureTypeRegistry.

I will raise a Jira issue to investigate this problem.

To suppress these warnings in a GeoServer you should be able to set your 
logging to:
log4j.category.org.geotools.data.complex.config=FATAL
or
log4j.category.org.geotools.data.complex.config=OFF

I don't know how to change unit test logging in Maven without a 
per-unit-test hack such as that used in gt-app-schema-resolver 
AppSchemaConfigurationTest or refactoring all GeoTools tests to use a 
common base fixture that configures the logging environment. Perhaps 
other developers have suggestions?

Kind regards,

-- 
Ben Caradoc-Davies <[email protected]>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to