Closed johnkeys closed 10 years ago
After trying to upload a sample set of data with location co-ordinates I keep getting the error message
com.github.fge.jsonschema.core.report.ListProcessingReport: failure --- BEGIN MESSAGES --- error: ECMA 262 regex "[0-9]+ [0-9]+" does not match input string "53.484721-2.216709017" level: "error" schema: {"loadingURI":"#","pointer":"/properties/dataset/properties/poi/items/properties/location/properties/point/properties/pos/properties/posList"} instance: {"pointer":"/dataset/poi/0/location/point/pos/posList"} domain: "validation" keyword: "pattern" regex: "[0-9]+ [0-9]+" string: "53.484721-2.216709017" --- END MESSAGES ---
Is it because the regular expression "[0-9]+ [0-9]+" doesn’t match the number with a leading minus sign or ... ?
It's fixed in the current version of the source code.
After trying to upload a sample set of data with location co-ordinates I keep getting the error message
com.github.fge.jsonschema.core.report.ListProcessingReport: failure --- BEGIN MESSAGES --- error: ECMA 262 regex "[0-9]+ [0-9]+" does not match input string "53.484721-2.216709017" level: "error" schema: {"loadingURI":"#","pointer":"/properties/dataset/properties/poi/items/properties/location/properties/point/properties/pos/properties/posList"} instance: {"pointer":"/dataset/poi/0/location/point/pos/posList"} domain: "validation" keyword: "pattern" regex: "[0-9]+ [0-9]+" string: "53.484721-2.216709017" --- END MESSAGES ---
Is it because the regular expression "[0-9]+ [0-9]+" doesn’t match the number with a leading minus sign or ... ?