users@jaxb.java.net

continuous xml streaming

From: Tony Yau <tony.yau_at_emigen.co.uk>
Date: Thu, 5 Aug 2004 10:51:34 +0100

Hi all,

    just a quick one. I have a socket where I send out continuous multiple xml documents.
    my problem is for me to unmarshal the xml at the other end I need to line terminate, or
    somehow distinguish where one xml document ends and the next start.

    is there a simple way of setting that in the marshaller (say setProperty()), or do I have to call
    a socketStream.write('\0') at the end of each document?


any help is very much appreciated
many thanks


emigen