Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite849b49

Browse files
committed
Add note clarifying that XML fragments don't accept DTDs
per complaint from Craig Ringer
1 parent93c81c6 commite849b49

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

‎doc/src/sgml/datatype.sgml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.248 2010/04/03 07:22:53 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.249 2010/06/29 00:03:39 petere Exp $ -->
22

33
<chapter id="datatype">
44
<title>Data Types</title>
@@ -3985,6 +3985,17 @@ SET xmloption TO { DOCUMENT | CONTENT };
39853985
The default is <literal>CONTENT</literal>, so all forms of XML
39863986
data are allowed.
39873987
</para>
3988+
3989+
<note>
3990+
<para>
3991+
With the default XML option setting, you cannot directly cast
3992+
character strings to type <type>xml</type> if they contain a
3993+
document type declaration, because the definition of XML content
3994+
fragment does not accept them. If you need to do that, either
3995+
use <literal>XMLPARSE</literal> or change the XML option.
3996+
</para>
3997+
</note>
3998+
39883999
</sect2>
39894000

39904001
<sect2>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp