Re: xml-headers in included xml files
| From: | Egon Schmid | Date: | Sat, 10 Nov 2001 14:44:49 +0000 |
| Subject: | Re: xml-headers in included xml files | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969338596@lists.php.net to get a copy of this message | ||
From: "Hojtsy Gabor" <goba@mail.digitel2002.hu>
> > is there any reason that we have only <?xml encoding="..."?>
> > instead of <?xml version="1.0" encoding="..."?>
> > as first line in files included by manual.xml?
>
> Yes. Encoding is needed, version is optional :)
> http://www.w3.org/TR/2000/REC-xml-20001006#sec-TextDecl
We don´t need encodings in every file. It worked for many years
without that encoding in EVERY file. I´m sure it is only needed in
manual.xml or some files included.
Version strings are IMHO also nonsense.
-Egon