You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/02/08 17:59:32 UTC

DO NOT REPLY [Bug 7946] - xsl:output idea debug comments

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7946>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7946

xsl:output idea debug comments





------- Additional Comments From keshlam@us.ibm.com  2003-02-08 16:59 -------
Another approach, requiring no change to Xalan, would be to "style your
stylesheets" to add these comments to the output, then use the annotated
stylesheet to process your actual document.

That's a more flexible answer -- depending on how much work you want to invest,
it can be selective about where it does and doesn't generate trace messages
(comments in the wrong place could be disruptive in some cases), or generate
more (or less, or different) information into the comment. And unlike
conditionals in the main Xalan code, it'd burn absolutely no cycles when not in use.

Not very hard to do. I've got an example running which I'm writing up as a
possible article.

I really think that's a better answer.