Re: [xml] Strange validation errors in libxml 2.9.0 with MSVC 2010

2013-04-28 Thread GMail
Hi, thanks for checking in. As far as I know, there is no solution for this problem yet. Daniel recommended to debug into xmllib to find out what the problem might be - I simply don't have the bandwidth to do that. So, I opted for avoiding the problem as a whole by downgrading to 2.8.0. I guess

Re: [xml] Strange validation errors in libxml 2.9.0 with MSVC 2010

2013-04-28 Thread GMail
Hi, not a lot of help I know, but this is all I have to offer right noww. I think, Ubuntu does upgrades pretty well. I have upgraded from 9.x to 12.x each release (have not tried 13.x yet) and I had only one minor problem (with grub), so I'd like to think you can rule out the upgrade issue. But,

Re: [xml] Strange validation errors in libxml 2.9.0 with MSVC 2010

2013-04-07 Thread GMail
Hi all, just to let you know, I downgraded to 2.7.7 and it works like a charm. Best regards: Zoltán Ördögh On Sun, Apr 7, 2013 at 12:07 AM, Zoltán Ördögh (GMail) csi...@gmail.comwrote: Hi Daniel, thanks for responding over the weekend, much obliged. Please note that the problem is not the

Re: [xml] Strange validation errors in libxml 2.9.0 with MSVC 2010

2013-04-07 Thread GMail
I checked 2.8.0 out of curiosity - that works, too. It seems a bug has been introduced into 2.9.0 - and it apparently impacts only MSVC 2010 (well, so far it seems I am the only one). Best regards: Zoltán Ördögh On Sun, Apr 7, 2013 at 2:19 AM, Zoltán Ördögh (GMail) csi...@gmail.comwrote: Hi

Re: [xml] Strange validation errors in libxml 2.9.0 with MSVC 2010

2013-04-07 Thread Csaba Raduly
Hi Zoltán, On Sun, Apr 7, 2013 at 8:30 AM, Zoltán Ördögh wrote: I checked 2.8.0 out of curiosity - that works, too. It seems a bug has been introduced into 2.9.0 - and it apparently impacts only MSVC 2010 (well, so far it seems I am the only one). I tried your example with Cygwin's xmllint

Re: [xml] Strange validation errors in libxml 2.9.0 with MSVC 2010

2013-04-07 Thread GMail
Hi Csaba, thank you for checking! xmllint works flawlessly in 2.9.0 here as well - as I have indicated in the original email. As a quick recap: - I use pretty much the same code to read the XML using XMLReader as xmllint: xmlReaderForFile(...) followed by an xmlTextReaderRead (...) - For the

Re: [xml] Strange validation errors in libxml 2.9.0 with MSVC 2010

2013-04-07 Thread John Brown
On Saturday, April 6, 2013 11:15 AM, Zoltán Ördögh wrote: On Sat, Apr 6, 2013 at 4:18 AM, John Brown johnbrown_...@yahoo.com wrote: [1]C:\Temp\TestMestart file:///./testme.xml The system cannot find the file file:///./testme.xml. [2]C:\Temp\TestMestart file:///c:/temp/testme/testme.xml

Re: [xml] Strange validation errors in libxml 2.9.0 with MSVC 2010

2013-04-06 Thread GMail
I saw this code in xmllint.c (removed conditionals that do not apply): static void streamFile(char *filename) { xmlTextReaderPtr reader; int ret; reader = xmlReaderForFile(filename, NULL, options); if (reader != NULL) { if (valid) xmlTextReaderSetParserProp(reader,

Re: [xml] Strange validation errors in libxml 2.9.0 with MSVC 2010

2013-04-06 Thread Daniel Veillard
On Sat, Apr 06, 2013 at 07:50:56PM -0400, Zoltán Ördögh (GMail) wrote: I saw this code in xmllint.c (removed conditionals that do not apply): [...] I tried using the exact same code but I still get the same validation errors on the first call to xmlTextReaderRead... It is vexing me... Any

Re: [xml] Strange validation errors in libxml 2.9.0 with MSVC 2010

2013-04-06 Thread GMail
Hi Daniel, thanks for responding over the weekend, much obliged. Please note that the problem is not the system ID; I replaced the full path to the relative one as I was sure that my full path would not work for anyone else. So, the DTD is in fact, found - how else would xmllint.exe be able to