Permalink
Browse files

Update mapwfs.c

  • Loading branch information...
mathieudugal committed Jun 5, 2014
1 parent 5a3d2b4 commit 7a5c1d6ab27be9b183eeaf0f571083dd03c7e1d9
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapwfs.c
View
@@ -990,7 +990,7 @@ static const char* msWFSMapServTypeToXMLType(const char* type)
if( strcasecmp(type,"Integer") == 0 )
element_type = "integer";
/* Note : xs:int and xs:integer differ */
- else if ( EQUAL(item->type,"int") )
+ else if ( EQUAL(type,"int") )
element_type = "int";
else if( EQUAL(type,"Real") ||
EQUAL(type,"double") /* just in case someone provided the xsd type directly */ )

0 comments on commit 7a5c1d6

Please sign in to comment.