![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
2.3.5 |
|
Assignee:
|
Andrea Aime
|
|
Components:
|
Validation |
|
Created:
|
23/Sep/13 8:48 AM
|
|
Description:
|
This page: http://docs.geoserver.org/stable/en/user/styling/sld-extensions/geometry-transformations.html - has a number of examples of geomtry filters:
They take the form:
<Geometry>
<ogc:Function name="endPoint">
<ogc:PropertyName>the_geom</ogc:PropertyName>
</ogc:Function>
</Geometry>
These work, but fail validation:
line 21: cvc-complex-type.2.4.a: Invalid content was found starting with element 'ogc:Function'. One of '
{"http://www.opengis.net/ogc":PropertyName}
' is expected.
If I change the order of function/propertyName, I get a different validation error:
<se:Geometry>
<ogc:PropertyName>SDO_GEOMETRY</ogc:PropertyName>
<ogc:Function name="endPoint">
</ogc:Function>
</se:Geometry>
Gives me:
Parsing failed for Function: java.lang.RuntimeException: Unable to find function endPoint
line 22: cvc-complex-type.2.4.d: Invalid content was found starting with element 'ogc:Function'. No child element is expected at this point.
This also produces a WMS exception when I try and render the image. So the first is the "right" one, but simply fails validation.
|
|
Project:
|
GeoServer
|
|
Priority:
|
Major
|
|
Reporter:
|
Jonathan Moules
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel