Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

XLST processing

  • 4 réponses
  • 5 ont ce problème
  • 2 vues
  • Dernière réponse par fobispo

more options

It seems like firefox is failing to treat the output of an XSLT transformation tagged as HTML, as an HTML document.

I'm attempting to use the google charts API, and I get:

Timestamp: 6/13/12 3:45:41 PM Error: uncaught exception: [Exception... "An attempt was made to use an object that is not, or is no longer, usable" code: "11" nsresult: "0x8053000b (NS_ERROR_DOM_INVALID_STATE_ERR)" location: "https://www.google.com/jsapi Line: 21"]

And it fails to draw any charts on the page. The site works correctly in both Safari and Chrome....

The page that I'm trying to see is an experimental BIND statistics page that I'm building as an in house experiment at ISC. http://polkmn.com:88

It seems like firefox is failing to treat the output of an XSLT transformation tagged as HTML, as an HTML document. I'm attempting to use the google charts API, and I get: Timestamp: 6/13/12 3:45:41 PM Error: uncaught exception: [Exception... "An attempt was made to use an object that is not, or is no longer, usable" code: "11" nsresult: "0x8053000b (NS_ERROR_DOM_INVALID_STATE_ERR)" location: "https://www.google.com/jsapi Line: 21"] And it fails to draw any charts on the page. The site works correctly in both Safari and Chrome.... The page that I'm trying to see is an experimental BIND statistics page that I'm building as an in house experiment at ISC. http://polkmn.com:88

Toutes les réponses (4)

more options

I see the problem, but I'm no good at reading minified JavaScript code so I can't tell which part of the code is triggering the error.

For what it's worth, the page doesn't work in IE8, either.

more options

I've added a full description of the bug here:

 https://bugzilla.mozilla.org/show_bug.cgi?id=391154

Which was the result of a "fix" of another bug described here:

 https://bugzilla.mozilla.org/show_bug.cgi?id=202765#c41

Basically it has to do with using document.write() in an XSLT generated page..

more options

According to MDN, Firefox doesn't support document.write in formal xhtml, so its unavailability in xhtml generated by xml+xslt turns out to be consistent with that. See https://developer.mozilla.org/en/document.write#Notes.

more options

Well, not quite, I'm not generating XHTML, just plain HTML, I'm using the xsl:output option to tell the browser so..

It works correctly in Chrome and Safari.