- From: santhanakrishnan <santhana@huawei.com>
- Date: Tue, 08 Jul 2008 15:40:43 +0530
- To: public-exi@w3.org
- Message-id: <000001c8e0e2$e2838540$4a18120a@china.huawei.com>
Hi EXI experts Should the first line of an XML file treated as a processing instruction or is there any deviation for this. <?xml version="1.0" encoding="UTF-8"?> ........ ........ Can it be under the control of the preserve.pi fidelity option. Otherwise there is no way to convey the first line information in the EXI binary to the decoder. If it is not as per preserve.pi then there can be chances of improper decoding of some information completely. The encoder can encode from xml with first line as <?xml version="1.0"?> and decoder can produce an xml with first line as <?xml version="1.0" encoding="UTF-8"?> Also assuming that the encoder has encoded an XML file in some encoding format 'x'. Then as per the above statement only when the pi is preserved decoder will be able to decode the binary completely considering the same encoding format 'x'. regards Santhanakrishnan
Received on Tuesday, 8 July 2008 10:11:34 UTC