What I am trying to do is... I create a simple DOMDocument. I then serialize the document to a memory buffer. My app will then send this buffer through a socket and re-create the Document on the other side.
In my unit tests, I get a failure when I try to compare original DOMDocument to the one created after the serialization. I am using isEqualNode() to do this comparison. The trouble seems to be that the LocalName of one of the objects is null where the other is set to some value. I do not know why/how the local name gets set. What am I doing wrong here? Is there a code example of xml socket serialization somewhere? Thanks. -dh --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
