Re: XML Issue with DTDs - Mailing list pgsql-hackers

From Florian Pflug
Subject Re: XML Issue with DTDs
Date
Msg-id 73B8C774-BE59-4F8C-9CF8-3D63D74C9EEF@phlo.org
Whole thread Raw
In response to Re: XML Issue with DTDs  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: XML Issue with DTDs
List pgsql-hackers
On Dec23, 2013, at 18:39 , Peter Eisentraut <peter_e@gmx.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




pgsql-hackers by date:

Previous
From: Florian Pflug
Date:
Subject: Re: XML Issue with DTDs
Next
From: Robert Haas
Date:
Subject: Re: "stuck spinlock"