Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bpross-52n committed Aug 30, 2016
1 parent 606ebb2 commit ba37241
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -350,7 +350,7 @@ public static QName createGML3SchemaForFeatureType(SimpleFeatureType featureType
}else if(property.getType().getBinding().equals(Double.class)){
schema = schema + "<xs:element name=\""+attributeName+"\" minOccurs=\"0\" maxOccurs=\"1\"> "+
"<xs:simpleType> ";
schema = schema + "<xs:restriction base=\"xs:integer\"> "+
schema = schema + "<xs:restriction base=\"xs:double\"> "+
"</xs:restriction> "+
"</xs:simpleType> "+
"</xs:element> ";
Expand Down Expand Up @@ -421,7 +421,7 @@ public static QName createGML2SchemaForFeatureType(SimpleFeatureType featureType
}else if(property.getType().getBinding().equals(Double.class)){
schema = schema + "<xs:element name=\""+attributeName+"\" minOccurs=\"0\" maxOccurs=\"1\"> "+
"<xs:simpleType> ";
schema = schema + "<xs:restriction base=\"xs:integer\"> "+
schema = schema + "<xs:restriction base=\"xs:double\"> "+
"</xs:restriction> "+
"</xs:simpleType> "+
"</xs:element> ";
Expand Down

0 comments on commit ba37241

Please sign in to comment.