> > And cannot in the first few characters (legally), since these must be
> > "<?xml ".
>
> Wrong: the XML declaration is NOT mandatory, only recommanded.
> So a XML document can directly start with its actual content
> which may be whitespaces, a XML comment (starting by "<!--"), or
> the start tag of the root element.

Sorry, I thought it was clear that I was referring to the case of a document
encoded in UTF-32, and hence that the declaration is mandatory.


Reply via email to