Hello! I-v trying to follow this example:
http://blog.geoserver.org/2008/12/08/dynamic-symbolizers-part-1/ which makes an sld file with dynamic rules. This has not worked for me in Geoserver 1.7.2, giving the following error: Su archivo .SLD no se ajusta al esquema xml para SLD. (SLD file is not compliant with the scheme) Más ayuda dispobile aquí 1: <?xml version="1.0" encoding="ISO-8859-1"?> 2: <StyledLayerDescriptor version="1.0.0" 3: xmlns="http://www.opengis.net/sld" 4: xmlns:ogc="http://www.opengis.net/ogc" 5: xmlns:xlink="http://www.w3.org/1999/xlink" 6: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 7: xsi:schemaLocation="http://www.opengis.net/sld 8: http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd"> 9: <NamedLayer> 10: <Name>Default Polygon</Name> 11: <UserStyle> 12: <Title>Flags of USA</Title> 13: <FeatureTypeStyle> 14: <Rule> 15: <Name>Solid black outline</Name> 16: <LineSymbolizer> 17: <Stroke/> 18: </LineSymbolizer> 19: </Rule> 20: </FeatureTypeStyle> 21: <FeatureTypeStyle> 22: <Rule> 23: <Name>Flags</Name> 24: <Title>USA state flags</Title> 25: <PointSymbolizer> 26: <Graphic> 27: <ExternalGraphic> 28: <OnlineResource xlink:type="simple" 29: xlink:href="http://www.usautoparts.net/bmw/images/states/tn_${strToLowerCase(STATE_ABBR)}.jpg" /> ----------------------------------------------------------------------------------------------------------------------^ cvc-datatype-valid.1.2.1: 'http://www.usautoparts.net/bmw/images/states/tn_${strToLowerCase(STATE_ABBR)}.jpg' is not a valid 'anyURI' value. ----------------------------------------------------------------------------------------------------------------------^ cvc-attribute.3: The value 'http://www.usautoparts.net/bmw/images/states/tn_${strToLowerCase(STATE_ABBR)}.jpg' of attribute 'xlink:href' on element 'OnlineResource' is not valid with respect to its type. 30: <Format>image/gif</Format> 31: </ExternalGraphic> 32: </Graphic> 33: </PointSymbolizer> 34: </Rule> 35: </FeatureTypeStyle> 36: </UserStyle> 37: </NamedLayer> 38: </StyledLayerDescriptor> The link says this should work after geoserver 1.7.0, does anyone know if I have to edit some configuration in geoserver to enable this Thanks! Regards. Joaquín Rodríguez-Guerra Urcelay Unidad de Sistemas de Procesamiento de Ciencia y de Observación de la Tierra / Science and Earth Observing Processing Systems Unit GMV AEROSPACE AND DEFENCE, S.A. Isaac Newton, 11 P.T.M. Tres Cantos E-28760 Madrid Tel. +34 91 807 21 00 / 7694 Fax +34 91 807 21 99 www.gmv.com ______________________ This message including any attachments may contain confidential information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it. ______________________ Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje erroneamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboracion. ______________________ ------------------------------------------------------------------------------ Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
