Date: Mon, 9 Aug 2004 16:19:54 +0200 From: Marc Fonvieille <blackend@freebsd.org> To: freebsd-doc@freebsd.org Subject: Re: Lowercase attribute names [Was: Re: small fix in the new-users article] Message-ID: <20040809141954.GA78399@abigail.blackend.org> In-Reply-To: <20040809134320.GC2150@straylight.m.ringlet.net> References: <20040806110848.GC704@vaio.lab> <20040809134320.GC2150@straylight.m.ringlet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Mon, Aug 09, 2004 at 04:43:20PM +0300, Peter Pentchev wrote: > On Fri, Aug 06, 2004 at 01:08:48PM +0200, Marco Trentini wrote: > > > > In the last commit I've noted URL in upper case. > > It seems that both <ulink url=".."> and <ulink URL=".."> are valid, > and both of them are used quite often throughout the whole articles/ > and books/ directories. According to "DocBook: The Definitive Guide", > in SGML DocBook all element and attribute names are case-insensitive, so > it's okay to keep them that way. > Always read the FDP first :) All attribute examples use lower cases; the lowercase need is not mentioned but examples can be used as information regarding the "right way." Nowadays, "quite all" *ML things use lowercase for attributes. > However, Norman Walsch does warn that lowercase names should be used for > XML DocBook. I'm not sure what the FreeBSD Documentation Project's > stance is on XML compatibility and on eventually moving to XML DocBook; > if this is the goal, then at some point we should do a search-and-replace > over most of the project's documents, since there are quite a few > URL=".." attributes all over the place. What do people think about that? > Well we should be consistent in our code, just to prevent someone to think uppercase is what to use. Since there are few "guilty" attributes, it should be fixed. Marc [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBF4gJ81T1MWxkgcoRAm1gAJ441RhGnHC3mrAIcuEVJ6hpr3sFMgCfQUSb ltnk99pPk+2Bny2MwGSlxVs= =hM3O -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040809141954.GA78399>
