[ http://nagoya.apache.org/jira/browse/XALANJ-801?page=history ]
Henry Zongaro updated XALANJ-801:
---------------------------------
Assign To: (was: Xalan Developers Mailing List)
type: New Feature (was: Bug)
Description:
It would be nice if XSLT would include the part of the XSL file which belongs
to a certain method in the generated bytecode as debug information (the same
way the javac compiler includes the filename of a java source file and the line
number).
A stacktrace like:
translet.applyTemplates(
<xsl:templates match="blah">
<xsl:whatever/>
</xsl:templates>
) at
translet.transform() at
org.apache.xalan.xsltc.runtime.AbstractTranslet.transform
(AbstractTranslet.java:506) ...
is much mor meaningful than:
translet.applyTemplates() at
translet.transform() at
org.apache.xalan.xsltc.runtime.AbstractTranslet.transform
(AbstractTranslet.java:506) ...
I was searching if this kind of feature already exists, but I couldn't find
something similar.
was:
It would be nice if XSLT would include the part of the XSL file which belongs
to a certain method in the generated bytecode as debug information (the same
way the javac compiler includes the filename of a java source file and the line
number).
A stacktrace like:
translet.applyTemplates(
<xsl:templates match="blah">
<xsl:whatever/>
</xsl:templates>
) at
translet.transform() at
org.apache.xalan.xsltc.runtime.AbstractTranslet.transform
(AbstractTranslet.java:506) ...
is much mor meaningful than:
translet.applyTemplates() at
translet.transform() at
org.apache.xalan.xsltc.runtime.AbstractTranslet.transform
(AbstractTranslet.java:506) ...
I was searching if this kind of feature already exists, but I couldn't find
something similar.
Environment:
Operating System: All
Platform: All
was:
Operating System: All
Platform: All
Priority: Major
Bugzilla Id: (was: 6134)
> Include XSL code as debug information in generated bytecode
> -----------------------------------------------------------
>
> Key: XALANJ-801
> URL: http://nagoya.apache.org/jira/browse/XALANJ-801
> Project: XalanJ2
> Type: New Feature
> Components: XSLTC
> Versions: 2.2.0
> Environment: Operating System: All
> Platform: All
> Reporter: Mirko Seifert
>
> It would be nice if XSLT would include the part of the XSL file which belongs
> to a certain method in the generated bytecode as debug information (the same
> way the javac compiler includes the filename of a java source file and the
> line
> number).
> A stacktrace like:
> translet.applyTemplates(
> <xsl:templates match="blah">
> <xsl:whatever/>
> </xsl:templates>
> ) at
> translet.transform() at
> org.apache.xalan.xsltc.runtime.AbstractTranslet.transform
> (AbstractTranslet.java:506) ...
> is much mor meaningful than:
> translet.applyTemplates() at
> translet.transform() at
> org.apache.xalan.xsltc.runtime.AbstractTranslet.transform
> (AbstractTranslet.java:506) ...
> I was searching if this kind of feature already exists, but I couldn't find
> something similar.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]