[XML-SIG] Fwd: Re: XML-DSIG interop test vectors
Uche Ogbuji
uche.ogbuji@fourthought.com
Thu, 26 Sep 2002 16:07:17 -0600
> c14n.pymakes a number of simplifying assumptions and consequently doesn't
> correctly serialize many "exotic" subsets. For instance, if an element is
> selected by XPath, then all of its attributes are rendered regardless of
> whether they are in the selected subset. Since I recently encountered this
> question in the context of a specific test, I added two tweaks that does
> the right thing: before an attribute is added to xml_attrs or other_attrs,
> I check to see if it's in the subset.
Are you wanting someone to check in this updated c14n.py for you?
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Apache 2.0 API - http://www-106.ibm.com/developerworks/linux/library/l-apache/
Python&XML column: Tour of Python/XML - http://www.xml.com/pub/a/2002/09/18/py.
html
Python/Web Services column: xmlrpclib - http://www-106.ibm.com/developerworks/w
ebservices/library/ws-pyth10.html