W3C home > Mailing lists > Public > public-exi@w3.org > August 2007

RE: How to distinguish XML and EXI

From: Vogelheim, Daniel <daniel.vogelheim@siemens.com>
Date: Tue, 7 Aug 2007 13:27:36 +0200
Message-ID: <D720D1DD80557241B9452630315560C30163D6BB@MCHP7IEA.ww002.siemens.net>
To: "Kenichi Taniuchi" <ktaniuchi@tari.toshiba.com>, <public-exi@w3.org>

Hello Kenichi,

Thanks for your interest in EXI! 

You wrote:
> I have a question.
> How XML processor can distinguish normal XML and EXI ?

That is what the 'Distinguishing Bits' (sic!) are there for.
Essentially, you would need to examine the very first byte of a message,
to reliably distinguish between XML and EXI. Well....with some caveats.
Please examine chapter 5.1 of the current draft.

Kenichi, please let us know if you have any more questions!

Daniel Vogelheim
Received on Tuesday, 7 August 2007 11:28:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:52:42 UTC