Skip to Content.
Sympa Menu

mace-opensaml-users - RE: ignorable white space and signature validation

Subject: OpenSAML user discussion

List archive

RE: ignorable white space and signature validation


Chronological Thread 
  • From: "Scott Cantor" <>
  • To: <>
  • Subject: RE: ignorable white space and signature validation
  • Date: Tue, 19 Feb 2008 13:31:57 -0500
  • Organization: The Ohio State University

> "no such thing as ignorable whitespace" - even with exclusive
> canonicalization? The point of canonicalization is that it is supposed
> to render functionally identical XML physically identical.

No, it's not. It's goal is to turn a node set into an octet stream. How it
does that depends on the algorithm, but excl c14n is absolutely NOT
insensitive to whitespacem, because XML is absolutely whitespace sensitive.

> So, for instance,
>
> "<Elem1><Elem2/></Elem1>"
>
> should be identical to:
>
> "<Elem1>
> <Elem2/>
> </Elem1>"

And that's not the same XML.

-- Scott





Archive powered by MHonArc 2.6.16.

Top of Page