Re: [xml] updating libxml2



Tony Baldarelli schrieb:

  I have not updating libxml2 in quite a long time, so I had some
  questions about updating it:

1.       According to "xml2-config -version", I am at version 2.4.19.
Is this the libxml2 version I am using?

Probably yes. 2.4.19 is seven years old. Newest is 2.7.3.

If not, how do I retrieve that information?  It has been quite a few
years.

milu colinux:~/xpg > xml2-config --version
2.7.2

milu colinux:~/xpg > xmllint --version
xmllint: using libxml version 20702
   compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1
FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv
ISO8859X Unicode Regexps Automata Expr Schemas Schematron Modules Debug
Zlib

milu colinux:~/xpg > xsltproc --version
Using libxml 20702, libxslt 10124 and libexslt 813
xsltproc was compiled against libxml 20702, libxslt 10124 and libexslt 813
libxslt 10124 was compiled against libxml 20702
libexslt 813 was compiled against libxml 20702

2.       What dangers should I be aware of, at a high level?  For
instance, should I backup my current libxml2 instance before doing it?

You don't need to do that if you install your new version from source
and compile with "--prefix=/usr/local/my-new-libxml2", or probably just
"--prefix=/usr/local".

3.       I am thinking it will just overwrite my current libxml2.  Is
this correct?

Not necessarily, see #2.

4.       Will this include a new and improved version of xmllint?

You could take a look at the change log to find out. Or maybe just give
it a try.

Michael Ludwig



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]