19.08.2014, 02:39, "Dave Beckett" <d...@dajobe.org>:
> Namespaces can have no URI (NULL).  In xml that's xmlns:foo=""
>
> See raptor_xml_namespace_string_parse() docs

Is it OK to return empty string instead of NULL?

> On Fri, 15 Aug 2014, Victor Porton wrote:
>>  [[[
>>  raptor_namespace_get_uri ()
>>  raptor_uri *        raptor_namespace_get_uri            (const 
>> raptor_namespace *ns);
>>  Get the namespace URI.
>>  ns :
>>          namespace object
>>  Returns :
>>          namespace URI or NULL
>>  ]]]
>>
>>  In which cases it returns NULL?

--
Victor Porton - http://portonvictor.org
_______________________________________________
redland-dev mailing list
redland-dev@lists.librdf.org
http://lists.librdf.org/mailman/listinfo/redland-dev

Reply via email to