From owner-freebsd-doc@FreeBSD.ORG Fri Jun 1 05:37:46 2012 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 764FA1067C30 for ; Fri, 1 Jun 2012 05:36:10 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 204038FC1A for ; Fri, 1 Jun 2012 05:36:10 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so2638872pbb.13 for ; Thu, 31 May 2012 22:36:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-operating-system :organization:x-living-the-dream:x-pgp-fingerprint:x-pgp-key :user-agent:x-gm-message-state; bh=2KA4sVDFNZ9k36yB25axrO/kTGM1Zi81C+/MrDg1Fqs=; b=UWEJAhbeMnwdQt/UCAjon1CdRf3XJNmaQQuPzlivY140R3FcND5qmd1dHisrPD9kWO N5LgPn5/W9c6OxPlhsl5xTPvSF1m02EKv4p2PvcP7CK35fVXDqtk9MQEUfhXkSkqh+nY JCkQf2Rv4I+NHm4exTMMMIR4ND8dUTLIAxFqeaa82NKn6VOp8jkCIbIzt3f4qTIMGMGw /CVi8MYngnVCqZ5le9nwoeHuGSDCJohVB1S1IlD9THbVptBaR2eTaVPq4ajqukwQO3Ko G+RW50MnKETkGIcKSEcyBjIj8Dz1yevGtKPsWf7ocSBPJPqjvBZX/oC0HDBRDjLMvH0l 7QNQ== Received: by 10.68.234.35 with SMTP id ub3mr7006383pbc.8.1338528969679; Thu, 31 May 2012 22:36:09 -0700 (PDT) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id ua6sm1562994pbc.20.2012.05.31.22.36.07 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 31 May 2012 22:36:08 -0700 (PDT) Sender: Jason Helfman Date: Thu, 31 May 2012 22:34:42 -0700 From: Jason Helfman To: Doug Barton Message-ID: <20120601053442.GA31731@dormouse.experts-exchange.com> References: <201205302046.q4UKka2f062416@repoman.freebsd.org> <20120530222837.GA94334@dormouse.experts-exchange.com> <4FC7BDE9.40602@FreeBSD.org> <4FC814BB.90507@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <4FC814BB.90507@FreeBSD.org> X-Operating-System: FreeBSD 8.3-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQn+2Bb1wjiJbb5wrHFMs1Dm/PLNnViQTuJIQBSuNPVCN9iVOrJ04F0CPHSxdLZdDa8I8zl1 Cc: Thierry Thomas , freebsd-doc@FreeBSD.org, Eitan Adler , 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 05:37:46 -0000 On Thu, May 31, 2012 at 06:02:51PM -0700, Doug Barton thus spake: >> 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 > Originally, I had raised the question that there were various cite tags that should also be referenced also as a url tag, and thought that there was an exiting tool, or something with 'make validate' that could verify that they in fact were noted in both fields. Various pokes by eadler had raised this as a question on my part. -jgh -- Jason Helfman FreeBSD Committer | http://people.freebsd.org/~jgh | The Power To Serve