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

From
David Lee <>
To
David Carlisle <>
Date
2012-07-16T13:16:06Z
ID
<>
Thread
RE: [xml-dev] "Introducing MicroXML, Part 1: Explore the basic principles of ...
> On 16/07/2012 13:51, David Lee wrote:
> > A) sequence of one document represented the same as a single document ,
> AND
> > B) concatenation of single documents producing sequences  AND
> > C) a single document being readable as XML
> 
> 
> well...
> 
> I think the string
> 
> 
> <?xml version="1.0"?><!--]]>]]>-->
> 
> 
> can only appear at the start of an XML document and can not appear in
> element or attribute content nor in comments or cdata sections.
> 

True but if the document didnt *happen* to start like that the string would have to be inserted,
and thus break rule #3    
And if it DID start that way it and you didnt insert it then it  would break #A because you couldnt tell the difference between the marker
and the start of an actual document.