reference/dom/domdocument/schemavalidate.xml
4f5e2b22575131fa5e9c3004b1c874e1acb06573
...
...
@@ -4,12 +4,12 @@
4
4
<refnamediv>
5
5
<refname>DOMDocument::schemaValidate</refname>
6
6
<refpurpose>
7
-
Validates a document based on a schema
7
+
Validates a document based on a schema. Only XML Schema 1.0 is supported.
8
8
</refpurpose>
9
9
</refnamediv>
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
-
<methodsynopsis>
12
+
<methodsynopsis role="DOMDocument">
13
13
<modifier>public</modifier> <type>bool</type><methodname>DOMDocument::schemaValidate</methodname>
14
14
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
15
15
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
...
...
@@ -35,7 +35,7 @@
35
35
<listitem>
36
36
<para>
37
37
A bitmask of Libxml schema validation flags. Currently the only supported value is <link
38
-
linkend="libxml.constants">LIBXML_SCHEMA_CREATE</link>. Available since PHP 5.5.2 and Libxml 2.6.14.
38
+
linkend="libxml.constants">LIBXML_SCHEMA_CREATE</link>. Available since Libxml 2.6.14.
39
39
</para>
40
40
</listitem>
41
41
</varlistentry>
...
...
@@ -48,29 +48,7 @@
48
48
&return.success;
49
49
</para>
50
50
</refsect1>
51
-
<refsect1 role="changelog">
52
-
&reftitle.changelog;
53
-
<para>
54
-
<informaltable>
55
-
<tgroup cols="2">
56
-
<thead>
57
-
<row>
58
-
<entry>&Version;</entry>
59
-
<entry>&Description;</entry>
60
-
</row>
61
-
</thead>
62
-
<tbody>
63
-
<row>
64
-
<entry>5.5.2</entry>
65
-
<entry>
66
-
Added the <parameter>flags</parameter> parameter
67
-
</entry>
68
-
</row>
69
-
</tbody>
70
-
</tgroup>
71
-
</informaltable>
72
-
</para>
73
-
</refsect1>
51
+

74
52
<refsect1 role="seealso">
75
53
&reftitle.seealso;
76
54
<para>
...
...
@@ -83,7 +61,6 @@
83
61
</para>
84
62
</refsect1>
85
63
</refentry>
86
-

87
64
<!-- Keep this comment at the end of the file
88
65
Local variables:
89
66
mode: sgml
90
67