[xml] file path vs URI

2007-11-01 Thread Petr Sumbera
Hi guys, Sorry for maybe not well described or at least strange formulation as I'm not XML expert at all. In UNIX systems file path starting with "//" is being accepted and it's processed without complaining. For example: "cat //etc/passwd" will show content of /etc/passwd But this seems to b

Re: [xml] file path vs URI [patch]

2007-11-02 Thread Petr Sumbera
way. Any comments welcomed. Thanks, Petr Petr Sumbera wrote: Hi guys, Sorry for maybe not well described or at least strange formulation as I'm not XML expert at all. In UNIX systems file path starting with "//" is being accepted and it's processed without complaining. Fo

Re: [xml] file path vs URI [patch]

2007-11-02 Thread Petr Sumbera
Petr Sumbera wrote: > Please see my attached patch and consider changing libxml2 in similar > way. Any comments welcomed. By changing libxml2 I meant something more intelligent then patch I sent does. Which is moving problem from "//" to

Re: [xml] libxml2 Solaris issue

2007-11-08 Thread Petr Sumbera
Thanks for looking at it. Daniel Veillard wrote: > On Thu, Nov 08, 2007 at 01:33:02PM +0100, Petr Sumbera wrote: > Looks completely the wrong place to do this kind of changes. > You just can't hack every single entry point in the library which > may take a filename. What you n

Re: [xml] libxml2 Solaris issue

2007-11-20 Thread Petr Sumbera
mlStrdup(path); Daniel Veillard wrote: > On Thu, Nov 08, 2007 at 05:54:27PM +0100, Petr Sumbera wrote: >> Thanks for looking at it. >> >> Daniel Veillard wrote: >>> On Thu, Nov 08, 2007 at 01:33:02PM +0100, Petr Sumbera wrote: >>> Looks completely the wrong p

Re: [xml] libxml2 Solaris issue

2007-11-26 Thread Petr Sumbera
Hi Daniel, I'm not getting answer for this. Shall I file bug in bug database? Thanks, Petr Petr Sumbera wrote: > What about this one? It again worked for me in both cases. > > Thanks, > > Petr > > --- libxml2-2.6.30/uri.c.orig Tue Nov 20 01:44:59 2007 > +++ li

Re: [xml] libxml2 Solaris issue

2008-02-05 Thread Petr Sumbera
Thank you! Can you please close this in bugzilla. http://bugzilla.gnome.org/show_bug.cgi?id=500664 Petr Daniel Veillard wrote: > On Mon, Nov 26, 2007 at 10:29:31AM +0100, Petr Sumbera wrote: >> Hi Daniel, >> >> I'm not getting answer for this. Shall I file bug in bug

Re: [xml] file path vs URI [patch]

2008-03-31 Thread Petr Sumbera
This is already solved (see attached our previous communication on this). Thanks, Petr Daniel Veillard wrote: On Fri, Nov 02, 2007 at 05:09:29PM +0100, Petr Sumbera wrote: Petr Sumbera wrote: Please see my attached patch and consider changing libxml2 in similar way. Any comments welcomed

[xml] man pages have "$Date$" instead of real date

2012-10-23 Thread Petr Sumbera
Hi, this seems to be wrong: $ grep Date libxml2-2.9.0/doc/*.1 libxml2-2.9.0/doc/xmlcatalog.1:.\" Date: $Date$ libxml2-2.9.0/doc/xmlcatalog.1:.TH "XMLCATALOG" "1" "$Date$" "libxml2" "xmlcatalog Manual" libxml2-2.9.0/doc/xmllint.1:.TH "XMLLINT" "1" "$Date$" "libxml2" "" I would expect inst

[xml] configure problem with version 2.9.0 on solaris

2012-10-26 Thread Petr Sumbera
Hi, please see attached patch. Thanks, Petr --- libxml2-2.9.0/configure.in.orig Fri Oct 26 05:38:05 2012 +++ libxml2-2.9.0/configure.in Fri Oct 26 06:28:05 2012 @@ -82,7 +82,7 @@ VERSION_SCRIPT_FLAGS=-Wl,--version-script= else case $host in - *-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-

[xml] missing SAX1 support without giving --without-sax1

2012-10-26 Thread Petr Sumbera
Hi, not sure what is happening here. I'm getting following during 2.9.0 build on S11.1: CCLD xmllint Undefined first referenced symbol in file docbSAXParseDoc ./.libs/libxml2.so docbParseFile ./.li

Re: [xml] missing SAX1 support without giving --without-sax1

2012-10-29 Thread Petr Sumbera
Dne 29.10.12 07:18, Daniel Veillard napsal(a): On Fri, Oct 26, 2012 at 04:51:15PM +0200, Petr Sumbera wrote: Hi, not sure what is happening here. I'm getting following during 2.9.0 build on S11.1: CCLD xmllint Undefined first referenced s

Re: [xml] configure problem with version 2.9.0 on solaris

2012-10-29 Thread Petr Sumbera
Dne 29.10.12 07:20, Daniel Veillard napsal(a): On Fri, Oct 26, 2012 at 04:36:37PM +0200, Petr Sumbera wrote: Hi, please see attached patch Thanks, I'm fine with adding *-*-solaris*), but is seems that older SunOS version named themselves *-*-sunos*, so I would not remove that pre

[xml] status of xmlBufEnd() and xmlBufContent()

2012-10-29 Thread Petr Sumbera
Hi, are functions mentioned in subject public or not? Code in libxml2-2.9.0/testapi.c calls them but they are not listed in libxml2-2.9.0/libxml2.syms. The result is problem during linking: -bash-4.1$ /bin/bash ./libtool --silent --tag=CC --mode=link /ws/on12-tools/SUNWspro/sunstudio12.1/

Re: [xml] runtest mystery bug: name2.xml error case regression test

2012-10-30 Thread Petr Sumbera
Hi, I'm not sure I can follow this thread. I'm seeing the same problem with version 2.9.0 with 64bit libxml2 on Solaris (32 bit version works well): ## Error cases regression tests Error for ./test/errors/name2.xml failed File ./test/errors/name2.xml generated an error ## Error cases stream re

Re: [xml] runtest mystery bug: name2.xml error case regression test

2012-10-31 Thread Petr Sumbera
On 10/30/12 03:53 PM, Petr Sumbera wrote: I'm not sure I can follow this thread. I'm seeing the same problem with version 2.9.0 with 64bit libxml2 on Solaris (32 bit version works well): ## Error cases regression tests Error for ./test/errors/name2.xml failed File ./test/errors

Re: [xml] runtest mystery bug: name2.xml error case regression test

2012-11-05 Thread Petr Sumbera
On 10/31/12 04:59 PM, Petr Sumbera wrote: On 10/30/12 03:53 PM, Petr Sumbera wrote: I'm not sure I can follow this thread. I'm seeing the same problem with version 2.9.0 with 64bit libxml2 on Solaris (32 bit version works well): ## Error cases regression tests Error for ./test/errors

[xml] Solaris EBDIC patch

2012-12-07 Thread Petr Sumbera
Hi, to avoid following errors during libxml2 test suite: --- Failed to parse ./test/ebcdic_566012.xml File ./test/ebcdic_566012.xml generated an error --- we are applying attached patch file. Can something like this be committed into main libxml2 repo? Thanks, Petr --- libxml2-2.7.6/encodi

[xml] solaris and pthread library [patch]

2013-01-31 Thread Petr Sumbera
Hi, please see attached patch. pthread library is no longer needed from Solaris 10. See: http://docs.oracle.com/cd/E19963-01/html/821-1601/compile-94611.html http://docs.oracle.com/cd/E26502_01/html/E29043/pthreads-5.html#REFMAN5pthreads-5 Thanks, Petr >From Solaris 10 it's not necessary to

Re: [xml] solaris and pthread library [patch]

2013-02-04 Thread Petr Sumbera
On Thu, Jan 31, 2013 at 02:47:25PM +0100, Petr Sumbera wrote: Hi, please see attached patch. pthread library is no longer needed from Solaris 10. See: http://docs.oracle.com/cd/E19963-01/html/821-1601/compile-94611.html "An application compiled on Solaris 10 can run on Solaris 9 i

Re: [xml] solaris and pthread library [patch]

2013-02-05 Thread Petr Sumbera
>> So it seems the safer option is to always link with libpthread. >> Any drawback I miss here? May be better is to rewrite current test to be more portable. According to specs file on linux gcc with -pthread add pthread library and define _REENTRANT. AX_PTHREAD is an existing macro distribut

[xml] libxml2 2.9.1 and python 2.6.8 (patch)

2013-04-24 Thread Petr Sumbera
Hi, to get python test suite working (as subject says) I had to apply attached patch. It seems that following fix wasn't complete. https://git.gnome.org/browse/libxml2/commit/python/libxml_wrap.h?id=bf4a8f0ea8579f05eea2e6f43df73b2a239d41b3 Thanks, Petr --- libxml2-2.9.1/python/libxml_wrap.h

Re: [xml] missing SAX1 support without giving --without-sax1

2014-10-30 Thread Petr Sumbera
On 10/29/12 11:06 AM, Daniel Veillard wrote: On Mon, Oct 29, 2012 at 10:22:25AM +0100, Petr Sumbera wrote: >Dne 29.10.12 07:18, Daniel Veillard napsal(a): > >On Fri, Oct 26, 2012 at 04:51:15PM +0200, Petr Sumbera wrote: [...] >--- libxml2-2.9.0/configure.in.~1~ Mon Sep 10 2

Re: [xml] configure problem with version 2.9.0 on solaris

2014-10-30 Thread Petr Sumbera
*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";; + *-*-solaris*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";; esac fi AC_SUBST(VERSION_SCRIPT_FLAGS) On 10/29/12 10:24 AM, Petr Sumbera wrote: Dne 29.10.12 07:20, Daniel Veillard napsal(a): On Fri, Oct 26, 2012 at 04:36:37PM +0200, Petr Sumbera wro

[xml] xmllint not parsing attributes with --stream

2017-04-25 Thread Petr Sumbera
Hi, our customer ran into the same problem as it's described by someone else here: http://stackoverflow.com/questions/40043006/xmllint-not-parsing-attributes-with-stream Any comment on this? This used to work with some older libxml versions... Thanks, Petr __

Re: [xml] xmllint not parsing attributes with --stream

2017-04-26 Thread Petr Sumbera
To close the loop. I see this was already addressed via: https://bugzilla.gnome.org/show_bug.cgi?id=766834 Thanks, Petr On 04/25/17 10:47 AM, Petr Sumbera wrote: Hi, our customer ran into the same problem as it's described by someone else here: http://stackoverflow.com/questions/400

[xml] Python 3.5 issue - SystemError: returned a result with an error set

2017-08-30 Thread Petr Sumbera
Hi, anyone seen following error when running Python regression tests? This is just with Python 3.5. Pythons 2.7 and 3.4 are ok (I haven't tested Python 3.6). Any idea? Thanks, Petr ## running Python regression tests TypeError: 'NoneType' object is not callable During handling of the abov

[xml] rsvg-convert issue with libxml 2.9.5

2017-09-19 Thread Petr Sumbera
Hi, we have svg file which used to work with libxml 2.9.4. Now with 2.9.5 (plus latest few commits) I see: $ rsvg-convert test.svg > test.png Error reading SVG:Error domain 1 code 4 on line 1 column 1 of file:///builds/psumbera/userland-libxml2-2.9.5/components/libxml2/build/prototype/test.sv