--- Finn Bock <[EMAIL PROTECTED]> wrote:
>
> I couldn't get that working. As I see the it, the
> SAXException from the
> xml parsing is not passed through to the
> ErrorListener.
>
> The source code from xalan confirms that. No
> ErrorHandler is passed to
> the XMLReader that is create in
> Tra
Finn Bock wrote:
and there is no way AFAICT to set a different error handler on the
XMLReader that the xalans transformer creates and uses to parse the
input file.
Well, if you really need control over the parser, you
have to create one by yourself rather than relying on
StreamSource to do it for
> -Original Message-
> From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED]
> [Finn:]
> > I couldn't get that working. As I see the it, the SAXException from the
> > xml parsing is not passed through to the ErrorListener.
> >
> > The source code from xalan confirms that. No ErrorHandler is
> -Original Message-
> From: Finn Bock [mailto:[EMAIL PROTECTED]
> >
> > Not sure if this is what you're looking for, but the
> > javax.xml.transform.Transformer class does offer a setErrorListener()
method
> > to use a custom Error Handler...
[Finn:]
> I couldn't get that working. As I s
[Andreas]
Hi Finn,
Not sure if this is what you're looking for, but the
javax.xml.transform.Transformer class does offer a setErrorListener() method
to use a custom Error Handler... IIUC, all we have yet to do is provide an
implementation for a javax.xml.transform.ErrorListener and use it to route
> -Original Message-
> From: Finn Bock [mailto:[EMAIL PROTECTED]
>
Hi Finn,
Not sure if this is what you're looking for, but the
javax.xml.transform.Transformer class does offer a setErrorListener() method
to use a custom Error Handler... IIUC, all we have yet to do is provide an
implemen
[Glen]
I'm not sure of the problem here, your input fo is not
an xsl fo, because the xfo to a namespace wasn't
bound. Hence the Xerces error message--what is it
that you're expecting instead?
I would expect that the ErrorHandler methods in FOTreeBuilder
(warning(), error() and fatalError()) was c
I'm not sure of the problem here, your input fo is not
an xsl fo, because the xfo to a namespace wasn't
bound. Hence the Xerces error message--what is it
that you're expecting instead?
Glen
--- Finn Bock <[EMAIL PROTECTED]> wrote:
> Hi Team,
>
> I'm no expert on java's xml & transformer APIs s
Hi Team,
I'm no expert on java's xml & transformer APIs so I need a little help.
It appears to me that when using the identity Transformer from xalan we
no longer get notifications of XML parse errors.
Using an obviously corrupt input fo:
http://www.w3.org/1999/XSL/Format";>
we get the a messa