Byrne Reese - 2009-10-23

So I am working on an XML digital signature tool for Perl using this as the core library for that utility. However, when I execute the command to canonicalize the XML prior to computing my digest I don't see much of a change to the format. I do see that elements like this:

<foo />

Are properly converted to:

<foo></foo>

But I don't see any changes to whitespace, which is something I would expect out of a normalized XML document. Am I doing something wrong, or am I just not knowledgeable enough around what XML canonicalization will actually do?