From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Pokorný Date: Thu, 7 Feb 2013 11:49:40 +0100 Subject: [Cluster-devel] [PATCH] config/tools/xml: validate resulting cluster.rng with relaxng.rng In-Reply-To: <511364C5.9010607@redhat.com> References: <1360183631-22334-1-git-send-email-jpokorny@redhat.com> <511364C5.9010607@redhat.com> Message-ID: <20130207104940.GB28345@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello , On 07/02/13 09:24 +0100, Fabio M. Di Nitto wrote: > Hi Jan, > > On 2/6/2013 9:47 PM, Jan Pokorn? wrote: >> Doing so will guarantee the file is valid RELAX NG schema, not just >> a valid XML. >> >> Validating schema, relaxng.rng, was obtained directly from [1] and >> matches directly to a version bundled with xmlcopyeditor in Fedora 17. >> The same (modulo VCS headers, comments and spacing details) can be >> obtained by combining schema as in the specification [2] and its >> errata [3]. >> >> [1] http://relaxng.org/relaxng.rng >> [2] http://relaxng.org/spec-20011203.html >> [3] http://relaxng.org/spec-20011203-errata.html > > this looks like a good idea, but i have one question. > > Is there a specific reason why we need to ship/embed the file with our > tarball? How bad is it to require the one installed on a system? It is not bad at all, but you can hardly find it system-wide. AFAIK there is no standard in packaging such standalone single files anywhere yet (see also, e.g., JavaScript libraries, everything is usually bundled). Once there is a wide-spread standard (if ever) where such files are located within the distributions, relaxng.rng can be dropped and dependency can be added. > I can see it?s rather stable and hardly updated, but i prefer to avoid > duplication if we can. I share the same intention, however current situation does not seem to be offering any other choice. -- Jan