Rini Angreani created GEOT-4006: ----------------------------------- Summary: SLDParser needs to set namespace context for Geometry/PropertyName Key: GEOT-4006 URL: https://jira.codehaus.org/browse/GEOT-4006 Project: GeoTools Issue Type: Bug Components: main Affects Versions: 8.0-M4 Reporter: Rini Angreani Assignee: Rini Angreani Fix For: 8.0-RC1
When a complex path is specified for Geometry in the SLD file: <sld:PointSymbolizer> <sld:Geometry> <ogc:PropertyName>gsml:collarLocation/gsml:BoreholeCollar/gsml:location</ogc:PropertyName> </sld:Geometry> It will throw ServiceException: "The requested Style can not be used with this layer. The style specifies an attribute of gsml:collarLocation/gsml:BoreholeCollar/gsml:location and the layer is: gsml:Borehole" This is because the namespace context doesn't contain the one from the mapping file. SLDParser needs to set the namespaces when creating PropertyName in parseGeometry(just like it does in parseFilter). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel