[redland-dev] Serializer namespace issues
Kieron Taylor
krt1 at soton.ac.uk
Wed Jul 20 11:05:13 BST 2005
I am finding that the RDF I parse is being mangled somewhat when I
change and serialize it again.
Firstly, I am having some namespaces in my URIs overwritten. I suspect
this is because of the baseuri setting given when we create the
parser/serializer objects. I am not clear on the purpose of the baseuri
variable, could someone explain it for me?
Secondly, when I have a triple that points to a resource, Redland seems
to be stripping off the namespace part and leaving only the schema I was
referring to. This is particularly bad because RDF parsers/renderers
such as IsaViz assign another namespace to them instead, which is
invariably wrong. Why is this happening?
To illustrate, the resource I create is something like:
http://myurl.com/schema.rdfs#Class
but when serialized it appears in the file as:
schema.rdfs#Class
Thanks in advance,
Kieron
More information about the redland-dev
mailing list