projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f2fb7c
)
Use double quotes for quoting xml attributes.
author
Peter Eisentraut
<peter_e@gmx.net>
Sun, 25 Nov 2007 12:08:11 +0000
(12:08 +0000)
committer
Peter Eisentraut
<peter_e@gmx.net>
Sun, 25 Nov 2007 12:08:11 +0000
(12:08 +0000)
src/backend/utils/adt/xml.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/adt/xml.c
b/src/backend/utils/adt/xml.c
index 5705c095fececf5902b1c659310528d4f59daabe..19806819a869df5d5bfd3552d887e52a4e9ce710 100644
(file)
--- a/
src/backend/utils/adt/xml.c
+++ b/
src/backend/utils/adt/xml.c
@@
-3019,7
+3019,7
@@
map_sql_type_to_xmlschema_type(Oid typeoid, int typmod)
case INT4OID:
appendStringInfo(&result,
- " <xsd:restriction base=
'xsd:int'
>\n"
+ " <xsd:restriction base=
\"xsd:int\"
>\n"
" <xsd:maxInclusive value=\"%d\"/>\n"
" <xsd:minInclusive value=\"%d\"/>\n"
" </xsd:restriction>\n",
@@
-3168,7
+3168,7
@@
SPI_sql_row_to_xmlelement(int rownum, StringInfo result, char *tablename,
if (isnull)
{
if (nulls)
- appendStringInfo(result, " <%s xsi:nil=
'true'
/>\n", colname);
+ appendStringInfo(result, " <%s xsi:nil=
\"true\"
/>\n", colname);
}
else
appendStringInfo(result, " <%s>%s</%s>\n",