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
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]); odeEntities( vctxt-> parserCtxt, attributes[j+3],
---
> value = xmlStringLenDec
> 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=3169602058b d2d04913909e869 c61d1540bc7fb4