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

Re: Bug#287839: ITP: mxml -- small XML parsing library



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Marcelo E. Magallon" <mmagallo@debian.org> writes:

> On Fri, Dec 31, 2021 at 10:38:46AM -0300, Eduardo Marcel Macan wrote:
>
>  >     Mini-XML is a small XML parsing library that you can use to
>  >     read XML and XML-like data files in your application without
>  >     requiring large non-standard libraries.  Mini-XML only
>  >     requires an ANSI C compatible compiler (GCC works, as do
>  >     most vendors' ANSI C compilers) and a "make" program.
>
>  You mean unlike libxml2?
>
>     Package: libxml2
>     Depends: libc6 (>= 2.3.2.ds1-4), zlib1g (>= 1:1.2.1)
>
>  I wonder at which other library is upstream taking shots... not Xerces
>  and not libxmlparse.
>
>  You might want to include relevant information, like (lack of)
>  validation, external loading, UTF-8, namespaces and the like.

mxml is intended to be minimal, as a counter to libxml2 bloat (and it
*is* a bloated monster).

It was deliberately designed to implement *only* the libxml2 tree
interface.  Its first use was in libgimpprint to remove our libxml2
dependency, and provide us with an fast, lightweight, embeddable XML
parser.  Personally, I'm very happy with it.  It might not be
"fully-featured", but it does everything most people use libxml2 for,
and in just 12 KiB compared with the 1 MiB monster that is libxml2!!

I would suggest to the OP that you provide a static version, since
many of us do use it linked statically.


Regards,
Roger

- -- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFB1If5VcFcaSW/uEgRApgwAJ9hYrcrZl33zaD/hg4O6hSmsRYBYwCfcmJx
xvv2vnXZ5s4su7hNFy8h55o=
=wnaU
-----END PGP SIGNATURE-----



Reply to: