Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> I propose that we annotate the schema section RowType elements with the
> original names, so we would have something like this in the schema section:
1. Is that legal per the SQL/XML spec?
2. What happens when the column name contains characters that would have
to be escaped, such as "<" --- haven't you just replaced one de-escaping
problem with another?
regards, tom lane