[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] svg madness
|
Xerces dependencies can be a nightmare especially since they are bundled with various platforms in different ways. For example, the following bugzilla describes one such..
https://bugs.eclipse.org/bugs/show_bug.cgi?id=178194
On Aug 14, 2010, at 4:34 AM, Jody Garnett wrote:
> xerces huh; okay I will add a test case and see if I can sort that stuff out.
>
> Jody
>
> On 14/08/2010, at 8:06 PM, andrea antonello wrote:
>
>> Hei Jody, you where thrown out of IRC, so I write here.
>> I debugged the svg problem into the
>> org.geotools.renderer.style.SVGGraphicFactory
>>
>> in
>> getIcon
>>
>> when it tries to create the svg:
>> String parser = XMLResourceDescriptor.getXMLParserClassName();
>> SAXSVGDocumentFactory f = new SAXSVGDocumentFactory(parser);
>> Document doc = f.createDocument(url.toString());
>> svg = new RenderableSVG(doc);
>> glyphCache.put(svgfile, svg);
>>
>> it throws:
>> java.io.IOException: SAX2 driver class
>> org.apache.xerces.parsers.SAXParser not found
>>
>> I have to run now, will be back in a couple of hours.
>>
>> Later,
>> Andrea
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel