[redland-dev] Problems with SPARQL's OPTIONAL pattern matching
- PATCH
Dave Beckett
dave at dajobe.org
Wed Mar 15 05:07:54 GMT 2006
fiandro at tiscali.it wrote:
...
> Index: QueryResults.cs
> ===================================================================
> RCS file: /cvsroot/redland/bindings/csharp/QueryResults.cs,v
> retrieving revision 1.9
> diff -r1.9 QueryResults.cs
> 48c48,52
> < h.Add (name, new Node (v));
> ---
>
>> if (v!=IntPtr.Zero) {
>> h.Add (name, null);
>> } else {
>> h.Add (name, new Node (v));
>> }
>
>
> as i'm not a C# nor redland expert, could someone please test this
> patch and maybe commit if it's proved to fix the bug and not to
> harmful? (specifically, i'm not sure returning a "NULL" string is
> really clean ).
I've applied something like the QueryResults.cs patch above to the
csharp CVS.
Dave
More information about the redland-dev
mailing list