[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] xml with no -->"<?xml version?>"
- From: Julian Reschke <julian.reschke@gmx.de>
- To: PTrehan@westell.com
- Date: Sat, 17 Feb 2007 13:00:02 +0100
PTrehan@westell.com schrieb:
> The First Line is part of XML Header. This tells XML parser regarding
> version of the XML draft and encoding supported by your file.
> If you don't have this header than XML parser will return parsing error.
>
> Thanks
> Pankaj Trehan
>
> Project Engineer
> Westell Inc
The first line may be the XML declaration
(<http://www.w3.org/TR/REC-xml/#NT-XMLDecl>). It specifies the XML
version and the document's encoding. If you don't have an XML
declaration, the XML processor will assume version 1.0 and may try to
derive the encoding from context (HTTP Content-Type header, ...) or the
document itself (byte order marks). See
<http://www.w3.org/TR/REC-xml/#NT-EncodingDecl>.
Best regards, Julian
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]