Hi Lorena,

What is the actual query you are executing using  the “bif:” prefix  that is 
resulting in the "SP031: SPARQL compiler: Function name "bif:normalize-space" 
contains invalid characters; this may be an attempt of bypassing security 
restrictions” error ?

Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.      //              http://www.openlinksw.com/
Weblog   -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Google+  -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers

> On 8 Sep 2015, at 21:50, Lorena Etcheverry <lore...@fing.edu.uy> wrote:
> 
> Hi
> 
> I'd like to use this  function 
> http://www.w3.org/TR/xpath-functions/#func-normalize-space in a SPARQL 
> query in Virtuoso 7.
> Is it available?
> If I declare the prefix fn  as
> prefix fn: <http://www.w3.org/2005/xpath-functions>
> and then use the function as
> 
> fn:normalize-space(str(?s))
> 
> I retrieve the following error
> 
> Virtuoso 42001 Error SR185: Undefined procedure 
> DB.DBA.http://www.w3.org/2005/xpath-functionsnormalize-space.
> 
> 
> I've also found a function with the same name and behavior in Virtuoso 
> documentation 
> (http://docs.openlinksw.com/virtuoso/xpf_normalize_space.html).
> Is it possible to use this function in a SPARQL query?
> I've tried to use it with the prefix bif, but I also get an error
> 
> Virtuoso 37000 Error SP031: SPARQL compiler: Function name 
> "bif:normalize-space" contains invalid characters; this may be an attempt of 
> bypassing security restrictions
> 
> best regards,
> 
> Lorena
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to