BUG #14454: xmlelement doesn't support encoding
BUG #14454: xmlelement doesn't support encoding
От:
xammett@gmail.com
Дата:
VGhlIGZvbGxvd2luZyBidWcgaGFzIGJlZW4gbG9nZ2VkIG9uIHRoZSB3ZWJz aXRlOgoKQnVnIHJlZmVyZW5jZTogICAgICAxNDQ1NApMb2dnZWQgYnk6ICAg ICAgICAgIFZ5YWNoZXNsYXYgQmxpbm92CkVtYWlsIGFkZHJlc3M6ICAgICAg eGFtbWV0dEBnbWFpbC5jb20KUG9zdGdyZVNRTCB2ZXJzaW9uOiA5LjYuMQpP cGVyYXRpbmcgc3lzdGVtOiAgIHVidW50dQpEZXNjcmlwdGlvbjogICAgICAg IAoKaWYgeW91IHRyeSB0byBleGVjdXRlIHRoaXMgY29kZSAtIHlvdSBhcmUg cmV0dXJuIHNvbWV0aGluZyBzdHJhbmdlCnN5bWJvbHMuDQp0aGlzIGlzIGEg YnVnLiBwbGVhc2UsZml4IGl0Lg0KU0VMRUNUIHhtbGVsZW1lbnQobmFtZSBm b28sIHhtbGF0dHJpYnV0ZXMoICfRhNGL0LInYXMgYSkpOwoK
Re: BUG #14454: xmlelement doesn't support encoding
От:
Pavel Stehule <pavel.stehule@gmail.com>
Дата:
Hi 2016-12-07 16:27 GMT+01:00 : > The following bug has been logged on the website: > > Bug reference: 14454 > Logged by: Vyacheslav Blinov > Email address: xammett@gmail.com > PostgreSQL version: 9.6.1 > Operating system: ubuntu > Description: > > if you try to execute this code - you are return something strange > symbols. > this is a bug. please,fix it. > SELECT xmlelement(name foo, xmlattributes( '=D1=84=D1=8B=D0=B2'as a)); > This is not a bug. The libxml2 - the base for XML support in Postgres - use html encoding for attribute values I read one FAQ where this issue was described, but I cannot to find now Regards Pavel Stehule > > > -- > Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-bugs >