Jody Garnett wrote:
> Hi Graham I am now stuck here as well ... the test case seems fair:
>   
>> FeatureTypeFactory factory = 
>> FeatureTypeFactory.newInstance("AbstractThing");
>> factory.setAbstract(true);
>> factory.setNamespace( new URI("http://www.nowhereinparticular.net";));    
>> FeatureType abstractThing = factory.getFeatureType();  // FAILURE HERE
>>     
> I have changed the variable names to protect the innocent.
> Jody
>   
Adjusting the error message to make sense (to me) I end up with the 
following:
> org.geotools.feature.SchemaException: Abstract AbstractThing cannot 
> descend from Feature as it is a concrete type
So it sounds like the FeatureType "Feature" (as defined in GML) is no 
longer abstract - and that is a mistake for all concerned. Looking into 
it now.

Jody


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to