Date: Mon, 25 Oct 1999 08:11:59 +0100 From: Nik Clayton <nik@freebsd.org> To: jkoshy@FreeBSD.org Cc: Satoshi - Ports Wraith - Asami <asami@FreeBSD.org>, freebsd-doc@FreeBSD.org Subject: Re: #anchors in .html handbook Message-ID: <19991025081159.C2102@kilt.nothing-going-on.org> In-Reply-To: <199910151150.EAA30422@freefall.freebsd.org>; from jkoshy@FreeBSD.org on Fri, Oct 15, 1999 at 04:50:13AM -0700 References: <vqczoxkx6uo.fsf@silvia.hip.berkeley.edu> <199910151150.EAA30422@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 15, 1999 at 04:50:13AM -0700, jkoshy@FreeBSD.org wrote: > > Eek. So it was the previous behavior that was wrong? (And may I > > A small correction: I had assumed that the 'name' attribute for > <A> was parsed as an ID. A perusal of the HTML declaration however > shows that it has been declared as CDATA and is thus is not under > the scope of the NAMING case conversion rules. The HTML bit is a red herring -- the case conversion is carried out by /usr/local/share/sgml/docbook/dsssl/modular/lib/dblib.dsl:normalize() according to the SGML declaration in effect at the time. At the time, the SGML declaration being used is the one for DocBook, where IDs are mapped to upper case. At least, that's my reading of it at the moment. We could write our own version of normalize() which didn't do this. I suspect we'd then be wrong according to the spec, which would be a bad thing. Depending on how much work it is on the part of the ports team (and if it's work we can help with then let us know) I'd rather we bit the bullet and moved over. An alternative would be another post-processing of the HTML to make the attributes lower case. This is probably still within the (HTML) spec, so would be allowed. Thoughts? N To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991025081159.C2102>