BUG #3735: Can't create xml-stylesheet processing instruction - Mailing list pgsql-bugs

From Ben Leslie
Subject BUG #3735: Can't create xml-stylesheet processing instruction
Date
Msg-id 200711091320.lA9DKG1K060213@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #3735: Can't create xml-stylesheet processing instruction  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      3735
Logged by:          Ben Leslie
Email address:      benno@benno.id.au
PostgreSQL version: 8.3 beta 2
Operating system:   Mac OS X
Description:        Can't create xml-stylesheet processing instruction
Details:

# select xmlpi(name "xml-stylesheet");
ERROR:  invalid XML processing instruction
DETAIL:  XML processing instruction target name cannot start with "xml".

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

(http://www.w3.org/TR/REC-xml/#sec-pi)

However the w3c stylesheet recommendation
(http://www.w3.org/TR/xml-stylesheet/) specifies a xml-stylesheet processing
instruction, so it would be useful to be able to handle this.

pgsql-bugs by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: BUG #3732: Select returns 0 rows for varchar field
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #3730: Creating a swedish dictionary fails