Re: XML Issue with DTDs

From: Florian Pflug <fgp(at)phlo(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: XML Issue with DTDs
Date: 2013-12-26 20:30:00
Message-ID: 73B8C774-BE59-4F8C-9CF8-3D63D74C9EEF@phlo.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Dec23, 2013, at 18:39 , Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> 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.

OK, cool, I'll try to figure out how to do that with libxml

best regards,
Florian Pflug

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joseph Kregloh 2013-12-26 21:06:59 Re: pg_upgrade & tablespaces
Previous Message Florian Pflug 2013-12-26 20:28:45 Re: XML Issue with DTDs