>>>>> "KL" == Keiron Liddle <[EMAIL PROTECTED]> writes:

KL> On Tue, 25 Sep 2001 22:40:32 Thomas E Deweese wrote:

>> [...] for some reason you are hitting the default broken-link
>> handler instead of the SVG broken link handler.  [...]

KL> I've found out where the problem is. The BrokenLink.svg is
KL> available and it tries to load the document but the problem is
KL> that it is using the wrong xml parser and cannot load the
KL> document. [...]  The error is: java.io.IOException: SAX2 driver
KL> class org.apache.crimson.parser.XMLReaderImpl not found

KL> I am using a different xml parser which has always worked
KL> previously, so it looks like for this case it is using the default
KL> parser name.

    How are you getting it to use your alternate parser? My
understanding is if you want Batik to use the alternate parser you
should be calling:

batik.util.XMLResourceDesciptor.setXMLParserClassName(String classname);

    With the name of your XMLParser. Are you doing this?

    You might currently be subclassing batik.bridge.UserAgentAdapter
and reimplementing the getXMLParserClassName, this won't get
communicated to the SVGBrokenLinkProvider (since it unfortunately has
no way to get back to your UserAgent).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to