reference/xml/functions/xml-error-string.xml
e700973701abc1897fb9af01d6efca3a53507f23
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.xml-error-string">
3
+
<refentry xml:id="function.xml-error-string" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>xml_error_string</refname>
6
6
<refpurpose>Get XML parser error string</refpurpose>
...
...
@@ -9,12 +9,12 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>string</type><methodname>xml_error_string</methodname>
13
-
<methodparam><type>int</type><parameter>code</parameter></methodparam>
12
+
<type class="union"><type>string</type><type>null</type></type><methodname>xml_error_string</methodname>
13
+
<methodparam><type>int</type><parameter>error_code</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Gets the XML parser error string associated with the given
17
-
<parameter>code</parameter>.
17
+
<parameter>error_code</parameter>.
18
18
</para>
19
19
</refsect1>
20
20

...
...
@@ -23,7 +23,7 @@
23
23
<para>
24
24
<variablelist>
25
25
<varlistentry>
26
-
<term><parameter>code</parameter></term>
26
+
<term><parameter>error_code</parameter></term>
27
27
<listitem>
28
28
<para>
29
29
An error code from <function>xml_get_error_code</function>.
...
...
@@ -38,7 +38,7 @@
38
38
&reftitle.returnvalues;
39
39
<para>
40
40
Returns a string with a textual description of the error
41
-
<parameter>code</parameter>, or &false; if no description was found.
41
+
<parameter>error_code</parameter>, or &null; if no description was found.
42
42
</para>
43
43
</refsect1>
44
44

...
...
@@ -52,7 +52,6 @@
52
52
</refsect1>
53
53

54
54
</refentry>
55
-

56
55
<!-- Keep this comment at the end of the file
57
56
Local variables:
58
57
mode: sgml
59
58