diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-09-16 16:18:11 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-09-16 16:18:11 +0000 |
commit | 1246d797e4b21e5bf4267e8b663057b92258b728 (patch) | |
tree | c88e5e616d86090aabc9ee1fb503b71946544c86 /doc/src | |
parent | 801cbe3310bc52c0ab41ec66bfe3893a16255189 (diff) |
Rename xml_valid() to xml_is_well_formed(), but provide a temporary
alias with the old name for backwards compatibility. Per discussion,
the old name is actively wrong because validity and well-formedness
have different meanings in XML.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/datatype.sgml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index ac632ee3778..5bca7c418f3 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.174 2006/09/16 00:30:12 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.175 2006/09/16 16:18:11 tgl Exp $ --> <chapter id="datatype"> <title id="datatype-title">Data Types</title> @@ -3345,8 +3345,8 @@ SELECT * FROM pg_attribute <para> <filename>/contrib/xml2</> has a function called - <function>xml_valid()</> that can be used in a <literal>CHECK</> - constraint to enforce that a field contains valid <acronym>XML</>. + <function>xml_is_well_formed()</> that can be used in a <literal>CHECK</> + constraint to enforce that a field contains well-formed <acronym>XML</>. It does not support validation against a specific <acronym>XML</> schema. A server-side language with <acronym>XML</> capabilities could be used to do schema-specific <acronym>XML</> checks. |