You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Kirk Everett <ki...@earthlink.net> on 2001/11/07 23:14:39 UTC
Debug output for style task
Does anyone know how to get better debug info from the style task? If I
use the Xalan processor outside of ant, I get detailed information
presented to me about what line number of the xsl or xml file has
problems. When using the style task, the only info I ever get is that
an SAX exception occurred. That's it. No detail. So I either have to
guess at that point what may have gone wrong or run xalan outside of
ant. There must be some kind of way to tell the style task to output
error info otherwise it's not very usable. Can anyone help me with this
one. Thanks.
Kirk
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Debug output for style task
Posted by Kirk Everett <ki...@earthlink.net>.
I have tried that however that just gives me the stack trace but not the problem
with the xsl/xml file. How do people
debug problems with the style task?
Kirk
Erik Hatcher wrote:
> Have you tried using 'ant -debug'? -verbose might do the trick also.
>
> ----- Original Message -----
> From: "Kirk Everett" <ki...@earthlink.net>
> To: <an...@jakarta.apache.org>
> Sent: Wednesday, November 07, 2001 5:14 PM
> Subject: Debug output for style task
>
> > Does anyone know how to get better debug info from the style task? If I
> > use the Xalan processor outside of ant, I get detailed information
> > presented to me about what line number of the xsl or xml file has
> > problems. When using the style task, the only info I ever get is that
> > an SAX exception occurred. That's it. No detail. So I either have to
> > guess at that point what may have gone wrong or run xalan outside of
> > ant. There must be some kind of way to tell the style task to output
> > error info otherwise it's not very usable. Can anyone help me with this
> > one. Thanks.
> >
> > Kirk
> >
> >
> > --
> > To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> > For additional commands, e-mail: <ma...@jakarta.apache.org>
> >
> >
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Debug output for style task
Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
Have you tried using 'ant -debug'? -verbose might do the trick also.
----- Original Message -----
From: "Kirk Everett" <ki...@earthlink.net>
To: <an...@jakarta.apache.org>
Sent: Wednesday, November 07, 2001 5:14 PM
Subject: Debug output for style task
> Does anyone know how to get better debug info from the style task? If I
> use the Xalan processor outside of ant, I get detailed information
> presented to me about what line number of the xsl or xml file has
> problems. When using the style task, the only info I ever get is that
> an SAX exception occurred. That's it. No detail. So I either have to
> guess at that point what may have gone wrong or run xalan outside of
> ant. There must be some kind of way to tell the style task to output
> error info otherwise it's not very usable. Can anyone help me with this
> one. Thanks.
>
> Kirk
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>