Date: Mon, 16 Feb 2004 13:06:59 +0000 From: Ceri Davies <ceri@FreeBSD.org> To: Chuck Swiger <chuck@pkix.net> Cc: freebsd-doc@FreeBSD.org Subject: Re: Validating docbook articles... Message-ID: <20040216130659.GC617@submonkey.net> In-Reply-To: <8D03FA54-4BA6-11D8-8D97-003065ABFD92@pkix.net> References: <8D03FA54-4BA6-11D8-8D97-003065ABFD92@pkix.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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...). > <hr align=3D"LEFT" width=3D"100%" /> >=20 > The XHTML spec defines the attributes of the hr element as: >=20 > <!ELEMENT hr EMPTY> > <!ATTLIST hr > %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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040216130659.GC617>