[prev in list] [next in list] [prev in thread] [next in thread] 

List:       batik-users
Subject:    Re: Attaching a customized ErrorHandler
From:       Stephane Hillion <shillion () ilog ! fr>
Date:       2002-01-30 20:32:25
[Download RAW message or body]

On Tuesday 29 January 2002 18:23, Philip Arad wrote:
> Dear all
>
> I am using this program in batik in order to create a valid
> SVG document from a file:
>
> import java.io.IOException;
>
> import org.apache.batik.dom.svg.SAXSVGDocumentFactory;
> import org.apache.batik.util.XMLResourceDescriptor;
>
> import org.w3c.dom.Document;
>
> try {
>     String parser = XMLResourceDescriptor.getXMLParserClassName();
>     SAXSVGDocumentFactory f = new SAXSVGDocumentFactory(parser);
>     String uri = "http://...";
>     Document doc = f.createDocument(uri);
> } catch (IOException ex) {
>      // ...
> }
>
> And I would like to attach a specific ErrorHandler, as I do it
> when I am validating a XML file.
> I saw in the document that the method setErrorHandler is somewhere,
> but I have no idea how to use it.
>
> How it is done?
>

There is nothing to do that. Please enter a RFE in bugzilla 
(http://nagoya.apache.org/bugzilla/).
Thanks,
   Stephane.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic