From 0fa15b9ed3ec32655a1505e3571acb24fcbeec8f Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Wed, 13 Feb 2008 22:46:55 +0000 Subject: [PATCH] Correct XML markup typo, <book> -> </book> XMLPARSE (DOCUMENT '<?xml version="1.0"?><book><title>Manual</title><chapter>...</chapter></book>') Backpatch to 8.3.X. --- doc/src/sgml/datatype.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index 757a587d7b..8b57b0ea78 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.223 2008/01/12 21:51:36 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.224 2008/02/13 22:46:55 momjian Exp $ --> <chapter id="datatype"> <title id="datatype-title">Data Types</title> @@ -3544,7 +3544,7 @@ XMLPARSE ( { DOCUMENT | CONTENT } <replaceable>value</replaceable>) </synopsis> Examples: <programlisting><![CDATA[ -XMLPARSE (DOCUMENT '<?xml version="1.0"?><book><title>Manual</title><chapter>...</chapter><book>') +XMLPARSE (DOCUMENT '<?xml version="1.0"?><book><title>Manual</title><chapter>...</chapter></book>') XMLPARSE (CONTENT 'abc<foo>bar</foo><bar>foo</bar>') ]]></programlisting> While this is the only way to convert character strings into XML