Package: libxml-libxml-perl
Version: 1.59-2
Severity: normal

The XML::LibXML::Parser(3pm) man page says:

       complete_attributes
             $parser->complete_attributes(1);

           Complete the elements attributes lists with the ones defaulted from
           the DTDs.  By default, this option is enabled.

But unless I use

  $parser->complete_attributes(1);

in my Perl script, the elements are not completed with the default
attributes (even if I turn validation on). So, it seems that
complete_attributes is disabled by default and the man page is
incorrect. Or this is a bug in the module itself...

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (900, 'stable'), (200, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.18-3-powerpc
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages libxml-libxml-perl depends on:
ii  libc6                      2.3.6.ds1-13  GNU C Library: Shared libraries
ii  libxml-libxml-common-perl  0.13-5        Perl module for common routines & 
ii  libxml-namespacesupport-pe 1.09-3        Perl module for supporting simple 
ii  libxml-sax-perl            0.12-5        Perl module for using and building
ii  libxml2                    2.6.27.dfsg-1 GNOME XML library
ii  perl                       5.8.8-7       Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8.8]  5.8.8-7       The Pathologically Eclectic Rubbis

libxml-libxml-perl recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to