Wrap values in <Literal>

This commit is contained in:
tsauerwein
2016-08-29 09:34:52 +02:00
parent 784be4099e
commit 7128e86e3c
2 changed files with 10 additions and 4 deletions

View File

@@ -369,8 +369,8 @@ describe('ol.format.WFS', function() {
' <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">' +
' <ogc:PropertyIsBetween>' +
' <ogc:PropertyName>area</ogc:PropertyName>' +
' <ogc:LowerBoundary>100</ogc:LowerBoundary>' +
' <ogc:UpperBoundary>1000</ogc:UpperBoundary>' +
' <ogc:LowerBoundary><ogc:Literal>100</ogc:Literal></ogc:LowerBoundary>' +
' <ogc:UpperBoundary><ogc:Literal>1000</ogc:Literal></ogc:UpperBoundary>' +
' </ogc:PropertyIsBetween>' +
' </ogc:Filter>' +
'</wfs:Query>';