On 2011-08-04 10:55, Roman Isitua wrote:
Hello,

I have a bunch of osm sld files. I noticed that some elements like Rule, Name do not have the sld prefix in front of them i.e. sld: I will like to ask if I can use geotools to read such files.


The namespace prefix is not significant, as long as the namespace is correctly declared using a xmlns attribute. See http://en.wikipedia.org/wiki/XML_namespace for more details.


When the sld files are loaded to geoserver. Geoserver fails to render the features probably because it is not able to read files correctly.


Have you tried the "Validate" button?

Matthijs
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to