Hi,

       I got the bug.

       We have in bar.html:

       <a href="foo.html">a b c</a> d e f

       a b c is inserted in LINK_TEXT for docid(foo.html) and
       d e f are inserted with docid(foo.html) instead of docid(bar.html)

       I'd suggest two things:

       1) Hack: save docid before setting it in 
          void DocumentRef::AddDescription(char *d, WordList &words)
          and restore when leaving it. 
          I did that and it works. 

       2) Since it's very likely that we will want to have various word
          insertions context active at a given time and some of them
          re-entrant split WordList in two classes. One is the central
          point and has access to the database. The other is lightweight
          and only contains the context of insertion/retrieval of words.

       Thanks for your feedback,

       Cheers,

-- 
                Loic Dachary

                ECILA
                100 av. du Gal Leclerc
                93500 Pantin - France
                Tel: 33 1 56 96 09 80, Fax: 33 1 56 96 09 61
                e-mail: [EMAIL PROTECTED] URL: http://www.senga.org/


------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to