You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by David Hoffer <da...@iserv.net> on 2002/10/01 03:23:47 UTC

Serialize and unserialize DOMDocument over socket

I am trying to create rather simple DOM documents and send them over
sockets, I then repackage the socket stream, on the receiving end, into DOM
documents.

I would expect the documents to be the same, i.e. isEqualNode would return
true.  However, it is failing at least because the LocalName is not the
same.

Can someone help me with this?  Why does the localName not match?  I
understand this might be a level 1 vs. 2 issue but what do I do about that?
Is there some code where others have did something similar?

-dh



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: Serialize and unserialize DOMDocument over socket

Posted by Gareth Reakes <ga...@decisionsoft.com>.
Hi,
	post your code and Ill take a look.


Gareth


On Mon, 30 Sep 2002, David Hoffer wrote:

> I am trying to create rather simple DOM documents and send them over
> sockets, I then repackage the socket stream, on the receiving end, into DOM
> documents.
> 
> I would expect the documents to be the same, i.e. isEqualNode would return
> true.  However, it is failing at least because the LocalName is not the
> same.
> 
> Can someone help me with this?  Why does the localName not match?  I
> understand this might be a level 1 vs. 2 issue but what do I do about that?
> Is there some code where others have did something similar?
> 
> -dh
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
> 
> 

-- 
Gareth Reakes, Head of Product Development  
DecisionSoft Ltd.            http://www.decisionsoft.com
Office: +44 (0) 1865 203192



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org