Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] svg madness

So there is never a specific dependency on xerces; it just depends on w3c dom and w3c dom svg as a "Imported Package".
This is the mechanism to pick up something supplied by the JRE (and we should use it for JAI another day).
I did go through and find a few more missing batik dependencies and now have stuff on screen.

I am going to do one trial "release" of win32 to ensure the splash screen stuff is sorted.

Moovida if you still have energy today after such a long bug hunt could you backport these changes to the 1.2.0 tag; and we will issue a second release (I will try and fix up the remaining splash screens as well).

Jody

 
On 14/08/2010, at 9:34 PM, 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
> 



Back to the top