Skip Menu |

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 2396
Status: resolved
Priority: 0/
Queue: XML-LibXML

Owner: Nobody in particular
Requestors: hartzell [...]

Bug Information
Severity: Normal
Broken in:
  • 1.53
  • 1.54_3
Fixed in: (no value)

Subject: bug in XInclude processing.
Download (untitled) / with headers
text/plain 2.8k
t/02parse.t fails in the XInclude section. LibXML.xs includes _processXIncludes(), which calls xmlXIncludeProcess from libxml2. xmlXIncludeProcess returns -1 on error, 0 if no substitutions happened, and n if n substitutions happened. The sense of the test vs. RETVAL is reversed. The attached patch seems to fix the problem and let's t/02parse.t succeed. Perhaps someone could fix up the error text a bit too. XML-LibXML-1.53 Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=linux, osvers=2.4.18-4gb, archname=i686-linux uname='linux maple 2.4.18-4gb #1 wed mar 27 13:57:05 utc 2002 i686 unknown ' config_args='-sde -Dprefix=/users/hartzell/gaster -Dlocincpth=/users/hartzell/gaster/include -Dloclibpth=/users/hartzell/gaster/lib -A define:libswanted=sfio socket bind inet nsl nm ndbm dbm db dl dld ld sun m c cposix posix ndir dir crypt sec ucb bsd BSD PW x util' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -I/users/hartzell/gaster/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O3', cppflags='-fno-strict-aliasing -I/users/hartzell/gaster/include' ccversion='', gccversion='2.95.3 20010315 (SuSE)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/users/hartzell/gaster/lib' libpth=/users/hartzell/gaster/lib /lib /usr/lib /usr/local/lib libs=-lnsl -lndbm -ldb -ldl -lm -lc -lcrypt -lutil perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil libc=, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared -L/users/hartzell/gaster/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under linux Compiled at Apr 14 2003 13:32:49 %ENV: PERL5LIB="/users/hartzell/lib/perl5/site_perl" @INC: /users/hartzell/lib/perl5/site_perl /users/hartzell/gaster/lib/perl5/5.8.0/i686-linux /users/hartzell/gaster/lib/perl5/5.8.0 /users/hartzell/gaster/lib/perl5/site_perl/5.8.0/i686-linux /users/hartzell/gaster/lib/perl5/site_perl/5.8.0 /users/hartzell/gaster/lib/perl5/site_perl . Linux maple 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i686 unknown
Download foo
application/octet-stream 854b

Message body not shown because it is not plain text.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to