Este site está com funcionalidades limitadas enquanto realizamos manutenção para melhorar sua experiência de uso. Se nenhum artigo resolver seu problema e você quiser fazer uma pergunta, nossa comunidade de suporte pode te ajudar em @FirefoxSupport no Twitter e /r/firefox no Reddit.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

Why cannot FF5 display xml file (with its xsl file)?

  • 5 respostas
  • 24 têm este problema
  • 16 visualizações
  • Última resposta de žełvik

more options

With FireFox 3.6, Mozilla 1.7.13 and IE 6 I can view my xml report files utilizing their xsl files. I recently upgraded to FireFox 5 and lost that capability!

I have developed several applications for nonprofit use that depend on viewing and printing reports via web browsers.

I choose this approach because nonprofit organizations would all have web browsers on their PCs.

My xml report files each have their xsl stylesheet files FireFox has been my default browser since it superseded Mozilla 1.7.

I will sincerely appreciate your help.

With FireFox 3.6, Mozilla 1.7.13 and IE 6 I can view my xml report files utilizing their xsl files. I recently upgraded to FireFox 5 and lost that capability! I have developed several applications for nonprofit use that depend on viewing and printing reports via web browsers. I choose this approach because nonprofit organizations would all have web browsers on their PCs. My xml report files each have their xsl stylesheet files FireFox has been my default browser since it superseded Mozilla 1.7. I will sincerely appreciate your help.

Solução escolhida

This:

If the file to be loaded is in a subdirectory of the codebase…

and Bug 402983

switching security.fileuri.strict_origin_policy in about:config solves the problem but a better solution is to navigate to your file from a common ancestor, in which case the style sheet will be considered native too.

Ler esta resposta 👍 1

Todas as respostas (5)

more options

I'm on an Intel Mac OS 10.5.8 using Firefox 5. I found that when trying to open an xml or xsl file in Firefox 5, these file types are greyed out and I'm not able to select them. Nor does Firefox appear as a possible program with which to open these file types. I know that Firefox CAN open these files as I have been able to display them by dragging the file icon into a Firefox window. I have coworkers running the same configuration and it works fine. Is there a preference in FF?

Thanks for the help, as well.

more options

Thank you.

You are correct. I can drag and drop to display the xml file.

How ever, I need to open the xml file in FireFox from within a VB6 application using:

Declare Function FindExecutable Lib "shell32.dll" _

  Alias "FindExecutableA" (ByVal lpFile As String, _
  ByVal lpDirectory As String, _
  ByVal lpResult As String) As Long

and: Function Shell(PathName, [WindowStyle As VbAppWinStyle = vbMinimizedFocus]) As Double

Alterado por anderci em

more options

Is someone working on a solution? I much prefer being able to use FireFox to display my .xml reports than IE.

more options

I was finally getting FireFox 5.0 to display xml files using their xsl stylesheets on my desktop PC. I tried to upgrade my laptop PC from Firefox 3 to 5.0 but it insisted on upgrading to 6.02 Now FireFox 6.02 refuses to display the xml files using their xsl stylesheets, What is wrong?

more options

Solução escolhida

This:

If the file to be loaded is in a subdirectory of the codebase…

and Bug 402983

switching security.fileuri.strict_origin_policy in about:config solves the problem but a better solution is to navigate to your file from a common ancestor, in which case the style sheet will be considered native too.

Alterado por žełvik em