Re: [xml-dev] "Introducing MicroXML, Part 1: Explore the basic principles of ...

From
Michael Kay <>
To
Date
2012-07-16T08:21:10Z
ID
<>
Thread
Re: [xml-dev] "Introducing MicroXML, Part 1: Explore the basic principles of ...
On 15/07/2012 14:44, David Lee wrote:
>> I forgot to mention one other point.
>>
>> I think there are many situations where it would be useful to have a
>> single byte stream contain a sequence of MicroXML documents, eg log
>> files or XMPP-like applications.  If you allow PIs both before and
>> after the root element, you can't unambiguously parse such a byte
>> stream because you don't know whether a PI between two root elements
>> goes with the preceding or following element.
>>
>> James
>>
> I started a few years ago working on some kind of spec/proposal to allow sequences of XDM.
> I think suporting sequences of MicroXML would fit well with this.
> But I came to the conclusion that to support streams of XDM (or XML ) that there needs to be
> a separator or start or end character (or all 3) which is invalid in XML and any text serialized XDM.
>

What's wrong with an XML declaration as the separator?

Michael Kay
Saxonica