You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've already posted the question to nokogiri-talk last November without any response, therefore I'm creating an issue here... I'm unable to retrieve value of encoding attribute from XML documents if the value is "ISO-8859-1".
Apologies for not responding sooner. I've verified that this behavior exists with libxml2 2.9.3, in Nokogiri 1.6.7.2.
It's apparent that libxml2 is not setting the encoding value to what we expect in the xmlParserCtxt struct when the startDocument callback is invoked.
So, it appears that this is likely to be a bug upstream, or else intended behavior that's extremely unobvious. Would you be willing to report this upstream to libxml2?
Hi,
I've already posted the question to nokogiri-talk last November without any response, therefore I'm creating an issue here... I'm unable to retrieve value of encoding attribute from XML documents if the value is "ISO-8859-1".
Used Nokogiri 1.5.5 and 1.5.6.
Thanks,
Jussi
The text was updated successfully, but these errors were encountered: