From owner-freebsd-doc@FreeBSD.ORG Mon Feb 16 05:47:05 2004 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1F1116A4CF for ; Mon, 16 Feb 2004 05:47:05 -0800 (PST) Received: from shaft.techsupport.co.uk (shaft.techsupport.co.uk [212.250.77.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2F0643D1F for ; Mon, 16 Feb 2004 05:47:05 -0800 (PST) (envelope-from setantae@submonkey.net) Received: from cpc2-cdif3-6-0-cust204.cdif.cable.ntl.com ([81.103.67.204] helo=shrike.submonkey.net ident=mailnull) by shaft.techsupport.co.uk with esmtp (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.30; FreeBSD) id 1Asj5U-00006N-Ay; Mon, 16 Feb 2004 13:47:04 +0000 Received: from setantae by shrike.submonkey.net with local (Exim 4.30; FreeBSD) id 1AsiSh-0000nC-IL; Mon, 16 Feb 2004 13:06:59 +0000 Date: Mon, 16 Feb 2004 13:06:59 +0000 From: Ceri Davies To: Chuck Swiger Message-ID: <20040216130659.GC617@submonkey.net> Mail-Followup-To: Ceri Davies , Chuck Swiger , freebsd-doc@FreeBSD.org References: <8D03FA54-4BA6-11D8-8D97-003065ABFD92@pkix.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="96YOpH+ONegL0A3E" Content-Disposition: inline In-Reply-To: <8D03FA54-4BA6-11D8-8D97-003065ABFD92@pkix.net> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.4i Sender: Ceri Davies cc: freebsd-doc@FreeBSD.org Subject: Re: Validating docbook articles... X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 13:47:06 -0000 --96YOpH+ONegL0A3E Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 20, 2004 at 07:12:50PM -0500, Chuck Swiger wrote: >=20 > The W3C validator lets one override the character encoding, and doing =20 > so lets the tool proceed, but this uncovers another possible issue: >=20 > Below are the results of attempting to parse this document with an SGML = =20 > parser. > 1. Line 618, column 15: value of attribute "align" cannot be =20 > "LEFT"; must be one of "left", "center", "right" (explain...). >
>=20 > The XHTML spec defines the attributes of the hr element as: >=20 > > %attrs; > align (left|center|right) #IMPLIED > noshade (noshade) #IMPLIED > size %Pixels; #IMPLIED > width %Length; #IMPLIED > > >=20 > ...so I'm willing to believe the W3C validator is right, and that =20 > Docbook should be generating these attribute values in lower case. =20 If I recall correctly, DocBook actually does generate them in lower case, and then the W3C's tidy changes them to uppercase, which seemed rather perverse to me. It's been some time since I looked at this though, so I could be mistaken. Ceri --=20 --96YOpH+ONegL0A3E Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAMMBzocfcwTS3JF8RAm91AJwIqUhyFDtxsKDAaHbG+Ng1fe1kPwCeJwZX xg7nPeTbRoQau3wd/OfGD50= =SGd7 -----END PGP SIGNATURE----- --96YOpH+ONegL0A3E--