reference/xml/functions/xml-get-error-code.xml
7b841d339c74f9ccf4cc2e88ace091600333dad9
...
...
@@ -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-get-error-code">
3
+
<refentry xml:id="function.xml-get-error-code" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>xml_get_error_code</refname>
6
6
<refpurpose>Get XML parser error code</refpurpose>
...
...
@@ -10,7 +10,7 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>int</type><methodname>xml_get_error_code</methodname>
13
-
<methodparam><type>resource</type><parameter>parser</parameter></methodparam>
13
+
<methodparam><type>XMLParser</type><parameter>parser</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Gets the XML parser error code.
...
...
@@ -36,13 +36,29 @@
36
36
<refsect1 role="returnvalues">
37
37
&reftitle.returnvalues;
38
38
<para>
39
-
This function returns &false; if <parameter>parser</parameter> does
40
-
not refer to a valid parser, or else it returns one of the error
39
+
Returns one of the error
41
40
codes listed in the <link linkend="xml.error-codes">error codes
42
41
section</link>.
43
42
</para>
44
43
</refsect1>
45
44

45
+
<refsect1 role="changelog">
46
+
&reftitle.changelog;
47
+
<informaltable>
48
+
<tgroup cols="2">
49
+
<thead>
50
+
<row>
51
+
<entry>&Version;</entry>
52
+
<entry>&Description;</entry>
53
+
</row>
54
+
</thead>
55
+
<tbody>
56
+
&xml.changelog.parser-param;
57
+
</tbody>
58
+
</tgroup>
59
+
</informaltable>
60
+
</refsect1>
61
+

46
62
<refsect1 role="seealso">
47
63
&reftitle.seealso;
48
64
<para>
...
...
@@ -53,7 +69,6 @@
53
69
</refsect1>
54
70

55
71
</refentry>
56
-

57
72
<!-- Keep this comment at the end of the file
58
73
Local variables:
59
74
mode: sgml
60
75