Allow empty content in xml type
The xml type previously rejected "content" that is empty or consists
only of spaces. But the SQL/XML standard allows that, so change that.
The accepted values for XML "documents" are not changed.
Reviewed-by: Ali Akbar <the.apaan@gmail.com>
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/57b1085df55d092e2a728043ec607db8fdef2483
Modified Files
--------------
src/backend/utils/adt/xml.c | 14 +++++++++-----
src/test/regress/expected/xml.out | 28 ++++++++++++++++++++++++++++
src/test/regress/expected/xml_1.out | 16 ++++++++++++++++
src/test/regress/sql/xml.sql | 4 ++++
4 files changed, 57 insertions(+), 5 deletions(-)