[XML-SIG] XML Canonicalization
Rich Salz
rsalz@zolera.com
Thu, 17 May 2001 20:40:34 -0400
> xml.dom.ext sounds better than xml.dom.utils, since I dislike packages
> with only a single module
Me too.
> and because it is also an extension.
I think it's a matter of very detailed use of English. :) I view it as
a utility. But it doesn't matter.
> I'm not whether people can make sense out of c14n - I certainly
> couldn't, although it is a cute name. 'normalize' would not be
> appropriate, would it?
No, the proper term really is canonicalization. I agree, the name is
somewhat cute, but within the community C14N is as well-known as I18N.
How about
from xml.dom.ext import Canonicalize
and in ext/__init__.py I add
from c14n import Canonicalize
So the filename is c14n.py, but the exported name is more use-friendly.