[Geoserver-devel] [jira] (GEOS-5800) GeoServer won't parse relative external graphic locations in SE 1.1 styles

Andrea Aime created BugGEOS-5800
GeoServer won’t parse relative external graphic locations in SE 1.1 styles

Issue Type:

BugBug

Affects Versions:

2.3.1

Assignee:

Andrea Aime

Components:

Configuration

Created:

07/May/13 5:19 AM

Description:

Something like this should do the trick:

final java.net.URL surl = // the sld url
SLDConfiguration configuration = new SLDConfiguration() {
    protected void configureContext(org.picocontainer.MutablePicoContainer container) {
        DefaultResourceLocator locator = new DefaultResourceLocator();
        locator.setSourceUrl(surl);
        container.registerComponentInstance(ResourceLocator.class, locator);
    };
};
Parser parser = new Parser(configuration);

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Andrea Aime

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)