[redland-dev] Model serialization bug

Christopher Schmidt crschmidt at crschmidt.net
Tue Jan 4 17:34:02 PST 2005


On Wed, Jan 05, 2005 at 12:40:07AM +0000, Dave Beckett wrote:
> Yes - I want to ensure that I confirmed I got rid of bugs that you
> reported.
> 
> Now *this* bug I think is something already fixed in redland 0.9.20
> CVS; it's not a raptor bug.
> 
> Try the patch below
> 
> (0.9.20 CVS does the right thing for me, no leaks, rdf/xml out)

(My previous email dropped off list: Dave gave me a small patch to 
rdf_serializer.c from CVS to the latest Redland release. I'm bringing it 
back on list here.)

This patch didn't fix it: Still getting the same (RSS output from print 
m, no output from Serializer.)

Method:
Apply patch to 0.9.19 release
make uninstall
make clean
make
make install

make check gives:

test: Serialising to RDF/XML returned string '<?xml version="1.0" 
encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about="foo">
    <ns0:bar xmlns:ns0="http://example.org/">blah</ns0:bar>
  </rdf:Description>
  <rdf:Description rdf:about="foo">
    <ns0:abc xmlns:ns0="http://example.org/"></ns0:abc>
  </rdf:Description>
</rdf:RDF>
' size 346, expected 237
FAIL: rdf_serializer_test

(All other tests pass.)

Shall I check out 0.9.20 CVS and try that?

-- 
Christopher Schmidt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnomehack.com/pipermail/redland-dev/attachments/20050104/c06e72cd/attachment.pgp


More information about the redland-dev mailing list