From: Rob V. <rv...@do...> - 2012-09-24 16:57:12
|
Hi Antonio What is the error message you received? DId you download the correct version for your target .Net version and profile? Rob From: antonio nunziante <nun...@gm...> Reply-To: dotNetRDF Developer Discussion and Feature Request <dot...@li...> Date: Monday, September 24, 2012 1:07 AM To: dotNetRDF Developer Discussion and Feature Request <dot...@li...> Subject: Re: [dotNetRDF-Develop] Update System.UriFormatException: URI not valid > Hi Rob, > I'm trying to add reference to .ddl files in my project but Visual Studio > shows an error suggesting to verify the assembly. > I downloaded them from [3]. > > Regards, > -Antonio > > 2012/9/20 Rob Vesse <rv...@do...> >> Hi Antonio >> >> This is a bug in the library, I filed this as CORE-278 [1] and have fixed >> this in Trunk >> >> Unfortunately there is no workaround currently so you can either wait for the >> new release (next week or so), build yourself from latest Trunk [2] or pick >> up a nightly build from [3] >> >> Regards, >> >> Rob Vesse >> >> [1]: http://dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=278 >> [2]: http://bitbucket.org/dotnetrdf/dotnetrdf >> [3]: >> http://dotnetrdf.hg.sourceforge.net/hgweb/dotnetrdf/binaries-nightly/file/tip >> /Libraries/Core >> >> From: antonio nunziante <nun...@gm...> >> Reply-To: dotNetRDF Developer Discussion and Feature Request >> <dot...@li...> >> Date: Thursday, September 20, 2012 3:55 AM >> To: dotNetRDF Developer Discussion and Feature Request >> <dot...@li...> >> Subject: [dotNetRDF-Develop] Update System.UriFormatException: URI not valid >> >>> Hi all, >>> >>> I'm using the following instructions in order to update an OWLIM-Lite >>> repository: >>> >>> //Get an Update Parser >>> SparqlUpdateParser parser = new SparqlUpdateParser(); >>> >>> //Generate a Command >>> SparqlParameterizedString cmdString = new SparqlParameterizedString(); >>> cmdString.CommandText = query; >>> >>> //Parse the command into a SparqlUpdateCommandSet >>> SparqlUpdateCommandSet cmds = parser.ParseFromString(cmdString); >>> >>> //Connect to Sesame and create a GenericUpdateProcessor to apply the update >>> SesameHttpProtocolConnector sesame = new >>> SesameHttpProtocolConnector(endpointBaseUri, storeId); >>> GenericUpdateProcessor processor = new GenericUpdateProcessor(sesame); >>> processor.ProcessCommandSet(cmds); >>> >>> >>> Generally it works, but I receveid exception in >>> "processor.ProcessCommandSet(cmds);" when probably the query string is too >>> long. The exception is: >>> >>> >>> System.UriFormatException: URI not valid. String Uri too long. in >>> System.Uri.EscapeString(String input, Int32 start, Int32 end, Char[] dest, >>> Int32& destPos, Boolean isUriString, Char force1, Char force2, Char rsvd) in >>> System.Uri.EscapeDataString(String stringToEscape) in >>> VDS.RDF.Storage.SesameHttpProtocolVersion6Connector.Update(String >>> sparqlUpdate) in >>> VDS.RDF.Update.GenericUpdateProcessor.ProcessCommandSet(SparqlUpdateCommandS >>> et commands) in TripleStoreController.RunUpdateSparqlQuery(String query, >>> String endpointBaseUri, String storeId) in >>> C:\Users\Nunziante\Dropbox\CRMPA\Progetti\SIRET\Documenti\OR1\D1.3\Competenc >>> eModelDataManagement\CompetenceModelDataManagement\TripleStoreController.cs: >>> riga 79 >>> >>> >>> >>> I hope anyone could help me. Thanks a lot >>> -- >>> Antonio Nunziante >>> >>> ---------------------------------------------------------------------------- >>> -- Everyone hates slow websites. So do we. Make your web apps faster with >>> AppDynamics Download AppDynamics Lite for free today: >>> http://ad.doubleclick.net/clk;258768047;13503038;j? >>> http://info.appdynamics.com/FreeJavaPerformanceDownload.html________________ >>> _______________________________ dotNetRDF-develop mailing list >>> dot...@li...https://lists.sourceforge.net/lists/l >>> istinfo/dotnetrdf-develop >> >> ----------------------------------------------------------------------------->> - >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://ad.doubleclick.net/clk;258768047;13503038;j? >> http://info.appdynamics.com/FreeJavaPerformanceDownload.html >> _______________________________________________ >> dotNetRDF-develop mailing list >> dot...@li... >> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-develop >> > > > > -- > Antonio Nunziante > > ------------------------------------------------------------------------------ > Live Security Virtual Conference Exclusive live event will cover all the ways > today's security and threat landscape has changed and how IT managers can > respond. Discussions will include endpoint security, mobile security and the > latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_____________________ > __________________________ dotNetRDF-develop mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-develop |