Re: BUG #16277: xmlelement allows invalid XML characters when XML version is set to 1.0

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: andreas(at)apkudo(dot)com
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16277: xmlelement allows invalid XML characters when XML version is set to 1.0
Date: 2020-02-25 19:59:53
Message-ID: 27912.1582660793@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> The following example:
> SELECT
> xmlroot (
> xmlelement (name "test", CHR(26))
> , version '1.0'
> )

> Produces xml with the invalid ASCII character 26.

On what grounds do you call it invalid? What other behavior
would you expect?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2020-02-25 20:34:28 Re: planner weirdness: a join uses nestloop with checking condition when there are two subplan-or-hashed subqueries
Previous Message PG Bug reporting form 2020-02-25 18:58:57 BUG #16277: xmlelement allows invalid XML characters when XML version is set to 1.0