Errors with # in owl uri

iteego - July 21, 2009 - 18:48
Project:RDF CCK
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

my owl uri are in the format of foo:#Company. The # is breaking the rdf/xml and throwing drupal errors. If i remove the # the rdf/xml is displays my classes just fine ... but of course the ontology uri don't work without the #. Please advise. Thanks. Kevin

#1

iteego - July 22, 2009 - 07:07

I resolved this issue by adding the hash to the namespace link in RDF namespace settings. While my rdf/xml output is OK now, this is still a bug because class and property fields automatically insert the # which is flagged as an illegal character in those fields. So it is necessary to manually remove them from the fields. This should be addressed I guess in a future build. I don't know if this is a RDF API or RDF CCK issue.

#2

scor - July 22, 2009 - 10:35

I don't understand the problem. please go to admin/settings/rdf/namespaces on your site and check the owl namespace. It should be like on http://skitch.com/scor/b219d/namespaces-localhost
have you tried to import the OWL ontology locally? you might have entered a wrong namespace maybe? please give more details.

 
 

Drupal is a registered trademark of Dries Buytaert.