Re: How XML data objects are hashed

At 15:18 7/27/2000 -0400, Steve Wang wrote:
 >After reading the XMLDSIG documents, I am wondering how a XML data object
is
 >hashed.
 >For example, an object has the following data:
 ><book>
 ><name> XML for dummy </name>
 ><author> Suresh </author>
 ></book>
 >
 >How is the input stream to the hash function composed? Does it contain the
 >XML tags? (I guess so).
 >How are the spaces handled?

It is canonicalized.
http://www.w3.org/TR/2000/WD-xmldsig-core-20000711/#sec-c14nAlg

_________________________________________________________
Joseph Reagle Jr.   
W3C Policy Analyst                mailto:reagle@w3.org
IETF/W3C XML-Signature Co-Chair   http://www.w3.org/People/Reagle/

Received on Thursday, 27 July 2000 19:01:49 UTC