[DOC-CVS] [doc-en] master: ssdeep : 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-25T16:21:04Z

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

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

Changed paths:
  M  reference/ssdeep/book.xml
  M  reference/ssdeep/configure.xml
  M  reference/ssdeep/functions/ssdeep-fuzzy-compare.xml
  M  reference/ssdeep/functions/ssdeep-fuzzy-hash-filename.xml
  M  reference/ssdeep/functions/ssdeep-fuzzy-hash.xml
  M  reference/ssdeep/setup.xml


Diff:

diff --git a/reference/ssdeep/book.xml b/reference/ssdeep/book.xml
index 2c082fb7f765..198cd3fe3913 100644
--- a/reference/ssdeep/book.xml
+++ b/reference/ssdeep/book.xml
@@ -1,25 +1,25 @@
 <?xml version="1.0" encoding="utf-8"?>
-<book xml:id="book.ssdeep" 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.ssdeep">
  <?phpdoc extension-membership="pecl" ?>
  <title>ssdeep Fuzzy Hashing</title>
  <titleabbrev>ssdeep</titleabbrev>
 
  <preface xml:id="intro.ssdeep">
   &reftitle.intro;
-  <para>
+  <simpara>
    ssdeep is a utility for creating and comparing fuzzy hashes or
    <link xlink:href="&url.ssdeep.ctph;">context-triggered piecewise
    hashing</link>.
-  </para>
-  <para>
+  </simpara>
+  <simpara>
    Fuzzy hashing can match signatures which have "...sequences of identical
    bytes in the same order, although bytes in between these sequences
    may be different in both content and length" (<link xlink:href="&url.ssdeep.libssdeep;">
    ssdeep project page</link>).
-  </para>
-  <para>
+  </simpara>
+  <simpara>
    This extension provides functions for creating and comparing fuzzy hashes.
-  </para>
+  </simpara>
  </preface>
 
  &reference.ssdeep.setup;
diff --git a/reference/ssdeep/configure.xml b/reference/ssdeep/configure.xml
index cada36da10d2..3dd67e0c645a 100644
--- a/reference/ssdeep/configure.xml
+++ b/reference/ssdeep/configure.xml
@@ -1,17 +1,14 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-
-<section xml:id="ssdeep.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="ssdeep.installation">
  &reftitle.install;
 
- <para>
+ <simpara>
   &pecl.info;
   <link xlink:href="&url.pecl.package;ssdeep">&url.pecl.package;ssdeep</link>
- </para>
+ </simpara>
 
 </section>
-
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
diff --git a/reference/ssdeep/functions/ssdeep-fuzzy-compare.xml b/reference/ssdeep/functions/ssdeep-fuzzy-compare.xml
index f82962a4ef36..797b2bcac424 100644
--- a/reference/ssdeep/functions/ssdeep-fuzzy-compare.xml
+++ b/reference/ssdeep/functions/ssdeep-fuzzy-compare.xml
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-
-<refentry xml:id="function.ssdeep-fuzzy-compare" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.ssdeep-fuzzy-compare">
  <refnamediv>
   <refname>ssdeep_fuzzy_compare</refname>
   <refpurpose>Calculates the match score between two fuzzy hash signatures</refpurpose>
@@ -14,12 +13,12 @@
    <methodparam><type>string</type><parameter>signature1</parameter></methodparam>
    <methodparam><type>string</type><parameter>signature2</parameter></methodparam>
   </methodsynopsis>
-  <para>
+  <simpara>
    Calculates the match score between <parameter>signature1</parameter>
    and <parameter>signature2</parameter> using <link xlink:href="&url.ssdeep.ctph;">
    context-triggered piecewise hashing</link>, and returns the match
    score.
-  </para>
+  </simpara>
 
  </refsect1>
 
@@ -29,17 +28,17 @@
    <varlistentry>
     <term><parameter>signature1</parameter></term>
     <listitem>
-     <para>
+     <simpara>
       The first fuzzy hash signature string.
-     </para>
+     </simpara>
     </listitem>
    </varlistentry>
    <varlistentry>
     <term><parameter>signature2</parameter></term>
     <listitem>
-     <para>
+     <simpara>
       The second fuzzy hash signature string.
-     </para>
+     </simpara>
     </listitem>
    </varlistentry>
   </variablelist>
@@ -47,14 +46,13 @@
 
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
-  <para>
-   Returns an integer from 0 to 100 on success, &false; otherwise. 
-  </para>
+  <simpara>
+   Returns an integer from 0 to 100 on success, &false; otherwise.
+  </simpara>
  </refsect1>
 
 
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
diff --git a/reference/ssdeep/functions/ssdeep-fuzzy-hash-filename.xml b/reference/ssdeep/functions/ssdeep-fuzzy-hash-filename.xml
index c7ee1378e5c4..7de46bd82be7 100644
--- a/reference/ssdeep/functions/ssdeep-fuzzy-hash-filename.xml
+++ b/reference/ssdeep/functions/ssdeep-fuzzy-hash-filename.xml
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-
-<refentry xml:id="function.ssdeep-fuzzy-hash-filename" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.ssdeep-fuzzy-hash-filename">
  <refnamediv>
   <refname>ssdeep_fuzzy_hash_filename</refname>
   <refpurpose>Create a fuzzy hash from a file</refpurpose>
@@ -13,12 +12,12 @@
    <type>string</type><methodname>ssdeep_fuzzy_hash_filename</methodname>
    <methodparam><type>string</type><parameter>file_name</parameter></methodparam>
   </methodsynopsis>
-  <para>
-   <function>ssdeep_fuzzy_hash_filename</function> calculates the hash 
-   of the file specified by <parameter>file_name</parameter> using 
-   <link xlink:href="&url.ssdeep.ctph;">context-triggered piecewise 
+  <simpara>
+   <function>ssdeep_fuzzy_hash_filename</function> calculates the hash
+   of the file specified by <parameter>file_name</parameter> using
+   <link xlink:href="&url.ssdeep.ctph;">context-triggered piecewise
    hashing</link>, and returns that hash.
-  </para>
+  </simpara>
 
  </refsect1>
 
@@ -28,9 +27,9 @@
    <varlistentry>
     <term><parameter>file_name</parameter></term>
     <listitem>
-     <para>
+     <simpara>
       The filename of the file to hash.
-     </para>
+     </simpara>
     </listitem>
    </varlistentry>
   </variablelist>
@@ -38,14 +37,13 @@
 
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
-  <para>
+  <simpara>
    Returns a string on success, &false; otherwise.
-  </para>
+  </simpara>
  </refsect1>
 
 
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
diff --git a/reference/ssdeep/functions/ssdeep-fuzzy-hash.xml b/reference/ssdeep/functions/ssdeep-fuzzy-hash.xml
index c0e7ba342ed0..4c2aced18bb0 100644
--- a/reference/ssdeep/functions/ssdeep-fuzzy-hash.xml
+++ b/reference/ssdeep/functions/ssdeep-fuzzy-hash.xml
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-
-<refentry xml:id="function.ssdeep-fuzzy-hash" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.ssdeep-fuzzy-hash">
  <refnamediv>
   <refname>ssdeep_fuzzy_hash</refname>
   <refpurpose>Create a fuzzy hash from a string</refpurpose>
@@ -13,11 +12,11 @@
    <type>string</type><methodname>ssdeep_fuzzy_hash</methodname>
    <methodparam><type>string</type><parameter>to_hash</parameter></methodparam>
   </methodsynopsis>
-  <para>
-   <function>ssdeep_fuzzy_hash</function> calculates the hash of 
+  <simpara>
+   <function>ssdeep_fuzzy_hash</function> calculates the hash of
    <parameter>to_hash</parameter> using <link xlink:href="&url.ssdeep.ctph;">
    context-triggered piecewise hashing</link>, and returns that hash.
-  </para>
+  </simpara>
  </refsect1>
 
  <refsect1 role="parameters">
@@ -26,9 +25,9 @@
    <varlistentry>
     <term><parameter>to_hash</parameter></term>
     <listitem>
-     <para>
+     <simpara>
       The input string.
-     </para>
+     </simpara>
     </listitem>
    </varlistentry>
   </variablelist>
@@ -36,14 +35,13 @@
 
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
-  <para>
+  <simpara>
    Returns a string on success, &false; otherwise.
-  </para>
+  </simpara>
  </refsect1>
 
 
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
diff --git a/reference/ssdeep/setup.xml b/reference/ssdeep/setup.xml
index 0ba014134b51..f1e004cb902b 100644
--- a/reference/ssdeep/setup.xml
+++ b/reference/ssdeep/setup.xml
@@ -1,29 +1,27 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-
-<chapter xml:id="ssdeep.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="ssdeep.setup">
  &reftitle.setup;
 
  <section xml:id="ssdeep.requirements">
   &reftitle.required;
-  <para>
+  <simpara>
    This extension requires the <link xlink:href="&url.ssdeep.libssdeep;">ssdeep</link> library.
-  </para>
+  </simpara>
  </section>
 
  <section xml:id="ssdeep.installation">
   &reftitle.install;
-  <para>
+  <simpara>
    &pecl.moved;
-  </para>
-  <para>
+  </simpara>
+  <simpara>
    &pecl.info;
    <link xlink:href="&url.pecl.package;ssdeep">&url.pecl.package;ssdeep</link>.
-  </para>
+  </simpara>
  </section>
 
 </chapter>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
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.