1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-23 01:52:48 +03:00
Files
libxml2/python
Nick Wellnhofer db8b9722cb parser: Deprecate global parser options
Note that setting global options has no effect anyway when using any of
the modern parser API functions which take an option argument like
xmlReadMemory or when using xmlCtxtUseOptions.

Global options only have an effect when using old API functions
xmlParse* or xmlSAXParse* or when using an xmlParserCtxt without calling
xmlCtxtUseOptions.

Unfortunately, many downstream projects still modify global parser
options often without realizing that it has no effect. If necessary,
switch to the modern API. Then you can safely remove all code that
changes global options.

Here's a list of deprecated functions and global variables together with
the corresponding parser options.

- xmlSubstituteEntitiesDefault, xmlSubstituteEntitiesDefaultValue
  Parser option XML_PARSE_NOENT

- xmlKeepBlanksDefault, xmlKeepBlanksDefaultValue
  Inverse of parser option XML_PARSE_NOBLANKS

- xmlPedanticParserDefault, xmlPedanticParserDefaultValue
  Parser option XML_PARSE_PEDANTIC

- xmlLineNumbersDefault, xmlLineNumbersDefaultValue
  Always enabled by new API

- xmlDoValidityCheckingDefaultValue
  Parser option XML_PARSE_DTDVALID

- xmlGetWarningsDefaultValue
  Inverse of parser option XML_PARSE_NOWARNING

- xmlLoadExtDtdDefaultValue
  Parser options XML_PARSE_DTDLOAD and XML_PARSE_DTDATTR
2023-09-20 22:06:49 +02:00
..
2023-08-29 18:43:10 +02:00
2020-03-08 17:41:53 +01:00
2023-09-19 17:35:09 +02:00
2020-03-08 17:41:53 +01:00
2022-12-21 22:30:25 +01:00
2022-02-13 23:10:00 +01:00
2022-12-07 13:21:12 +00:00
2023-09-19 17:35:09 +02:00

		Module libxml2-python
		=====================

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:
    https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home
    and
    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:
    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
sources linked from the web pages, or as part of your set of
packages provided with your operating system.

NOTE:
this module distribution is not the primary distribution
of the libxml2 and libxslt Python binding code, but as 
the Python way of packaging those for non-Linux systems.
The main sources are the libxml2 and libxslt tar.gz found on
the site. One side effect is that the official RPM packages for
those modules are not generated from the libxml2-python
distributions but as part of the normal RPM packaging of
those two libraries.
The RPM packages can be found at:
    http://rpmfind.net/linux/rpm2html/search.php?query=libxml2-python
    http://rpmfind.net/linux/rpm2html/search.php?query=libxslt-python

Daniel Veillard