Re: debugging XSLT in Firefox
"John J. Barton" <[email protected]> Mon, 07 May 2007 09:11:05 -0700
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Message-ID | <[email protected]> |
Firebug is a Firefox Javascript debugger. I looked into why it fails for XSLT. Seems like the problem is that XSLT does not signal DOMContentLoaded, a known bug. (See http://code.google.com/p/fbug/issues/detail?id=130) Does XSLT signal other events, similar to nsIWebProgressListener? Are there interfaces to probe the state of the transformation? Is there someone interested in XSLT who would like help extending Firebug to support it better? John. Mike wrote: > How do people debug their XSLT under Firefox. I got something working > under xsltproc, but it fails occasionally on Firefox with the > following error message: > > [Exception... "Component returned failure code: 0x80600004 > [nsIXSLTProcessor.transformToFragment]" nsresult: "0x80600004 > (<unknown>)" location: "JS frame :: <elided> :: anonymous :: line 155" > data: no] > > which gives me no clue what happened. Web searches on that error code > don't turn up much either. > > Is there any way to get more useful error messages, or is there a more > verbose version of the same XSLT engine that Firefox uses that I can > run my stuff against? > > thanks, > mike >