Re: debugging XSLT in Firefox
Lucky <[email protected]> Mon, 21 May 2007 00:40:29 -0400
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Message-ID | <[email protected]> |
I noticed that even dispatching the DOMContentLoaded event from the xml+xsl transformed content would still not allow firebug to initialize? John J. Barton wrote: > 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 >>