Comment 3 for bug 1642950

Revision history for this message
Henry S Thompson (hsthst) wrote :

I've done some bisection, the problem is in libxml2 -- running with 2.9.3 works, 2.9.4 not
In fact, it's down to a single change in xmlschemas.c:

< value = xmlStrndup(attributes[j+3], attributes[j+4] - attributes[j+3]);
---
> value = xmlStringLenDecodeEntities(vctxt->parserCtxt, attributes[j+3],
> attributes[j+4] - attributes[j+3], XML_SUBSTITUTE_REF, 0, 0, 0);

There's a commit fixing this:

https://git.gnome.org/browse/libxml2/commit/?id=3169602058bd2d04913909e869c61d1540bc7fb4