[redland-dev] raptor_namespace_get_uri() return value

Dave Beckett dave at dajobe.org
Mon Aug 18 19:39:10 EDT 2014


Namespaces can have no URI (NULL).  In xml that's xmlns:foo=""

See raptor_xml_namespace_string_parse() docs

Dave


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 at lists.librdf.org
> http://lists.librdf.org/mailman/listinfo/redland-dev
>
>


More information about the redland-dev mailing list