[EXI] Query regarding SD event

Hi EXI WG,

       While getting the Start Document event we encode only the event code.
Sometimes the first line of an xml document has contents like version,
encoding  etc., and sometimes they are absent. So how will the decoder know
to properly reconstruct the first line of the document.

 

For this line in a XML document we encode as below

<?xml version="1.0" ?>            -             SD

For the below line also we encode in the same way

<?xml version="1.0" encoding="UTF-8"?>           -             SD

I think there is some missing information if we encode SD without some
content information

Please clarify me on the same.

 

Thanks in advance

Santhanakrishnan

Received on Friday, 7 March 2008 21:16:28 UTC