Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 31DA1633272 for ; Mon, 29 Mar 2010 19:01:35 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 62093-07 for ; Mon, 29 Mar 2010 22:01:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.postgresql.org (Postfix) with SMTP id B8C7E632D74 for ; Mon, 29 Mar 2010 19:01:21 -0300 (ADT) Received: (qmail invoked by alias); 29 Mar 2010 22:01:20 -0000 Received: from a88-115-218-165.elisa-laajakaista.fi (EHLO [10.0.0.101]) [88.115.218.165] by mail.gmx.net (mp072) with SMTP; 30 Mar 2010 00:01:20 +0200 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX1+JO0wkz0iJb6RbguJk2UHZ+BvrT2QadcNq7z5VuV H6E9aa4ek37/Ed Subject: Re: include no validation of XML schema in 8.13.1- the XML Type From: Peter Eisentraut To: Andrew Lardinois Cc: pgsql-docs@postgresql.org In-Reply-To: <5eb24a3e1001070132h62c1fee0j647904c76c594fc3@mail.gmail.com> References: <5eb24a3e1001070132h62c1fee0j647904c76c594fc3@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 30 Mar 2010 01:01:19 +0300 Message-ID: <1269900079.6144.24.camel@vanquo.pezone.net> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.62 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.069 tagged_above=-10 required=5 tests=AWL=-0.884, BAYES_40=-0.185 X-Spam-Level: X-Archive-Number: 201003/20 X-Sequence-Number: 5385 On tor, 2010-01-07 at 01:32 -0800, Andrew Lardinois wrote: > Poking around in the 8.5 Devel Documentation section 8.13.1, the XML > Type, I noticed that: > > "The xml type does not validate input values against a document type > declaration (DTD), even when the input value specifies a DTD" > > I did not notice any mention of validating against XML schema. Now > that it is 2010, the XML schema 1.1 spec is in draft form of one sort > or another, is it safe to leave out mentioning validating against XML > schema in the PostGreSQL documentation. That is, PostGreSQL users > should know enough about XML that if you can't validate against a DTD, > why should you be able to validate against XML schema? > > I would tent towards redundancy, and include the XML schema part. Added.