reference/xmlreader/xmlreader/isvalid.xml
776c80a692c1c59d97250be2c5633ca5e3911110
...
...
@@ -12,7 +12,8 @@
12
12
<void/>
13
13
</methodsynopsis>
14
14
<para>
15
-
Returns a boolean indicating if the document being parsed is currently valid.
15
+
Returns a boolean indicating if the document being parsed is currently valid according to the DTD, or an XML or RelaxNG schema.
16
+
If there is no schema, and the DTD validation option is not provided, this method will return &false;.
16
17
</para>
17
18
</refsect1>
18
19
<refsect1 role="parameters">
...
...
@@ -22,7 +23,7 @@
22
23
<refsect1 role="returnvalues">
23
24
&reftitle.returnvalues;
24
25
<para>
25
-
&return.success;
26
+
Returns &true; when the document is valid or &false; otherwise.
26
27
</para>
27
28
</refsect1>
28
29
<refsect1 role="examples">
29
30