WFSCapabilities.getFeatureSetDescription() has empty conditional where it 
should return a value
-----------------------------------------------------------------------------------------------

         Key: GEOT-861
         URL: http://jira.codehaus.org/browse/GEOT-861
     Project: GeoTools
        Type: Bug

  Components: data wfs  
    Versions: 2.2-RC2    
 Environment: OS X, Java 1.5
    Reporter: Ryan Hofschneider
 Assigned to: David Zwiers 


In org.geotools.data.ows.WFSCapabilities.getFeatureSetDescription(), it goes to 
the effort to check for feature type names with namespaces, but does not take 
any action -- the if-statement is empty. This breaks getSchema requests in 
WFSDataStore.

The if-statement should look like this:
if(index!=-1 && typename.equals(name.substring(index+1))){
   return fsd;   
}

This allows the check to succeed, even if name has the namespace used by the 
cascaded WFS server.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to