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.