From owner-freebsd-doc@FreeBSD.ORG Fri Jun 1 09:55:46 2012 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 096361065679 for ; Fri, 1 Jun 2012 09:55:46 +0000 (UTC) (envelope-from simon@qxnitro.org) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 747E58FC14 for ; Fri, 1 Jun 2012 09:55:44 +0000 (UTC) Received: by bkvi18 with SMTP id i18so2158971bkv.13 for ; Fri, 01 Jun 2012 02:55:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qxnitro.org; s=google; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=dVb2APR209ghQvY/n0QJOigTJgkUTCtu+eCqIdCTCJw=; b=EftbBWxSC2oQTrK9mQESBi37qkO7OjfdrmaLuQtW4dWFYOwVA+OHK+/07ZLxCYnNPK JOz4vasecCe2FOMF95wlD/Vpwn2Tkc8eutblKqM91jrvHUn6ooub5AjaXlge2iBaoRky bOCPCkdctahaapHSn4pxB4ridj4f4PQVHRuxA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=dVb2APR209ghQvY/n0QJOigTJgkUTCtu+eCqIdCTCJw=; b=ka+55+8Sq03HdzRsQGD89qCZqDb++pGALhUtQ0W75ewiiAMtTNTzeGIPfdptKm2OUr UYQ6UBxooPNWNnC3EXgW+LpXq752+zTfUhihdgG0XilQV9WFJ3+1IpXxFPkUzSQlVQKK ZETp+ekPJvSbpN0MjL+KnlYQH/VJQE4MSpZj7E9I6+q0i75HAvwSMZzj5PyLN3V/Gfut FJ9S5kCT2IK/IqlKWu9wJXMoYsxTFxHEZF8662j6WGBGcoPCCiWcf4NO+CJDZeJJvaNf 7ER5TJXxWaIL6fm1D/tfjr6B7uywIgG2xDzrFDydEan3vLj1VeYtT9BnHLk5NZLmqGdv Drkg== MIME-Version: 1.0 Received: by 10.204.155.139 with SMTP id s11mr1122524bkw.106.1338544543918; Fri, 01 Jun 2012 02:55:43 -0700 (PDT) Received: by 10.205.39.199 with HTTP; Fri, 1 Jun 2012 02:55:43 -0700 (PDT) X-Originating-IP: [2620:0:1040:204:be30:5bff:fee8:f39d] In-Reply-To: <4FC814BB.90507@FreeBSD.org> References: <201205302046.q4UKka2f062416@repoman.freebsd.org> <20120530222837.GA94334@dormouse.experts-exchange.com> <4FC7BDE9.40602@FreeBSD.org> <4FC814BB.90507@FreeBSD.org> Date: Fri, 1 Jun 2012 10:55:43 +0100 Message-ID: From: "Simon L. B. Nielsen" To: Doug Barton Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlW9fV8+TCJ6bMR3eiRM+uUIkuDVUeu0tyh4EijU9AxzkpMw0TxROcWKvDQ5D/sKU0YIl2N Cc: Eitan Adler , freebsd-doc@freebsd.org, wblock@freebsd.org, Thierry Thomas , Jason Helfman Subject: Re: cvs commit: ports/security/vuxml vuln.xml X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2012 09:55:46 -0000 On Fri, Jun 1, 2012 at 2:02 AM, Doug Barton wrote: >> On Thu, 31 May 2012, Doug Barton wrote: >> >>> On 05/31/2012 09:28 AM, Warren Block wrote: >>>> Sorry, I missed the original post and am not quite sure what is being >>>> checked. =C2=A0At present, igor doesn't know XML at all. =C2=A0My hope= is that >>>> some existing XML validator can be used to check tagging and indentati= on >>>> of DocBook XML, and igor can just check for documentation-specific >>>> problems. >>> >>> xmllint does a pretty good job of validation. Not sure how much it help= s >>> with indentation, but it's a good place to start. > > To amplify that slightly, since "The Fine Manual" leaves something to be > desired ... > > xmllint --noout --dtdvalid http://www.vuxml.org/dtd/vuxml-1/vuxml-11.dtd > vuln.xml > > is what you want to validate that the file matches the DTD (the current > version passes). There is no way to use xmllint to "validate the > whitespace," but you could theoretically use the --format option as part > of 'make validate'. Note, that would require a one-time commit to change > the current format into what --format outputs, since they are pretty > dramatically different. Just a note, DTD check is unfortunately rather far from validating that VuXML entries are valid... --=20 Simon