That may be true when no message encryption and integrity is not involved. But in the scenario of XML signature/encryption, say we create a message digest and signature with the XML document. encrypt the XML document after we convert it to a string.
When the recipient receve the encrypted message and decrypt it back to plaintext message(the original XML document). And guess what happens when the message integrity is involved. The orignial message was changed, a.k.a., tampered. Any comments? Pae ----- Original Message ----- From: "Joseph Kesselman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 12:36 PM Subject: Re: [Bug or Feature] CR or CR-LF Disappered -- Xalan v2.3.1 and JARs came with it > This is a Feature. Whitespace outside the root element is officially Not > Meaningful in XML. It can't be represented in the DOM, and will be > discarded. > > (This also isn't an XSLT or XPath question.) > > ______________________________________ > Joe Kesselman / IBM Research
