[DOC-CVS] [doc-en] master: lzf: fix XML by converting para to simpara tags via script

[email protected] (Gina Peter Banyard)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Gina Peter Banyard (Girgias)
Date: 2026-01-19T02:58:45Z

Commit: https://github.com/php/doc-en/commit/b274da1f1b2bc989b211c8ba50c51b27a3bc5af8
Raw diff: https://github.com/php/doc-en/commit/b274da1f1b2bc989b211c8ba50c51b27a3bc5af8.diff

lzf: fix XML by converting para to simpara tags via script

Changed paths:
  M  reference/lzf/book.xml
  M  reference/lzf/configure.xml
  M  reference/lzf/functions/lzf-compress.xml
  M  reference/lzf/functions/lzf-decompress.xml
  M  reference/lzf/functions/lzf-optimized-for.xml


Diff:

diff --git a/reference/lzf/book.xml b/reference/lzf/book.xml
index 1f0d3946c19c..25ab569d17f6 100644
--- a/reference/lzf/book.xml
+++ b/reference/lzf/book.xml
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-
-<book xml:id="book.lzf" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+<book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="book.lzf">
  <?phpdoc extension-membership="pecl" ?>
  <title>LZF</title>
  <titleabbrev>LZF</titleabbrev>
@@ -9,12 +8,12 @@
  <!-- {{{ preface -->
  <preface xml:id="intro.lzf">
   &reftitle.intro;
-  <para>
+  <simpara>
    LZF is a very fast compression algorithm, ideal for saving space with
    only slight speed cost. It can be optimized for speed or space at the
    time of compilation. This extension is using <link xlink:href="&url.liblzf;">liblzf</link>
    library by Marc Lehmann for its operations.
-  </para>
+  </simpara>
  </preface>
  <!-- }}} -->
 
@@ -22,7 +21,6 @@
  &reference.lzf.reference;
 
 </book>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -43,4 +41,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
 -->
-
diff --git a/reference/lzf/configure.xml b/reference/lzf/configure.xml
index b17860b4f3ea..9b1298b62f32 100644
--- a/reference/lzf/configure.xml
+++ b/reference/lzf/configure.xml
@@ -1,25 +1,24 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<section xml:id="lzf.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="lzf.installation">
  &reftitle.install;
- <para>
+ <simpara>
   &pecl.moved;
   &pecl.info;
   <link xlink:href="&url.pecl.package;lzf">&url.pecl.package;lzf</link>.
- </para>
- <para>
+ </simpara>
+ <simpara>
   In order to use these functions you must compile PHP with lzf support
-  by using the <option role="configure">--with-lzf[=DIR]</option> 
-  configure option.  You may also pass 
-  <option role="configure">--enable-lzf-better-compression</option> to 
+  by using the <option role="configure">--with-lzf[=DIR]</option>
+  configure option.  You may also pass
+  <option role="configure">--enable-lzf-better-compression</option> to
   optimize LZF for space rather than speed.
- </para>
- <para>
+ </simpara>
+ <simpara>
   Windows users will enable <filename>php_lzf.dll</filename> inside
   of &php.ini; in order to use these functions.
- </para>
+ </simpara>
 </section>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
diff --git a/reference/lzf/functions/lzf-compress.xml b/reference/lzf/functions/lzf-compress.xml
index e10044aefa30..d091ce41689e 100644
--- a/reference/lzf/functions/lzf-compress.xml
+++ b/reference/lzf/functions/lzf-compress.xml
@@ -14,10 +14,10 @@
    <type>string</type><methodname>lzf_compress</methodname>
    <methodparam><type>string</type><parameter>data</parameter></methodparam>
   </methodsynopsis>
-  <para>
+  <simpara>
    <function>lzf_compress</function> compresses the given
    <parameter>data</parameter> string using LZF encoding.
-  </para>
+  </simpara>
  </refsect1>
  <refsect1 role="parameters">
   &reftitle.parameters;
@@ -25,18 +25,18 @@
    <varlistentry>
     <term><parameter>data</parameter></term>
     <listitem>
-     <para>
+     <simpara>
       The string to compress.
-     </para>
+     </simpara>
     </listitem>
    </varlistentry>
   </variablelist>
  </refsect1>
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
-  <para>
+  <simpara>
    Returns the compressed data or &false; if an error occurred.
-  </para>
+  </simpara>
  </refsect1>
  <refsect1 role="seealso">
   &reftitle.seealso;
diff --git a/reference/lzf/functions/lzf-decompress.xml b/reference/lzf/functions/lzf-decompress.xml
index 56f51aa3620a..af37ed29b193 100644
--- a/reference/lzf/functions/lzf-decompress.xml
+++ b/reference/lzf/functions/lzf-decompress.xml
@@ -14,10 +14,10 @@
    <type>string</type><methodname>lzf_decompress</methodname>
    <methodparam><type>string</type><parameter>data</parameter></methodparam>
   </methodsynopsis>
-  <para>
+  <simpara>
    <function>lzf_compress</function> decompresses the given
    <parameter>data</parameter> string containing lzf encoded data.
-  </para>
+  </simpara>
  </refsect1>
  <refsect1 role="parameters">
   &reftitle.parameters;
@@ -25,18 +25,18 @@
    <varlistentry>
     <term><parameter>data</parameter></term>
     <listitem>
-     <para>
+     <simpara>
       The compressed string.
-     </para>
+     </simpara>
     </listitem>
    </varlistentry>
   </variablelist>
  </refsect1>
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
-  <para>
+  <simpara>
    Returns the decompressed data or &false; if an error occurred.
-  </para>
+  </simpara>
  </refsect1>
  <refsect1 role="seealso">
   &reftitle.seealso;
diff --git a/reference/lzf/functions/lzf-optimized-for.xml b/reference/lzf/functions/lzf-optimized-for.xml
index ac3debe64f98..c7e694995b52 100644
--- a/reference/lzf/functions/lzf-optimized-for.xml
+++ b/reference/lzf/functions/lzf-optimized-for.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
 <!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
-<refentry xml:id="function.lzf-optimized-for" xmlns="http://docbook.org/ns/docbook">
+<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.lzf-optimized-for">
  <refnamediv>
   <refname>lzf_optimized_for</refname>
   <refpurpose>
@@ -14,9 +14,9 @@
    <type>int</type><methodname>lzf_optimized_for</methodname>
    <void/>
   </methodsynopsis>
-  <para>
+  <simpara>
    Determines what was LZF extension optimized for during compilation.
-  </para>
+  </simpara>
  </refsect1>
 
  <refsect1 role="parameters">
@@ -26,9 +26,9 @@
 
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
-  <para>
+  <simpara>
    Returns 1 if LZF was optimized for speed, 0 for compression.
-  </para>
+  </simpara>
  </refsect1>
 </refentry>
 <!-- Keep this comment at the end of the file
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.