| This is a simplification activity we can perform now that
GEOS-6702 Open is fixed. The GeoServer codebase has some complicated logic to rewrite relative paths using a StyleVisitor to their absolute file references on disk. The complicated logic allows:
- styles in a workspace styles folder to refer to icons in the global styles folder
- icons in a workspace style folder to override icons in the global styles folder
This logic has been reproduced in
GEOS-6702 Open , allowing relative paths to work if we set the base URL correctly when handing it over to GeoTools for processing. |