Samirla / xmlview

Powerful XML viewer for Google Chrome and Safari
MIT License
329 stars 75 forks source link

No XSL support #50

Open designermonkey opened 10 years ago

designermonkey commented 10 years ago

Currently this extension doesn't pick up on XSL files.

An example is https://github.com/nickdunn/form-controls/raw/master/form-controls.xsl

Is this an easy fix?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3625854-no-xsl-support?utm_campaign=plugin&utm_content=tracker%2F25823&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F25823&utm_medium=issues&utm_source=github).
sergeche commented 10 years ago

It’s not because of XSL but because this file is served as plain text, not XML file (requires proper MIME-type)

designermonkey commented 10 years ago

Ok. I'll badger github about that then. Thanks.

Sergey Chikuyonok wrote:

It’s not because of XSL but because this file is served as plain text, not XML file (requires proper MIME-type)

— Reply to this email directly or view it on GitHub https://github.com/sergeche/xmlview/issues/50#issuecomment-51588517.

sergeche commented 10 years ago

Don’t think they would do something about it. There is one possible solution in XV to force rendering current document as XML tree (via document icon in address bar), but it seems to be broken with recent CSP changes in Chrome. Need to fix this bug.

designermonkey commented 10 years ago

Thanks for looking at this then :)