Hi Quentin, I have been able to recreate this issue and reported to development to look into ...
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 19 Aug 2014, at 02:21, Quentin <quent...@clearbluewater.com.au> wrote: > The below example shows a problem with displayed output, both in conductor > and the sparql endpoint. > > When a string contains multiple spaces in its data (the inserted object) then > those spaces are collapsed to one in the output. If this output is > subsequently used in some way then the used value will not match the actual > value and lead to some confusion. The commented filter is a cut and paste > from the displayed output. > > I suppose the solution is to use html entities in the output? > > I encountered the issue when dealing with user data that had inadvertently > double-spaced a name field. When attempting to match the displayed value in > a construct, it failed to bind. The problem is therefore not merely cosmetic > as copying and pasting output values into conditions is a fairly frequent > activity for a sparql developer and data entry errors are something we have > to live with. > > =================== > sparql > with <spaceTest> > insert { > <test> <testPred> "Two spaces --> <--"^^xsd:string . > }; > > sparql > with <spaceTest> > select * > { > ?S ?P ?O . > #filter ( ?O = "Two spaces --> <--"^^xsd:string ) > }; > =================== > > -- > Quentin | Clear Blue Water Pty Ltd > quent...@clearbluewater.com.au > ------------------------------------------------------------------------------ > _______________________________________________ > Virtuoso-users mailing list > Virtuoso-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtuoso-users
------------------------------------------------------------------------------
_______________________________________________ Virtuoso-users mailing list Virtuoso-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtuoso-users