Re: XML Issue with DTDs

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Florian Pflug <fgp(at)phlo(dot)org>, pgsql-hackers Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: XML Issue with DTDs
Date: 2013-12-23 17:39:37
Message-ID: 52B87559.7090003@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/19/13, 6:40 PM, Florian Pflug wrote:
> The following example fails for XMLOPTION set to DOCUMENT as well as for XMLOPTION set to CONTENT.
>
> select xmlconcat(
> xmlparse(document '<!DOCTYPE test [<!ELEMENT test EMPTY>]><test/>'),
> xmlparse(content '<test/>')
> )::text::xml;

The SQL standard specifies that DTDs are dropped by xmlconcat. It's
just not implemented.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2013-12-23 17:46:39 Re: shared memory message queues
Previous Message Tom Lane 2013-12-23 17:34:29 Re: WITHIN GROUP patch