[xsde-users] Parsing a TCP stream

Jonathan Haws Jonathan.Haws at sdl.usu.edu
Fri Jan 17 13:46:19 EST 2014


> I am not sure we are on the same page here, so just to clarify: the
> NULL character is not part of the XML vocabulary or schema that
> describes it. Rather, it is a protocol-level delimiter that is used
> to determine where one document ends and the next begins. If you have
> control over the protocol, then it is very easy to implement. If the
> protocol is defined by someone else, then you will have to implement
> some ad-hoc (and most likely not very robust) approach of determining
> where the document ends.

That is my problem - I don't have control over the protocol and those that do decided not to use the NULL character to mark the end of a document.  I captured some of their data from their verification tool and it did not have the NULL character, that is why I mentioned I wouldn't be able to use it; thus nearly requiring me to implement an ad-hoc method (yes, not robust; which is why I was hoping there was a better way!).

I am trying to get a hold of someone who created the protocol to see what they have done in the past, but so far have not had any luck finding anyone...

Thanks for the help, Boris!  You are always very helpful!



More information about the xsde-users mailing list