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

Comply with language attributes in HTML+RDFa #7

Open csarven opened 7 years ago

csarven commented 7 years ago

If lang="" or xml:lang="" is used, it is supposed to signal to the RDFa processor to not assign a language tag. However, it appears to apply the lang of the parent/document e.g.:

bibo:uri "urn:nbn:de:0074-1593-2"@en at http://ceur-ws.org/Vol-1593/

It should be bibo:uri "urn:nbn:de:0074-1593-2".