[xmlsec] Required newlines in signed document xml ?

Rich Salz rsalz at datapower.com
Thu Feb 13 14:57:38 PST 2003


Sorry, but XML does care about newlines.

Standard canonicalization mechanisms will normalize them from \r to \n,
but that's about it.

If you don't care, you could use a two-step transform, where the first
runs your document through an XSLT stylesheet that removes all newlines,
or whatever's appropriate, and then run it through standard C14N.
	/r$






More information about the xmlsec mailing list