openlink / structured-data-sniffer

The Openlink Structured Data Sniffer (OSDS) is a plugin for the Chrome, Firefox and Opera browsers that detects and shows structured data embedded in web pages in either JSON-LD, Microdata, RDFa or Turtle format.
http://osds.openlinksw.com/
GNU General Public License v2.0
117 stars 22 forks source link

Unable to view XML in Firefox #12

Closed espen closed 5 years ago

espen commented 5 years ago

When I have this add-on enabled I am unable to view XML pages in Firefox. The console shows:

XML Parsing Error: not well-formed Location: Line Number 1, Column 22:

If I disable the OpenLink Structured Date Sniffer add-on then the XML page displays correctly.

smalinin commented 5 years ago

Could you give an example of XML file with proble ?

espen commented 5 years ago

This might be related to something else. So it works for all XML-pages except for locally served ones (using .test TLD). Perhaps there are some security permissions either in Firefox or with this add-on that causes different behaviour for .test TLD?

TallTed commented 5 years ago

@espen - Have you tested the same XML file when served from both .test and some other TLD, so we can be sure the .test TLD should be our area of focus?

smalinin commented 5 years ago

@espen Update Firefox OSDS to latest version 2.16.19 from Firefox Addons store, it must resolve your problem. Also this version has new settings option [x] Try to handle XML files as RDF, you could uncheck it for disable handle of XML data.