No, all is clear (just the xml parser of nablle ignored my <![CDATA[ ]]> in the previous mail...

So:
- with <!CDATA[ ]]> in the element <Label> I get no icon at all (doesn't matter the number of spaces)
- with any char (excepting space) in a CDATA section or directly in the Label element I get that char over the icon.

    
On 2012-10-25 13:05, Andrea Aime wrote:
On Thu, Oct 25, 2012 at 3:00 PM, vsinceac <[email protected]> wrote:
Of course I did...

<Label></Label>  --> No icon at all
<Label> </Label>                      --> No icon at all
<Label>any char</Label>           --> Icon AND "any char" over it

Is there a tricky "invisible" escape char? Or well have I to set invisible
color for the font???
What part of CDATA is not clear? :-)

<Label><![CDATA[ ]]></Label>

More about cdata: http://www.w3schools.com/xml/xml_cdata.asp

If we don't put the space in a cdata section the XML parsing rules set
by OGC for
the label element kill any space in it, making it the empty label that
does not get painted.

Cheers
Andrea


--
Victor Sinceac: [email protected], [email protected]
Address: 24, villa Auguste Blanqui, 75013 Paris, France
Phone: +33 9 5277 0042 / +33 6 9507 0434
------------------------------------------------------------------------------
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_sfd2d_oct
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to