From owner-freebsd-doc@FreeBSD.ORG Fri Jun 1 01:02:54 2012 Return-Path: Delivered-To: freebsd-doc@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by hub.freebsd.org (Postfix) with ESMTP id 0D91C106566B; Fri, 1 Jun 2012 01:02:54 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 50A2D162E51; Fri, 1 Jun 2012 01:02:51 +0000 (UTC) Message-ID: <4FC814BB.90507@FreeBSD.org> Date: Thu, 31 May 2012 18:02:51 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Warren Block References: <201205302046.q4UKka2f062416@repoman.freebsd.org> <20120530222837.GA94334@dormouse.experts-exchange.com> <4FC7BDE9.40602@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Thierry Thomas , freebsd-doc@FreeBSD.org, Eitan Adler , Jason Helfman , wblock@FreeBSD.org 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 01:02:54 -0000 > 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. At present, igor doesn't know XML at all. My hope is that >>> some existing XML validator can be used to check tagging and indentation >>> 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 helps >> 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. hth, Doug -- This .signature sanitized for your protection