[redland-dev] raptor_namespace_get_uri() return value
Victor Porton
porton at narod.ru
Mon Aug 18 20:47:55 EDT 2014
19.08.2014, 02:39, "Dave Beckett" <dave at 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
More information about the redland-dev
mailing list