Re: [xml] win32\VC10\config.h and VS 2015

2016-03-11 Thread Bruce Dawson
Now is an odd time to be writing snprintf fallbacks for older MSVC versions - I look forward to never building with such versions again! Could be useful for some people of course, but it is a diminishing audience. On Fri, Mar 11, 2016 at 1:24 PM, Nick Wellnhofer wrote: >

Re: [xml] win32\VC10\config.h and VS 2015

2016-03-11 Thread Nick Wellnhofer
On 07/03/2016 22:46, Bruce Dawson wrote: The config.h file in win32\VC10 is incompatible with VS 2015 because VS 2015 provides an implementation of snprintf and prohibits using the preprocessor to define it. Therefor an ifdef check is needed around that definition in VC10\config.h. Here is a

Re: [xml] VC10\config.h and include\win32config.h

2016-03-11 Thread Daniel Veillard
On Mon, Mar 07, 2016 at 02:15:28PM -0800, Peter Kasting wrote: > I echo Bruce's request for a single upstream Windows config file. It looks > like include/win32config.h is older; win32/VC10/config.h seems to have only > its initial addition in its log. It looks like that addition happened here:

Re: [xml] win32\VC10\config.h and VS 2015

2016-03-11 Thread Daniel Veillard
On Tue, Mar 08, 2016 at 12:30:45PM +0100, Michael Stahl wrote: > On 08.03.2016 12:27, Michael Stahl wrote: > > On 07.03.2016 22:46, Bruce Dawson wrote: > >> > >> It would be great to get that same patch in libxml2, and other > >> developers will need it if they use VC10\config.h. > > > > it looks

Re: [xml] [PATCH] python 3 bindings call "decode" on "str" object

2016-03-11 Thread Daniel Veillard
On Mon, Jan 18, 2016 at 01:01:40PM +0100, Michael Stahl wrote: > with python3-libxml2-2.9.3-2.fc23.x86_64 RPM i get this exception: > > > Traceback (most recent call last): > > File "/usr/lib64/python3.4/threading.py", line 920, in _bootstrap_inner > > self.run() > > File

[xml] [PATCH] Do normalize string-based datatype value in RelaxNG facet checking

2016-03-11 Thread Audric Schiltknecht
Original patch is from Jan Pokorný . Improve it according to reviews and add test files. --- include/libxml/schemasInternals.h | 92 +++ result/relaxng/pattern3_1 | 0 result/relaxng/pattern3_1.err | 1 + test/relaxng/pattern3.rng | 11

[xml] [PATCH] Do normalize string-based datatype value in RelaxNG facet checking

2016-03-11 Thread Audric Schiltknecht
We are currently unable to validate some documents because of https://mail.gnome.org/archives/xml/2013-November/msg00028.html (short summary: pattern restriction on token type is tested on non-normalized value). We have found that the proposed patch by Jan Pokorný actually works for us, but

Re: [xml] VC10\config.h and include\win32config.h

2016-03-11 Thread Bruce Dawson
The change to VC10\config.h looks good and will avoid problems with VS 2015 if anybody uses that file in the future. Rotting in multiple directories is the remaining problem. I don't know if libxml still supports VS 10, or if anybody is using VC10\config.h, but Chromium would certainly have no