Hi Bill,
> Actually, I think this misses the point. If you can express a subtree
> in cononical form, then you can do a secure hash on it. This opens the
> door to digital signatures.
>
> Basically what is needed is the ability to recreate the same secure
> hash, by feeding the same connonical form to the hash algorithm.
>
> It is the secure hash which is the thing that is signed. So you need
> to test if the document fragment has the same hash.
Yes, that's one application of
http://www.w3.org/TR/2001/REC-xml-c14n-20010315.
The problem I think is to provide the withespace C_a_nonicalization (pretty
word, good training if your are not orginal american or english...).
If i overflow the document I guess it's necessary to provide either a
Canonicalization
DocumentFactory and CanonicalizationBuilder classes or a CanonicalNormalizer
to achive
that the document is balance in the way that W3C described.
This weekend I go into CanonicalComprator which means that I try to apply
the spec in order to be able to compare two documents.
It's James decision to decide if dom4j needs the Canonicalization feature or
not. If he agree with your request I (and you catch *g*) will try to
implement that feature.
Have a nice day
Toby
--
Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dom4j-user