|
7 | 7 | * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group |
8 | 8 | * Portions Copyright (c) 1994, Regents of the University of California |
9 | 9 | * |
10 | | - * $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.59 2007/11/20 23:14:41 tgl Exp $ |
| 10 | + * $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.60 2007/11/25 12:08:11 petere Exp $ |
11 | 11 | * |
12 | 12 | *------------------------------------------------------------------------- |
13 | 13 | */ |
@@ -3019,7 +3019,7 @@ map_sql_type_to_xmlschema_type(Oid typeoid, int typmod) |
3019 | 3019 |
|
3020 | 3020 | caseINT4OID: |
3021 | 3021 | appendStringInfo(&result, |
3022 | | -" <xsd:restriction base='xsd:int'>\n" |
| 3022 | +" <xsd:restriction base=\"xsd:int\">\n" |
3023 | 3023 | " <xsd:maxInclusive value=\"%d\"/>\n" |
3024 | 3024 | " <xsd:minInclusive value=\"%d\"/>\n" |
3025 | 3025 | " </xsd:restriction>\n", |
@@ -3168,7 +3168,7 @@ SPI_sql_row_to_xmlelement(int rownum, StringInfo result, char *tablename, |
3168 | 3168 | if (isnull) |
3169 | 3169 | { |
3170 | 3170 | if (nulls) |
3171 | | -appendStringInfo(result," <%s xsi:nil='true'/>\n",colname); |
| 3171 | +appendStringInfo(result," <%s xsi:nil=\"true\"/>\n",colname); |
3172 | 3172 | } |
3173 | 3173 | else |
3174 | 3174 | appendStringInfo(result," <%s>%s</%s>\n", |
|