Hi all
I'm creating an SLD file using QGIS 2.2, but when I try to validate it in
Geoserver I get the following error message:
* Parsing failed for Filter: java.lang.RuntimeException: Unable to find
function Literal
* line 756: cvc-complex-type.2.4.a: Invalid content was found starting with
element 'ogc:Filter'. One of '{"http://www.opengis.net/ogc":expression}' is
expected.
* line 757: cvc-complex-type.2.4.a: Invalid content was found starting with
element 'ogc:Literal'. One of '{"http://www.opengis.net/ogc":spatialOps,
"http://www.opengis.net/ogc":comparisonOps,
"http://www.opengis.net/ogc":logicOps, "http://www.opengis.net/ogc":_Id}' is
expected.
I'm trying to use simple markers along a line. The excerpt from the SLD file is
below:
</se:Rule>
<se:Rule>
<se:Name>One Way Street</se:Name>
<se:Description>
<se:Title>One Way Street</se:Title>
</se:Description>
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>Order_type</ogc:PropertyName>
<ogc:Literal>One Way Street</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<se:LineSymbolizer>
<se:Stroke>
<se:GraphicStroke>
<se:Graphic>
<se:Mark>
<se:WellKnownName>filled_arrowhead</se:WellKnownName>
<se:Fill>
<se:SvgParameter name="fill">#55aaff</se:SvgParameter>
</se:Fill>
<se:Stroke>
<se:SvgParameter name="stroke">#000000</se:SvgParameter>
</se:Stroke>
</se:Mark>
<se:Size>4</se:Size>
</se:Graphic>
<se:Gap>
Line 756 <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
Line 757 <ogc:Literal>5</ogc:Literal>
</ogc:Filter>
</se:Gap>
</se:GraphicStroke>
</se:Stroke>
</se:LineSymbolizer>
</se:Rule>
Any help is greatly appreciated.
Thanks in advance
Steve
Steve Campbell | GIS Manager
Corporate Strategy and Communications
Borough of Poole | Civic Centre | Poole BH15 2RU
Tel: 01202 633 362
Email: s.campb...@poole.gov.uk<mailto:s.campb...@poole.gov.uk>
Website:www.boroughofpoole.com<http://www.boroughofpoole.com/>
Think Green! Please Recycle
DISCLAIMER: This email and any files transmitted with it may be confidential,
legally privileged and protected in law and are intended solely for the use of
the individual to whom it is addressed. The copyright in all documentation is
the property of the Borough of Poole and this email and any documentation must
not be copied or used other than as strictly necessary for the purpose of this
email, without prior written consent which may be subject to conditions. Any
view or opinions presented are solely those of the author and do not
necessarily represent those of the Borough of Poole. The Borough of Poole
reserves the right to inspect incoming and outgoing emails. If you have
received this email in error please contact the sender by return and confirm
that its contents have been destroyed. Telephone enquiries should be directed
to the Borough switchboard on 01202 633633.'
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users