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.