summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-02-13 22:52:53 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2022-02-13 23:10:00 +0100
commit1089111142e7df96e14b2113235860cc4e7fa54e (patch)
treefb6f04ae2efc156046338fd2a352b83d05baa1e1
parent4f2693a1efb499c18d909149b8141f40c190fc2f (diff)
downloadlibxml2-1089111142e7df96e14b2113235860cc4e7fa54e.tar.gz
Redirect links to xmlsoft.org
Documentation and releases are now available on gitlab.gnome.org.
-rw-r--r--CMakeLists.txt2
-rw-r--r--NEWS9
-rw-r--r--README6
-rw-r--r--doc/devhelp/html.xsl9
-rw-r--r--doc/devhelp/index.html9
-rw-r--r--doc/docdescr.doc2
-rw-r--r--doc/news.xsl3
-rw-r--r--doc/tutorial/ar01s02.html10
-rw-r--r--doc/tutorial/ar01s04.html4
-rw-r--r--doc/tutorial/ar01s05.html2
-rw-r--r--doc/tutorial/ar01s06.html2
-rw-r--r--doc/tutorial/ar01s07.html2
-rw-r--r--doc/tutorial/ar01s08.html2
-rw-r--r--doc/tutorial/index.html2
-rw-r--r--doc/tutorial/xmltutorial.xml28
-rw-r--r--doc/xmlcatalog_man.xml4
-rw-r--r--doc/xmllint.xml6
-rw-r--r--doc/xsa.xsl2
-rw-r--r--libxml.m43
-rw-r--r--libxml.spec.in6
-rw-r--r--libxml2.doap1
-rw-r--r--python/README8
-rwxr-xr-xpython/setup.py.in2
-rw-r--r--win32/libxml2.rc2
-rw-r--r--xmllint.c3
25 files changed, 50 insertions, 79 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7e1aa08d..66928673 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -117,7 +117,7 @@ set(PACKAGE_BUGREPORT "xml@gnome.org")
set(PACKAGE_NAME "libxml2")
set(PACKAGE_STRING "libxml2 ${VERSION}")
set(PACKAGE_TARNAME "libxml2")
-set(PACKAGE_URL "http://www.xmlsoft.org/")
+set(PACKAGE_URL "https://gitlab.gnome.org/GNOME/libxml2")
set(PACKAGE_VERSION ${VERSION})
if(LIBLZMA_FOUND)
diff --git a/NEWS b/NEWS
index b55c63b2..dfd769b4 100644
--- a/NEWS
+++ b/NEWS
@@ -1,15 +1,6 @@
NEWS file for libxml2
- Note that this is automatically generated from the news webpage at:
- http://xmlsoft.org/news.html
-
-The change log at
-ChangeLog.html
- describes the recents commits
-to the GIT at
-https://gitlab.gnome.org/GNOME/libxml2
- code base.Here is the list of public releases:
v2.9.9: Jan 03 2019:
- Security:
CVE-2018-9251 CVE-2018-14567 Fix infinite loop in LZMA decompression (Nick Wellnhofer),
diff --git a/README b/README
index 49575178..9bffc5eb 100644
--- a/README
+++ b/README
@@ -2,7 +2,7 @@
XML toolkit from the GNOME project
Full documentation is available on-line at
- http://xmlsoft.org/
+ https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home
This code is released under the MIT Licence see the Copyright file.
@@ -22,8 +22,8 @@ To assert build quality:
the proper functioning of libxml2 main APIs while testapi does
a full coverage check. Report failures to the list.
-To report bugs, follow the instructions at:
- http://xmlsoft.org/bugs.html
+Bugs should be reported at:
+ https://gitlab.gnome.org/GNOME/libxml2/-/issues
A mailing-list xml@gnome.org is available, to subscribe:
http://mail.gnome.org/mailman/listinfo/xml
diff --git a/doc/devhelp/html.xsl b/doc/devhelp/html.xsl
index 1720b298..da22621e 100644
--- a/doc/devhelp/html.xsl
+++ b/doc/devhelp/html.xsl
@@ -561,8 +561,8 @@ under the <a href="http://www.opensource.org/licenses/mit-license.html">MIT
License</a>. XML itself is a metalanguage to design markup languages, i.e.
text language where semantic and structure are added to the content using
extra "markup" information enclosed between angle brackets. HTML is the most
-well-known markup language. Though the library is written in C <a href="http://xmlsoft.org/python.html">a variety of language bindings</a> make it available in
-other environments.</p>
+well-known markup language. Though the library is written in C, a variety of
+language bindings make it available in other environments.</p>
<p>Libxml2 implements a number of existing standards related to markup
languages:</p>
<ul><li>the XML standard: <a href="http://www.w3.org/TR/REC-xml">http://www.w3.org/TR/REC-xml</a></li>
@@ -587,11 +587,6 @@ and the Exclusive XML Canonicalization CR draft <a href="http://www.w3.org/TR/xm
<li>W3C <a href="http://www.w3.org/TR/xml-id/">xml:id</a> Working Draft 7
April 2004</li>
</ul>
- <p> As a result the <a href="general.html">libxml2 API</a> is very
- large. If you get lost searching for some specific API use
- <a href="http://xmlsoft.org/search.php">the online search
- engine</a> hosted on <a href="http://xmlsoft.org/">xmlsoft.org</a>
- the libxml2 and libxslt project page. </p>
</body>
</html>
</xsl:document>
diff --git a/doc/devhelp/index.html b/doc/devhelp/index.html
index 26c2839b..ae6c49ee 100644
--- a/doc/devhelp/index.html
+++ b/doc/devhelp/index.html
@@ -31,8 +31,8 @@ under the <a href="http://www.opensource.org/licenses/mit-license.html">MIT
License</a>. XML itself is a metalanguage to design markup languages, i.e.
text language where semantic and structure are added to the content using
extra "markup" information enclosed between angle brackets. HTML is the most
-well-known markup language. Though the library is written in C <a href="http://xmlsoft.org/python.html">a variety of language bindings</a> make it available in
-other environments.</p>
+well-known markup language. Though the library is written in C, a variety of
+language bindings make it available in other environments.</p>
<p>Libxml2 implements a number of existing standards related to markup
languages:</p>
<ul>
@@ -58,10 +58,5 @@ and the Exclusive XML Canonicalization CR draft <a href="http://www.w3.org/TR/xm
<li>W3C <a href="http://www.w3.org/TR/xml-id/">xml:id</a> Working Draft 7
April 2004</li>
</ul>
- <p> As a result the <a href="general.html">libxml2 API</a> is very
- large. If you get lost searching for some specific API use
- <a href="http://xmlsoft.org/search.php">the online search
- engine</a> hosted on <a href="http://xmlsoft.org/">xmlsoft.org</a>
- the libxml2 and libxslt project page. </p>
</body>
</html>
diff --git a/doc/docdescr.doc b/doc/docdescr.doc
index 3fec94a1..38a65000 100644
--- a/doc/docdescr.doc
+++ b/doc/docdescr.doc
@@ -47,7 +47,7 @@ libxml-doc.el Control script for displaying docs under emacs
Given the above files, the generation of the complete documentation (as
-provided on the web by xmlsoft.org) can be created with the following steps:
+provided on the web) can be created with the following steps:
NOTE: Steps 1 through 7 are performed with the command "make rebuild";
Steps 3 and 5 through 7 are performed with the command "make all"
diff --git a/doc/news.xsl b/doc/news.xsl
index 50089eb8..97b8e54a 100644
--- a/doc/news.xsl
+++ b/doc/news.xsl
@@ -8,9 +8,6 @@
<xsl:text>
NEWS file for libxml2
- Note that this is automatically generated from the news webpage at:
- http://xmlsoft.org/news.html
-
</xsl:text>
<xsl:apply-templates select="//xhtml:h3[1]/.."/>
</xsl:template>
diff --git a/doc/tutorial/ar01s02.html b/doc/tutorial/ar01s02.html
index 1e30a98b..8aebcec3 100644
--- a/doc/tutorial/ar01s02.html
+++ b/doc/tutorial/ar01s02.html
@@ -2,13 +2,13 @@
will encounter repeatedly, hiding the messy stuff so you do not have to deal
with it unless you have some specific need.</p><p>
</p><div class="variablelist"><dl><dt><span class="term"><a class="indexterm" name="id2526186"></a>
-<a href="http://xmlsoft.org/html/libxml-tree.html#XMLCHAR" target="_top">xmlChar</a></span></dt><dd><p>A basic replacement for char, a byte in a UTF-8 encoded
+<a href="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLCHAR" target="_top">xmlChar</a></span></dt><dd><p>A basic replacement for char, a byte in a UTF-8 encoded
string. If your data uses another encoding, it must be converted to
UTF-8 for use with <span class="application">libxml's</span>
- functions. More information on encoding is available on the <a href="http://www.xmlsoft.org/encoding.html" target="_top"><span class="application">libxml</span> encoding support web page</a>.</p></dd><dt><span class="term"><a class="indexterm" name="id2526232"></a>
- <a href="http://xmlsoft.org/html/libxml-tree.html#XMLDOC" target="_top">xmlDoc</a></span></dt><dd><p>A structure containing the tree created by a parsed doc. <a href="http://xmlsoft.org/html/libxml-tree.html#XMLDOCPTR" target="_top">xmlDocPtr</a>
+ functions. More information on encoding is available on the <a href="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/Encodings-support" target="_top"><span class="application">libxml</span> encoding support web page</a>.</p></dd><dt><span class="term"><a class="indexterm" name="id2526232"></a>
+ <a href="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLDOC" target="_top">xmlDoc</a></span></dt><dd><p>A structure containing the tree created by a parsed doc. <a href="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLDOCPTR" target="_top">xmlDocPtr</a>
is a pointer to the structure.</p></dd><dt><span class="term"><a class="indexterm" name="id2526266"></a>
-<a href="http://xmlsoft.org/html/libxml-tree.html#XMLNODEPTR" target="_top">xmlNodePtr</a>
- and <a href="http://xmlsoft.org/html/libxml-tree.html#XMLNODE" target="_top">xmlNode</a></span></dt><dd><p>A structure containing a single node. <a href="http://xmlsoft.org/html/libxml-tree.html#XMLNODEPTR" target="_top">xmlNodePtr</a>
+<a href="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLNODEPTR" target="_top">xmlNodePtr</a>
+ and <a href="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLNODE" target="_top">xmlNode</a></span></dt><dd><p>A structure containing a single node. <a href="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLNODEPTR" target="_top">xmlNodePtr</a>
is a pointer to the structure, and is used in traversing the document tree.</p></dd></dl></div><p>
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ar01s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Libxml Tutorial </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Parsing the file</td></tr></table></div></body></html>
diff --git a/doc/tutorial/ar01s04.html b/doc/tutorial/ar01s04.html
index 11492ebf..1acad38e 100644
--- a/doc/tutorial/ar01s04.html
+++ b/doc/tutorial/ar01s04.html
@@ -23,7 +23,7 @@ Retrieving the content of an element involves traversing the document
is the element that will contain the "keywords" we are
looking for. It uses the <span class="application">libxml</span> string
comparison
- function, <tt class="function"><a href="http://xmlsoft.org/html/libxml-parser.html#XMLSTRCMP" target="_top">xmlStrcmp</a></tt>. If there is a match, it calls the function <tt class="function">parseStory</tt>.</p></td></tr></table></div><p>
+ function, <tt class="function"><a href="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-parser.html#XMLSTRCMP" target="_top">xmlStrcmp</a></tt>. If there is a match, it calls the function <tt class="function">parseStory</tt>.</p></td></tr></table></div><p>
</p><p>
</p><pre class="programlisting">
void
@@ -48,7 +48,7 @@ parseStory (xmlDocPtr doc, xmlNodePtr cur) {
its contents. Remember that in <span class="acronym">XML</span>, the text
contained within an element is a child node of that element, so we
turn to <tt class="varname">cur-&gt;xmlChildrenNode</tt>. To retrieve it, we
- use the function <tt class="function"><a href="http://xmlsoft.org/html/libxml-tree.html#XMLNODELISTGETSTRING" target="_top">xmlNodeListGetString</a></tt>, which also takes the <tt class="varname">doc</tt> pointer as an argument. In this case, we just print it out.</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td colspan="2" align="left" valign="top"><p>Because <tt class="function">xmlNodeListGetString</tt> allocates
+ use the function <tt class="function"><a href="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLNODELISTGETSTRING" target="_top">xmlNodeListGetString</a></tt>, which also takes the <tt class="varname">doc</tt> pointer as an argument. In this case, we just print it out.</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td colspan="2" align="left" valign="top"><p>Because <tt class="function">xmlNodeListGetString</tt> allocates
memory for the string it returns, you must use
<tt class="function">xmlFree</tt> to free it.</p></td></tr></table></div></td></tr></table></div><p>
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ar01s03.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ar01s05.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Parsing the file </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Using XPath to Retrieve Element Content</td></tr></table></div></body></html>
diff --git a/doc/tutorial/ar01s05.html b/doc/tutorial/ar01s05.html
index 1c409252..919d4544 100644
--- a/doc/tutorial/ar01s05.html
+++ b/doc/tutorial/ar01s05.html
@@ -2,7 +2,7 @@
<span class="application">Libxml2</span> includes support for
use of <span class="application">XPath</span> expressions to retrieve sets of
nodes that match a specified criteria. Full documentation of the
- <span class="application">XPath</span> <span class="acronym">API</span> is <a href="http://xmlsoft.org/html/libxml-xpath.html" target="_top">here</a>.
+ <span class="application">XPath</span> <span class="acronym">API</span> is <a href="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-xpath.html" target="_top">here</a>.
</p><p><span class="application">XPath</span> allows searching through a document
for nodes that match specified criteria. In the example below we search
through a document for the contents of all <tt class="varname">keyword</tt>
diff --git a/doc/tutorial/ar01s06.html b/doc/tutorial/ar01s06.html
index c09e6efb..c710b98a 100644
--- a/doc/tutorial/ar01s06.html
+++ b/doc/tutorial/ar01s06.html
@@ -16,7 +16,7 @@ parseStory (xmlDocPtr doc, xmlNodePtr cur, char *keyword) {
return;
}
</pre><p>
- </p><div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left"><a href="#addkeyword"><img src="images/callouts/1.png" alt="1" border="0"></a> </td><td valign="top" align="left"><p>The <tt class="function"><a href="http://xmlsoft.org/html/libxml-tree.html#XMLNEWTEXTCHILD" target="_top">xmlNewTextChild</a></tt>
+ </p><div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left"><a href="#addkeyword"><img src="images/callouts/1.png" alt="1" border="0"></a> </td><td valign="top" align="left"><p>The <tt class="function"><a href="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLNEWTEXTCHILD" target="_top">xmlNewTextChild</a></tt>
function adds a new child element at the
current node pointer's location in the
tree, specified by <tt class="varname">cur</tt>.</p></td></tr></table></div><p>
diff --git a/doc/tutorial/ar01s07.html b/doc/tutorial/ar01s07.html
index fd5c4dd9..89e0bdbd 100644
--- a/doc/tutorial/ar01s07.html
+++ b/doc/tutorial/ar01s07.html
@@ -25,6 +25,6 @@ Writing an attribute is similar to writing text to a new element. In
<a name="addattributenode"></a><img src="images/callouts/2.png" alt="2" border="0"> newattr = xmlNewProp (newnode, "uri", uri);
</pre><p>
</p><div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left"><a href="#addreferencenode"><img src="images/callouts/1.png" alt="1" border="0"></a> </td><td valign="top" align="left"><p>First we add a new node at the location of the current node
- pointer, <tt class="varname">cur.</tt> using the <a href="http://xmlsoft.org/html/libxml-tree.html#XMLNEWTEXTCHILD" target="_top">xmlNewTextChild</a> function.</p></td></tr></table></div><p>
+ pointer, <tt class="varname">cur.</tt> using the <a href="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLNEWTEXTCHILD" target="_top">xmlNewTextChild</a> function.</p></td></tr></table></div><p>
</p><p>Once the node is added, the file is written to disk just as in the
previous example in which we added an element with text content.</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ar01s06.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ar01s08.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Writing element content </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Retrieving Attributes</td></tr></table></div></body></html>
diff --git a/doc/tutorial/ar01s08.html b/doc/tutorial/ar01s08.html
index 758f8116..d0f227e5 100644
--- a/doc/tutorial/ar01s08.html
+++ b/doc/tutorial/ar01s08.html
@@ -26,7 +26,7 @@ getReference (xmlDocPtr doc, xmlNodePtr cur) {
</pre><p>
</p><div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left"><a href="#getattributevalue"><img src="images/callouts/1.png" alt="1" border="0"></a> </td><td valign="top" align="left"><p>
- The key function is <tt class="function"><a href="http://xmlsoft.org/html/libxml-tree.html#XMLGETPROP" target="_top">xmlGetProp</a></tt>, which returns an
+ The key function is <tt class="function"><a href="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLGETPROP" target="_top">xmlGetProp</a></tt>, which returns an
<tt class="varname">xmlChar</tt> containing the attribute's value. In this case,
we just print it out.
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td colspan="2" align="left" valign="top"><p>
diff --git a/doc/tutorial/index.html b/doc/tutorial/index.html
index 51fd4818..8fb5897d 100644
--- a/doc/tutorial/index.html
+++ b/doc/tutorial/index.html
@@ -2,7 +2,7 @@
<span class="acronym">XML</span>, portable across a large number of platforms. This
tutorial provides examples of its basic functions.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="introduction"></a>Introduction</h2></div></div><div></div></div><p>Libxml is a C language library implementing functions for reading,
creating and manipulating <span class="acronym">XML</span> data. This tutorial
- provides example code and explanations of its basic functionality.</p><p>Libxml and more details about its use are available on <a href="http://www.xmlsoft.org/" target="_top">the project home page</a>. Included there is complete <a href="http://xmlsoft.org/html/libxml-lib.html" target="_top">
+ provides example code and explanations of its basic functionality.</p><p>Libxml and more details about its use are available on <a href="https://gitlab.gnome.org/GNOME/libxml2" target="_top">the project home page</a>. Included there is complete <a href="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/general.html" target="_top">
<span class="acronym">API</span> documentation</a>. This tutorial is not meant
to substitute for that complete documentation, but to illustrate the
functions needed to use the library to perform basic operations.
diff --git a/doc/tutorial/xmltutorial.xml b/doc/tutorial/xmltutorial.xml
index c8edecb9..08bcd5be 100644
--- a/doc/tutorial/xmltutorial.xml
+++ b/doc/tutorial/xmltutorial.xml
@@ -85,7 +85,7 @@
creating and manipulating <acronym>XML</acronym> data. This tutorial
provides example code and explanations of its basic functionality.</para>
<para>Libxml and more details about its use are available on <ulink
- url="http://www.xmlsoft.org/">the project home page</ulink>. Included there is complete <ulink url="http://xmlsoft.org/html/libxml-lib.html">
+ url="https://gitlab.gnome.org/GNOME/libxml2">the project home page</ulink>. Included there is complete <ulink url="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/general.html">
<acronym>API</acronym> documentation</ulink>. This tutorial is not meant
to substitute for that complete documentation, but to illustrate the
functions needed to use the library to perform basic operations.
@@ -132,23 +132,23 @@
<primary>xmlChar</primary>
</indexterm>
<ulink
- url="http://xmlsoft.org/html/libxml-tree.html#XMLCHAR">xmlChar</ulink></term>
+ url="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLCHAR">xmlChar</ulink></term>
<listitem>
<para>A basic replacement for char, a byte in a UTF-8 encoded
string. If your data uses another encoding, it must be converted to
UTF-8 for use with <application>libxml's</application>
functions. More information on encoding is available on the <ulink
- url="http://www.xmlsoft.org/encoding.html"><application>libxml</application> encoding support web page</ulink>.</para>
+ url="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/Encodings-support"><application>libxml</application> encoding support web page</ulink>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><indexterm>
<primary>xmlDoc</primary>
</indexterm>
- <ulink url="http://xmlsoft.org/html/libxml-tree.html#XMLDOC">xmlDoc</ulink></term>
+ <ulink url="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLDOC">xmlDoc</ulink></term>
<listitem>
<para>A structure containing the tree created by a parsed doc. <ulink
- url="http://xmlsoft.org/html/libxml-tree.html#XMLDOCPTR">xmlDocPtr</ulink>
+ url="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLDOCPTR">xmlDocPtr</ulink>
is a pointer to the structure.</para>
</listitem>
</varlistentry>
@@ -157,11 +157,11 @@
<primary>xmlNodePtr</primary>
</indexterm>
<ulink
- url="http://xmlsoft.org/html/libxml-tree.html#XMLNODEPTR">xmlNodePtr</ulink>
- and <ulink url="http://xmlsoft.org/html/libxml-tree.html#XMLNODE">xmlNode</ulink></term>
+ url="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLNODEPTR">xmlNodePtr</ulink>
+ and <ulink url="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLNODE">xmlNode</ulink></term>
<listitem>
<para>A structure containing a single node. <ulink
- url="http://xmlsoft.org/html/libxml-tree.html#XMLNODEPTR">xmlNodePtr</ulink>
+ url="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLNODEPTR">xmlNodePtr</ulink>
is a pointer to the structure, and is used in traversing the document tree.</para>
</listitem>
</varlistentry>
@@ -288,7 +288,7 @@ Retrieving the content of an element involves traversing the document
looking for. It uses the <application>libxml</application> string
comparison
function, <function><ulink
- url="http://xmlsoft.org/html/libxml-parser.html#XMLSTRCMP">xmlStrcmp</ulink></function>. If there is a match, it calls the function <function>parseStory</function>.</para>
+ url="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-parser.html#XMLSTRCMP">xmlStrcmp</ulink></function>. If there is a match, it calls the function <function>parseStory</function>.</para>
</callout>
</calloutlist>
</para>
@@ -326,7 +326,7 @@ parseStory (xmlDocPtr doc, xmlNodePtr cur) {
contained within an element is a child node of that element, so we
turn to <varname>cur-&gt;xmlChildrenNode</varname>. To retrieve it, we
use the function <function><ulink
- url="http://xmlsoft.org/html/libxml-tree.html#XMLNODELISTGETSTRING">xmlNodeListGetString</ulink></function>, which also takes the <varname>doc</varname> pointer as an argument. In this case, we just print it out.</para>
+ url="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLNODELISTGETSTRING">xmlNodeListGetString</ulink></function>, which also takes the <varname>doc</varname> pointer as an argument. In this case, we just print it out.</para>
<note>
<para>Because <function>xmlNodeListGetString</function> allocates
memory for the string it returns, you must use
@@ -344,7 +344,7 @@ parseStory (xmlDocPtr doc, xmlNodePtr cur) {
use of <application>XPath</application> expressions to retrieve sets of
nodes that match a specified criteria. Full documentation of the
<application>XPath</application> <acronym>API</acronym> is <ulink
- url="http://xmlsoft.org/html/libxml-xpath.html">here</ulink>.
+ url="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-xpath.html">here</ulink>.
</para>
<para><application>XPath</application> allows searching through a document
for nodes that match specified criteria. In the example below we search
@@ -452,7 +452,7 @@ parseStory (xmlDocPtr doc, xmlNodePtr cur, char *keyword) {
<calloutlist>
<callout arearefs="addkeyword">
<para>The <function><ulink
- url="http://xmlsoft.org/html/libxml-tree.html#XMLNEWTEXTCHILD">xmlNewTextChild</ulink></function>
+ url="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLNEWTEXTCHILD">xmlNewTextChild</ulink></function>
function adds a new child element at the
current node pointer's location in the
tree, specified by <varname>cur</varname>.</para>
@@ -515,7 +515,7 @@ Writing an attribute is similar to writing text to a new element. In
<callout arearefs="addreferencenode">
<para>First we add a new node at the location of the current node
pointer, <varname>cur.</varname> using the <ulink
- url="http://xmlsoft.org/html/libxml-tree.html#XMLNEWTEXTCHILD">xmlNewTextChild</ulink> function.</para>
+ url="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLNEWTEXTCHILD">xmlNewTextChild</ulink> function.</para>
</callout>
</calloutlist>
</para>
@@ -562,7 +562,7 @@ getReference (xmlDocPtr doc, xmlNodePtr cur) {
<callout arearefs="getattributevalue">
<para>
The key function is <function><ulink
- url="http://xmlsoft.org/html/libxml-tree.html#XMLGETPROP">xmlGetProp</ulink></function>, which returns an
+ url="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-tree.html#XMLGETPROP">xmlGetProp</ulink></function>, which returns an
<varname>xmlChar</varname> containing the attribute's value. In this case,
we just print it out.
<note>
diff --git a/doc/xmlcatalog_man.xml b/doc/xmlcatalog_man.xml
index ec9b190c..54d2dcfc 100644
--- a/doc/xmlcatalog_man.xml
+++ b/doc/xmlcatalog_man.xml
@@ -437,7 +437,7 @@
<para><citerefentry>
<refentrytitle>libxml</refentrytitle>
<manvolnum>3</manvolnum>
- </citerefentry> web page <ulink url="http://www.xmlsoft.org/"/>
+ </citerefentry> web page <ulink url="https://gitlab.gnome.org/GNOME/libxml2"/>
</para>
</listitem>
<listitem>
@@ -445,7 +445,7 @@
<refentrytitle>libxml</refentrytitle>
<manvolnum>3</manvolnum>
</citerefentry> catalog support web page
- at <ulink url="http://www.xmlsoft.org/catalog.html"/>
+ at <ulink url="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/Catalog-support"/>
</para>
</listitem>
<listitem>
diff --git a/doc/xmllint.xml b/doc/xmllint.xml
index 7d83827c..de2d91bf 100644
--- a/doc/xmllint.xml
+++ b/doc/xmllint.xml
@@ -923,11 +923,7 @@
<para><citerefentry>
<refentrytitle>libxml</refentrytitle>
<manvolnum>3</manvolnum>
- </citerefentry> web page <ulink url="http://www.xmlsoft.org/"/>
- </para>
- </listitem>
- <listitem>
- <para>W3C <acronym>XSLT</acronym> page <ulink url="http://www.w3.org/TR/xslt"/>
+ </citerefentry> web page <ulink url="https://gitlab.gnome.org/GNOME/libxml2"/>
</para>
</listitem>
</itemizedlist>
diff --git a/doc/xsa.xsl b/doc/xsa.xsl
index 30151d46..05d64de8 100644
--- a/doc/xsa.xsl
+++ b/doc/xsa.xsl
@@ -22,7 +22,7 @@
<name>libxml2</name>
<version><xsl:value-of select="substring-before(//xhtml:h3[2], ':')"/></version>
<last-release><xsl:value-of select="substring-after(//xhtml:h3[2], ':')"/></last-release>
- <info-url>http://xmlsoft.org/</info-url>
+ <info-url>https://gitlab.gnome.org/GNOME/libxml2</info-url>
<changes>
<xsl:apply-templates select="//xhtml:h3[2]/following-sibling::*[1]"/>
</changes>
diff --git a/libxml.m4 b/libxml.m4
index 09de9fe2..fc7790c3 100644
--- a/libxml.m4
+++ b/libxml.m4
@@ -122,9 +122,8 @@ main()
{
printf("\n*** An old version of libxml (%d.%d.%d) was found.\n",
xml_major_version, xml_minor_version, xml_micro_version);
- printf("*** You need a version of libxml newer than %d.%d.%d. The latest version of\n",
+ printf("*** You need a version of libxml newer than %d.%d.%d.\n",
major, minor, micro);
- printf("*** libxml is always available from ftp://ftp.xmlsoft.org.\n");
printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the xml2-config shell script is\n");
diff --git a/libxml.spec.in b/libxml.spec.in
index 11c29ea4..4fd7bd4f 100644
--- a/libxml.spec.in
+++ b/libxml.spec.in
@@ -6,7 +6,7 @@ Version: @VERSION@
Release: 1%{?dist}%{?extra_release}
License: MIT
Group: Development/Libraries
-Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
+Source: https://gitlab.gnome.org/GNOME/libxml2/-/releases/v%{version}/downloads/libxml2-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: python-devel
%if 0%{?with_python3}
@@ -15,7 +15,7 @@ BuildRequires: python3-devel
BuildRequires: zlib-devel
BuildRequires: pkgconfig
BuildRequires: xz-devel
-URL: http://xmlsoft.org/
+URL: https://gitlab.gnome.org/GNOME/libxml2
%description
This library allows to manipulate XML files. It includes support
@@ -205,5 +205,5 @@ rm -fr %{buildroot}
%changelog
* @RELDATE@ Daniel Veillard <veillard@redhat.com>
-- upstream release @VERSION@ see http://xmlsoft.org/news.html
+- upstream release @VERSION@
diff --git a/libxml2.doap b/libxml2.doap
index 32ac7dbe..14a653d5 100644
--- a/libxml2.doap
+++ b/libxml2.doap
@@ -18,7 +18,6 @@ Libxml2 is known to be very portable, the library should build and work
without serious troubles on a variety of systems (Linux, Unix, Windows,
CygWin, MacOS, MacOS X, RISC Os, OS/2, VMS, QNX, MVS, VxWorks,
...)</description>
- <homepage rdf:resource="http://xmlsoft.org/" />
<mailing-list rdf:resource="http://mail.gnome.org/mailman/listinfo/xml" />
<category rdf:resource="http://api.gnome.org/doap-extensions#infrastructure" />
<programming-language>C</programming-language>
diff --git a/python/README b/python/README
index b46eee40..7e4329a5 100644
--- a/python/README
+++ b/python/README
@@ -4,14 +4,14 @@
This is the libxml2 python module, providing access to the
libxml2 and libxslt (if available) libraries. For general
informationss on those XML and XSLT libraries check their
-web pages at :
- http://xmlsoft.org/
+web pages at:
+ https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home
and
- http://xmlsoft.org/XSLT/
+ https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home
The latest version of the sources for this module and the
associated libraries can be found at:
- ftp://xmlsoft.org/
+ https://gitlab.gnome.org/GNOME/libxml2/-/releases
Binaries packages of the libxml2 and libxslt libraries can
be found either on the FTP site for Linux, from external
diff --git a/python/setup.py.in b/python/setup.py.in
index 012eb59a..4a997b4e 100755
--- a/python/setup.py.in
+++ b/python/setup.py.in
@@ -258,7 +258,7 @@ setup (name = "libxml2-python",
description = descr,
author = "Daniel Veillard",
author_email = "veillard@redhat.com",
- url = "http://xmlsoft.org/python.html",
+ url = "https://gitlab.gnome.org/GNOME/libxml2",
licence="MIT Licence",
py_modules=modules,
ext_modules=extens,
diff --git a/win32/libxml2.rc b/win32/libxml2.rc
index c774a5ee..39480f47 100644
--- a/win32/libxml2.rc
+++ b/win32/libxml2.rc
@@ -26,7 +26,7 @@ BEGIN
VALUE "OriginalFilename", "libxml2.dll\0"
VALUE "ProductName", "libxml2\0"
VALUE "ProductVersion", LIBXML_DOTTED_VERSION "\0"
- VALUE "Comments", "For more information visit http://xmlsoft.org/\0"
+ VALUE "Comments", "For more information visit https://gitlab.gnome.org/GNOME/libxml2\0"
END
END
BLOCK "VarFileInfo"
diff --git a/xmllint.c b/xmllint.c
index f24aa0e9..ee6bfdc5 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -3144,8 +3144,7 @@ static void usage(FILE *f, const char *name) {
fprintf(f, "\t--xpath expr: evaluate the XPath expression, imply --noout\n");
#endif
- fprintf(f, "\nLibxml project home page: http://xmlsoft.org/\n");
- fprintf(f, "To report bugs or get some help check: http://xmlsoft.org/bugs.html\n");
+ fprintf(f, "\nLibxml project home page: https://gitlab.gnome.org/GNOME/libxml2\n");
}
static void registerNode(xmlNodePtr node)