1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-26 21:41:34 +03:00

doc: Improve xmllint documentation

This commit is contained in:
Nick Wellnhofer
2025-06-22 15:46:09 +02:00
parent dd2b4091fb
commit 404aedbd97
2 changed files with 4 additions and 4 deletions

View File

@@ -228,8 +228,8 @@
<term><option>--strict-namespace</option></term>
<listitem>
<para>
Determine if the document is a well-formed, but has namespace
errors. This enforces namespace-well-formedness.
Return an error if the document is well-formed, but has namespace
errors. This enforces namespace-well-formedness.
</para>
</listitem>
</varlistentry>
@@ -1005,7 +1005,7 @@
<varlistentry>
<term><errorcode>4</errorcode></term>
<listitem>
<para>Validation error</para>
<para>Document isn't well-formed or couldn't be read</para>
</listitem>
</varlistentry>

View File

@@ -91,7 +91,7 @@ typedef enum {
XMLLINT_ERR_UNCLASS = 1, /* Unclassified */
XMLLINT_ERR_DTD = 2, /* Error in DTD */
XMLLINT_ERR_VALID = 3, /* Validation error */
XMLLINT_ERR_RDFILE = 4, /* CtxtReadFile error */
XMLLINT_ERR_RDFILE = 4, /* Wellformedness or IO error */
XMLLINT_ERR_SCHEMACOMP = 5, /* Schema compilation */
XMLLINT_ERR_OUT = 6, /* Error writing output */
XMLLINT_ERR_SCHEMAPAT = 7, /* Error in schema pattern */