There is a bug report..

https://fedora-commons.org/jira/browse/FCREPO-190

Currently, Fedora transforms the XML into a non-standard canonical form
before calculating the checksum.  If you wanted to verify the checksum today,
you would have to use the same non-standard transformation rules on the XML
before calculating the sum on your end.  If you wanted to apply the current
rules, I believe the only way is to find the code in Fedora and emulate that
(I don't know where that particular code is).  If FCREPO-109 is addressed,
then at least Fedora would be adopting a published standard and you may be
able to find a library to assist.

  -Aaron


-----Original Message-----
From: Pierre-Yves JALLUD [mailto:[email protected]]
Sent: Fri 5/15/2009 9:04 AM
To: fedora-commons-developers
Subject: Re: [Fedora-commons-developers] Checksum problem for datastream
 
That was what I thought... well, something like that. But is there a 
method to verify the checksum when you add an "X" datastream? Maybe a 
java librairy?... I have looked for it, but I didn't found it.

Pierre-Yves

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to