XML only working in UTF-8 - Re: 8.4 open items list - Mailing list pgsql-hackers

From Chris Browne
Subject XML only working in UTF-8 - Re: 8.4 open items list
Date
Msg-id 87skkuj1gf.fsf_-_@dba2.int.libertyrms.com
Whole thread Raw
In response to Re: 8.4 open items list  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: XML only working in UTF-8 - Re: 8.4 open items list  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
josh@agliodbs.com (Josh Berkus) writes:
> This one is also really bad, but probably only Doc-patchable.
> However, can SQL/XML really be said to be core functionality if it
> only works in UTF-8?
>     * BUG #4622: xpath only work in utf-8 server encoding

Well, much of the definition of XML assumes the use of Unicode, so I
don't feel entirely badly about there being such a restriction.

It seems likely to me that opening its use to other encodings has a
considerable risk of breaking due to a loss of, erm, "closure," in the
mathematical sense.  Or, alternatively, opening a Pandora's Box of
needing to do translations to prevent mappings from breaking.
-- 
let name="cbbrowne" and tld="linuxfinances.info" in String.concat "@" [name;tld];;
http://cbbrowne.com/info/languages.html
If you add a couple of i's to Microsoft's stock ticker symbol, you get
'misfit'.  This is, of course, not a coincidence.


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: PQinitSSL broken in some use casesf
Next
From: Andrew Chernow
Date:
Subject: Re: PQinitSSL broken in some use casesf