CoordType doesn't work
----------------------

                 Key: GEOT-1804
                 URL: http://jira.codehaus.org/browse/GEOT-1804
             Project: GeoTools
          Issue Type: Bug
          Components: data gml
    Affects Versions: 2.2.2
            Reporter: Jesse Eichar
            Assignee: Jesse Eichar
            Priority: Minor
             Fix For: 2.2.3


      
<gml:coord><gml:X>-140.8734893798828</gml:X><gml:Y>42.0534553527832</gml:Y></gml:coord>

does not parse correctly because the comparison is wrong:

                if (elements[0].getName().equals(value[i].getElement().getType()
                                                             .getName())) {
should be:

                if 
(elements[0].getName().equals(value[i].getElement().getName())) {



-- 
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

        

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to