Re: Feedback of EXI specification 2

Dear John-san, and WG members,

Thank you for the detailed explanation.

We would like to know more preciselly the advantage of
the local-element-ns.

Could you show me the most affected xml sample?

Is there significant difference of the compactness between
below two samples?

<sample xmlns:pref1="www.sample.org">
<pref1:name1 /> 
</sample>

and

<sample>
<pref1:name1 xmlns:pref1="www.sample.org"/>
</sample>

Best Regards,
Tooru Ishizaki.

> Dear Tooru,
>  
> Thank you for your feedback on the EXI specification. This is a very good
> question.
>  
> The advantage of the local-element-ns flag is improved compactness for
> representing element QNames when Preserve.prefixes is true. Without the
> local-element-ns flag, the prefix encoding for each element QName would have
> to account for the possibility that the prefix is declared by an NS event
> that follows the associated SE event (i.e., a prefix that has not yet been
> encountered in the stream). In the common case, where there is only one
> prefix declared for each namespace, the prefix encoding would increase from
> zero bits per element to one bit per element. If there were two prefixes
> declared for each namespace, the prefix encoding would increase from one bit
> per element to two bits per element. Since there can be a lot of SE events
> in a document, this can have a significant impact on compactness.
>  
> I hope this helps to answer your question.
>  
>     Thanks again,
>  
>     John Schneider
>     AgileDelta, Inc.
>     http://www.agiledelta.com 
> 
> > -----Original Message-----
> > From: public-exi-comments-request@w3.org 
> > [mailto:public-exi-comments-request@w3.org] On Behalf Of 
> > ISHIZAKI Tooru
> > Sent: Thursday, November 06, 2008 2:33 AM
> > To: public-exi-comments@w3.org
> > Cc: youenn.fablet@crf.canon.fr; fujisawa.jun@canon.co.jp
> > Subject: Feedback of EXI specification 2
> > 
> > 
> > Dear EXI members,
> > 
> > I have a feedback of EXI specification.
> > In chapter 4, what's the advantage of local-element-ns flag?
> > 
> > Best Regrads,
> > Tooru Ishizaki.
> > 
> > --
> > TOORU Ishizaki <ishizaki.tooru@canon.co.jp>
> > 
> > 
> > 



-- 
TOORU Ishizaki <ishizaki.tooru@canon.co.jp>

Received on Wednesday, 28 January 2009 05:24:12 UTC