On Thu, 17 May 2001, Craig R. McClanahan wrote:
>
>
> On Thu, 17 May 2001 [EMAIL PROTECTED] wrote:
>
> >
> > There is another solution - to generate the map ( java line number ->
> > JSP source line number). This is exactly how the .class annotation works,
> > mapping bytecode to java source number. And will allow you to see both
> > informations, and it's quite clean.
> >
>
> There is a current JSR (#45) with a goal of producing a standard mapping
> format like this for non-Java languages that are translated into Java, and
> JSP is a pretty classic use case of this. I haven't heard much lately
> about this (will check more), but conceptually this approach seems like a
> good direction to go.
>
Well, there is a very interesting discussion going on xalan-dev, regarding
an XSLT debugger. I saw a demo - and you can execute a XSLT step-by-step,
see the line in the source xml that is processed, etc.
Yes, mapping the line numbers is a missing feature in our code, but there
are already people who made this work ( while using jasper with a
debugger ). I hope someone will contribute some code back.
Costin