Search code examples
semantic-webontologyprotege

Why Protege add the `xml` namespace to my ontology?


I'm using Protégé to edit my ontology, but everytime it adds xml namespace to it.

xml http://www.w3.org/XML/1998/namespace

I don't know why, and I didn't use it anywhere in my ontology.

enter image description here

And the delete option is always disabled for xml.


Solution

  • The XML prefix is part of the prefixes that are always written out - owl, rdf, rdfs, xsd, xml. There is no logical implication, these are plain shortcuts used in the XML layer; if unused, their effect is nil. If used, they reduce the size of the output file.