* Aaron Crane <hate...@aaroncrane.co.uk> [2007-09-28 10:50]:
> If you concatenate them, you can't tell which PI goes with
> which instance.

Augh. Never mind attributes vs elements: PIs, now there's a wart
that gives vocabulary designers an escape hatch from proper
design.

As for framing, what I've seen in some places is using a form
feed character (which is illegal in XML) to separate concatenated
documents. That's not perfect, but at least it's much better than
using offsets, as you can trivially resynch with a stream if you
miss few packets: just wait long enough and the next FF will come
along.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Reply via email to