Hello Jörg,

Please write the procedure name as in examples,
DB.DBA.RDF_LOAD_RDFXML(...), otherwise depending on sql user name you
may call built-in function with same name; that is not what you intend.

In common, specifying qualified name for all procedures is good idea for
both security and speed, because unqualified names are additionally
resolved at run time, this takes some (small) time and may be used for
adding subtle security issues to the application (some security
sensitive procedure name may be resolved in unexpected way).

Best Regards,
Ivan Mikhailov
OpenLink Software.

On Fri, 2007-11-23 at 17:45 +0100, Jörg Schüppel wrote:
> Hello,
> 
> my Question is about adding NTriples Files to Virtuoso via the isql  
> command line:
> 
> I tried rdf_load_rdfxml('./test.nt','http://test.org','http://test.org');
> so described in the manual:  
> http://docs.openlinksw.com/virtuoso/rdfapiandsql.html#rdfapi
> 
> This command above leads me to this error message:
> *** Error 22023: [Virtuoso Driver][Virtuoso Server]SR008: Function  
> rdf_load_rdfxml needs an integer as argument 2, not an arg of type VARCHAR  
> (182)
> at line 12 of Top-Level:  
> rdf_load_rdfxml('./test.nt','http://test.org','http://test.org')
> 
> So is the description of the rdf_load_rdfxml() function someway wrong? Or  
> is it my fault?
> 
> Regards,
> Jörg
> 
> 
> function description:
> create procedure DB.DBA.RDF_LOAD_RDFXML (
>      in strg any,           -- text of and XML document
>      in base_iri varchar,   -- base IRI to resolve relative IRIs
>      in graph_iri varchar ) -- the IRI of destination graph
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Reply via email to