Subject: Re: AW: [htdig] Fw: & in Titles
From: Gilles Detillieux (firstname.lastname@example.org)
Date: Mon Jul 24 2000 - 10:06:43 PDT
According to Geoff Hutchison:
> At 3:51 PM -0500 7/7/00, Gilles Detillieux wrote:
> >In 3.2, these troublesome attributes have been removed, so the entities
> >are always translated. What's really puzzling is that Roger Salisbury
> >has reported the same behaviour in 3.2. I can't imagine how that could
> >happen unless his database was built with an earlier development snapshot
> >of 3.2, before the removal of translate_amp.
> That would have to be an absolutely *ancient* version of 3.2, dating
> from the first branch after 3.1.0. Almost the first thing I did in
> 3.2 was to start writing the new SGML encoding procedures. They
> weren't turned on immediately, but still... It's also fairly easy to
> determine the version by using the -? option to get help on the
> command-line utils.
That they weren't turned on is the main issue, though. It turns out that
you didn't scrap the translate_* attributes, and fix HtSGMLCodec.cc to
always translate " & < and > until Feb 12, after 3.2.0b1
was released, so if Roger built his database with 3.2.0b1, without
explicitly turning on the translate_* attributes, and hasn't rebuilt it
since, then his database would include the untranslated SGML entities
in the excerpts, regardless of the version he's currently running.
-- Gilles R. Detillieux E-mail: <email@example.com> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------ To unsubscribe from the htdig mailing list, send a message to firstname.lastname@example.org You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Mon Jul 24 2000 - 00:05:28 PDT