Libxml2 is now more favoured xml backend than unmaintained expat. It should be used by default Reproducible: Always
What do you base this assumption on ? Please, give a reference to fontconfig docs or a recent post of the fontconfig devs.
Where do you have this information from. Please add a quote and reopen bug.
the comment in the ebuild says the exact opposite, and every distro packaging fontconfig uses expat, including the distros where the maintainers are fontconfig upstream.
Yes, I saw the comments, but I could only state that I don't know the reason behind writing comment exactly opposing actual state of things. Expat is very old (2 years since last bugfix), have 2 bugs mentioned in its ebuild and some more which are known to cause unexpected parsing behaviour. And this is the main reason, but also it would server reducing desktop profile library dependency footprint. And still I think, keeping expat as an USE flag could be suitable for low ram systems
http://lists.freedesktop.org/archives/fontconfig/2009-January/003077.html
Well, expat is pulled in by a lot more than fontconfig so the footprint wouldn't be reduced much. ;) We've never had a bug caused by misparsed fontconfig xml files that I know of. Every single distro I've checked uses expat over libxml2, even Debian where Keith himself is the maintainer. I'm puzzled.
Still no answer: http://lists.freedesktop.org/archives/fontconfig/2009-September/003217.html I failed to find any distribution that uses fontconfig with libxml2 and even spec file provided with fontconfig itself suggests expat: http://cgit.freedesktop.org/fontconfig/tree/fontconfig.spec.in Probably we could add expat USE flag and enable it by default. Those who want use libxml2 could just disable it then. Thoughts?
that's pretty much what we used to do, then cardoe threw a fit. ;) if there were a reason to use libxml2 then I would say go for it. if the only reason is theoretical parsing bugs we have no evidence of and no one in any distro has encountered, then I say no.
http://bugs.freedesktop.org/show_bug.cgi?id=22862 depends whether expat or libxml2 is used. Not a big deal but it also known that there are bugs with apache related stuff
the default is expat, that's what we'll use.