Re: Amaya crashes with past-end-of-document text/plain fragment identifier

On Saturday 07 July 2007 07:46, Martin Duerst wrote:
> Hello Yusuke,
>
> I tried out the text/plain fragment identifers in Amaya 9.55.
> For some examples, it works very well, e.g.:
> http://www.ietf.org/internet-drafts/draft-wilde-text-fragment-07.txt#char=2
>0090,20109
>
> But a character count past the end of the document crashes
> Amaya:
> http://www.ietf.org/internet-drafts/draft-wilde-text-fragment-07.txt#char=2
>0090,201090 The spec says that it should be interpreted as a fragment that
> does up to the end of the document.
>
> Can you check/fix this?
>
> Thanks,    Martin.
>
>
> #-#-#  Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
> #-#-#  http://www.sw.it.aoyama.ac.jp       mailto:duerst@it.aoyama.ac.jp

I added some check of initial values according to the spec and a new 
implementation (#ifndef IV)
The previous code is still there with some minor changes (#else /* IV */)

I hope the new code is okay.
     Irène.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France

Received on Monday, 9 July 2007 12:34:54 UTC