lunisolar / LNKD.tech-Editor

Editor for Turtle (Terse RDF Triple Language, TTL) files. This is a plugin for IntelliJ IDEA, IDEA Community Edition and others IDE environments based on IntelliJ Platform (also described here)
https://plugins.jetbrains.com/plugin/12802-lnkd-tech-editor
4 stars 0 forks source link

False-positive warning about unresolved namespace in prefix declaration #17

Closed lunisolar closed 2 years ago

lunisolar commented 3 years ago

Copied from #16 :

Yes, that would be #17. And what you presented is a good example. And I think in #17 i will remove warning altogether and just:

So instead of inspection there would be just information.

The main reason being that TTL's prefix declaration is not always a valid namespace (I think a concept that only applies for XML, and here just used for convenience), which in turn is not always ontology IRI.

lunisolar commented 3 years ago

Discovered in: https://github.com/lunisolar/LNKD.tech-Editor/issues/16

lunisolar commented 3 years ago

The actual implementation of the warning does look for resource with assumption it is for example "x a owl:Ontology". If such resource is not found then warning is displayed (the text of the warning is then misleading).

lunisolar commented 2 years ago

Pending relate: #30