Re: BUG #3735: Can't create xml-stylesheet processing instruction

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Cc: "Ben Leslie" <benno(at)benno(dot)id(dot)au>
Subject: Re: BUG #3735: Can't create xml-stylesheet processing instruction
Date: 2007-11-09 15:53:08
Message-ID: 200711091653.09111.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Am Freitag, 9. November 2007 schrieb Ben Leslie:
> # select xmlpi(name "xml-stylesheet");
> ERROR: invalid XML processing instruction
> DETAIL: XML processing instruction target name cannot start with "xml".

Apparently I read the SQL spec a bit to strictly here. I've installed a fix
into CVS.

> The w3c XML 1.0 spec says that PIs starting with 'xml' are reserved.

That's what I thought as well, but they actually only reserve names being
exactly 'xml' modulo case differences.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Derek 2007-11-09 16:18:10 BUG #3736: server cannot listen
Previous Message Alvaro Herrera 2007-11-09 14:35:46 Re: BUG #3732: Select returns 0 rows for varchar field