Oh, thanks a lot!!!
It's really work !!!!
Now i know that It's not worth hoping only to the validation..



2013/1/28 Jonathan Moules-2 [via OSGeo.org] <
[email protected]>

> Worth asking - does it actually work on the map rendering?
> The Validation engine seems to be very different from the actual map
> renderer. What works in one may not in the other and vice-versa.
>
>
>
> On 28 January 2013 18:04, ZvezdDochka <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=5030362&i=0>
> > wrote:
>
>> Hello!!
>>
>> I'm trying to use a vendor option called labelObstacle to avoid overlaping
>> my "External Graphic" with labels.
>> I was found this example in the official documentations:
>>
>> http://docs.geoserver.org/2.2.4/user/styling/sld-extensions/label-obstacles.html
>> but it doesn't work..
>>
>> Validation failed with error:
>> ine 20: cvc-complex-type.2.4.d: Invalid content was found starting with
>> element 'VendorOption'. No child element is expected at this point.
>>
>> code:
>> <?xml version="1.0" encoding="ISO-8859-1"?>
>> <StyledLayerDescriptor version ="1.0.0" xmlns="http://www.opengis.net/sld
>> "
>>
>> xmlns:ogc="http://www.opengis.net/ogc";
>>   xmlns:xlink="http://www.w3.org/1999/xlink";
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>   xsi:schemaLocation="http://www.opengis.net/sld
>> http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd";>
>>   <NamedLayer>
>>     <Name>123</Name>
>>     <UserStyle>
>>       <FeatureTypeStyle>
>>     <Rule>
>>       <PointSymbolizer>
>>         <Graphic>
>>           <ExternalGraphic>
>>             <OnlineResource
>>               xlink:type="simple"
>>               xlink:href="smileyface.png" />
>>             <Format>image/png</Format>
>>           </ExternalGraphic>
>>           <Size>32</Size>
>>         </Graphic>
>>         <VendorOption name="labelObstacle">true</VendorOption>
>>       </PointSymbolizer>
>>     </Rule>
>>       </FeatureTypeStyle>
>>     </UserStyle>
>>   </NamedLayer>
>> </StyledLayerDescriptor>
>>
>> Could you help me, please?? What i'm doing wrong?
>>
>>
>>
>> --
>> View this message in context:
>> http://osgeo-org.1560.n6.nabble.com/Validation-failed-with-labelObstacle-PointSymbolizer-tp5030361.html
>> Sent from the GeoServer - User mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------------
>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>> MVPs and experts. ON SALE this month only -- learn more at:
>> http://p.sf.net/sfu/learnnow-d2d
>> ___________________________ ____________________
>> Geoserver-users mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=5030362&i=1>
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
>
> This transmission is intended for the named addressee(s) only and may
> contain sensitive or protectively marked material up to RESTRICTED and
> should be handled accordingly. Unless you are the named addressee (or
> authorised to receive it for the addressee) you may not copy or use it, or
> disclose it to anyone else. If you have received this transmission in error
> please notify the sender immediately. All email traffic sent to or from us,
> including without limitation all GCSX traffic, may be subject to recording
> and/or monitoring in accordance with relevant legislation.
>
> ------------------------------------------------------------------------------
>
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> _______________________________________________
> Geoserver-users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=5030362&i=2>
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://osgeo-org.1560.n6.nabble.com/Validation-failed-with-labelObstacle-PointSymbolizer-tp5030361p5030362.html
>  To unsubscribe from Validation failed with "labelObstacle"
> (PointSymbolizer), click 
> here<http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5030361&code=enZlemRkb2Noa2FAZ21haWwuY29tfDUwMzAzNjF8LTIwODU2MzEyNDY=>
> .
> NAML<http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Validation-failed-with-labelObstacle-PointSymbolizer-tp5030361p5031174.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to