X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 149C5D1B47C for ; Fri, 9 Jan 2004 22:51:07 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 01396-07 for ; Fri, 9 Jan 2004 18:50:38 -0400 (AST) Received: from trolak.mydnsbox2.com (ns1.mydnsbox2.com [207.44.142.118]) by svr1.postgresql.org (Postfix) with ESMTP id BF99AD1B478 for ; Fri, 9 Jan 2004 18:50:35 -0400 (AST) Received: from dunslane.net (cpe-024-211-141-025.nc.rr.com [24.211.141.25]) (authenticated (0 bits)) by trolak.mydnsbox2.com (8.11.6/8.11.6) with ESMTP id i09Nm1b10675 for ; Fri, 9 Jan 2004 17:48:01 -0600 Message-ID: <3FFF303D.2070604@dunslane.net> Date: Fri, 09 Jan 2004 17:50:37 -0500 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030508 X-Accept-Language: en-us, en MIME-Version: 1.0 To: PostgreSQL-development Subject: Re: Encoding problems in PostgreSQL with XML data References: <303E00EBDD07B943924382E153890E5434AA48@cuthbert.rcsinc.local> <3FFF129E.6020109@dunslane.net> <200401092304.16549.peter_e@gmx.net> In-Reply-To: <200401092304.16549.peter_e@gmx.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/221 X-Sequence-Number: 48945 Peter Eisentraut wrote: >Andrew Dunstan wrote: > > >>Perhaps the document should be stored in canonical form. >> >> > >That kills the DTD, the id attributes, thus crippling XPath, and it >looks horrible on output. I don't think that can be accepted. >Canonical form is useful for comparing documents, but not for operating >on them, I think. > > OK, fair enough. What exactly do we expect the functionality of an xml type to be? Merely a guarantee that it is well-formed? cheers andrew