Re: initial Exclusive Canonicalization draft

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,

Eric

> 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.
             http://conferences.oreillynet.com/cs/os2001/view/e_spkr/790
------------------------------------------------------------------------
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