Hi,
as you surely known playing with label options in GeoServer SLD
editor is hard, especially because the SLD you end up creating
often contains VendorOption tags that are not in the standard
schema.

I was wondering if we could do the following to alleviate the issue:
* create a StyledLayerDescriptorGS.xsd file that contains the extra
   definitions and ship it along with the other schemas in GeoServer
* publish a copy of the relevant schemas at geoserver.org, much
   like in schemas.opengis.net, so that we have a stable place
   that the XML files can refer to (we could keep the schemas in
   svn and publish it directly, so that if we need to make
   any further customisation it's easy to do so).

The nice thing about renaming the xsd is that we simply admin
we tweaked it, it's not the standard, but gives you more opportunities
than the standard itself, and avoids the validation issues.

If we wanted to make this super clean, we could extend the
TextSymbolizer element into a GTTextSymbolizer that allows
the vendor option element. That would be cleaner from a schema
p.o.v., but it would require some parser work in GT2 (not
that much actually).

Opinions?
Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to