1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-11 05:17:37 +03:00

Redirect links to xmlsoft.org

Documentation and releases are now available on gitlab.gnome.org.
This commit is contained in:
Nick Wellnhofer 2022-02-13 22:52:53 +01:00
parent 4f2693a1ef
commit 1089111142
25 changed files with 50 additions and 79 deletions

View File

@ -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)

9
NEWS
View File

@ -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),

6
README
View File

@ -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

View File

@ -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>

View File

@ -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>

View File

@ -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"

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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.

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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");

View File

@ -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@

View File

@ -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>

View File

@ -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

View File

@ -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,

View File

@ -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"

View File

@ -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)