- From: Simon Steyskal <simon.steyskal@wu.ac.at>
- Date: Wed, 02 Oct 2019 06:57:48 +0200
- To: "Harshvardhan J. Pandit" <me@harshp.com>
- Cc: Data Privacy Vocabularies and Controls Community Group <public-dpvcg@w3.org>
Hi! > Most likely, this is an error with Protege itself. Am sending this to > the mailing list to record this as an ‘issue’ as most people use > Protege to interact with ontologies. > Maybe this can be an open issue on Github to provide more chance for > public comments. yep, https://github.com/protegeproject/protege/issues/890.. it appears that OWLAPI was the culprit (https://github.com/owlcs/owlapi/issues/821) and a fix for this was pushed to Protege's 5.6.0 release as it required an update of OWLAPI https://github.com/protegeproject/protege/issues/849. Maybe try the 5.6.0-beta release (i.e. clone https://github.com/protegeproject/protege/tree/master/protege-desktop) and see if the issue persists.. br, simon --- DDipl.-Ing. Simon Steyskal Institute for Information Business, WU Vienna www: http://www.steyskal.info/ twitter: @simonsteys Am 2019-10-01 21:15, schrieb Harshvardhan J. Pandit: > Hello, > I am encounters an error when trying to get DPV from its url > http://w3.org/ns/dpv in Protege 5.5. > Inspecting the error (Manchester tab has most info), it seems that > Protege is not performing content negotiation as intended, and is > loading the HTML page of the specification. > > Error text: Encountered '<!DOCTYPE html><html dir="ltr" > lang="en"><head><meta content="text/html; charset=utf-8" > http-equiv="content-type"><meta name="generator" content="ReSpec > 24.27.1"><meta name="viewport" content="width=device-width, > initial-scale=1, shrink-to-fit=no"><style>/* --- EXAMPLES --- */' at > line 1 column 1. Expected either 'Ontology:' or 'Prefix:' (Line 1) > > Using the URL of the file http://w3.org/ns/dpv.ttl works as intended. > > Content negotiation against the URL also works correctly, as verified > using cURL: > > $ curl -L -H "Accept: text/turtle" w3.org/ns/dpv > > Most likely, this is an error with Protege itself. Am sending this to > the mailing list to record this as an ‘issue’ as most people use > Protege to interact with ontologies. > Maybe this can be an open issue on Github to provide more chance for > public comments. > > Regards, > Harsh
Received on Wednesday, 2 October 2019 04:58:15 UTC