W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > July to September 2001

Re: initial Exclusive Canonicalization draft

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Thu, 12 Jul 2001 19:07:07 +0200
Message-ID: <3B4DD93B.E5181422@dyomedea.com>
To: John Boyer <JBoyer@PureEdge.com>
Cc: merlin <merlin@baltimore.ie>, "Donald E. Eastlake 3rd" <dee3@torque.pothole.com>, w3c-ietf-xmldsig@w3.org, lde008@dma.isg.mot.com
John Boyer wrote:
> Hi Eric,
> Could you explain a bit more clearly what you mean by "specify which
> namespaces prefixes cannot be rewritten"?  An example to show the
> behavior you would expect of such a feature would be helpful.

Yes, sorry I haven't been clear.

I was refering to "No Namespace Prefix Rewriting" [1], a point that you
have well described in Canonical XML.

[1] http://www.w3.org/TR/2001/REC-xml-c14n-20010315#NoNSPrefixRewriting

I think that some (not to say many) applications would not suffer from
namespaces prefixes rewriting and that for those applications, rewriting
namespaces prefixes would increase the reliability of the comparaisons.

> It is difficult to tell without more information why the regular XML
> c14n does work in the following:
> "If I wanted to canonicalize a XSLT template or a W3C XML Schema element
> definition I would certainly like to preserve all the prefixes."

It does work since it doesn't rewrite any prefixes.

But since an "Exclusive XML Canonicalization" is being developped that
is more stringent than regular c14n and accepts at least one parameter,
I think it would be worth considering adding a second parameter to
switch prefixes rewriting on and off.

Regular c14n would then be the "safe" choice while Exclusive c14n would
be more precise tool to tailor the c14n to your needs.



> Thanks,
> John Boyer
> Senior Product Architect, Software Development
> Internet Commerce System (ICS) Team
> PureEdge Solutions Inc.
> Trusted Digital Relationships
> v: 250-708-8047  f: 250-708-8010
> 1-888-517-2675   http://www.PureEdge.com <http://www.pureedge.com/>
See you at XTech in San Diego.
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
Received on Thursday, 12 July 2001 13:07:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:21:36 UTC