Bug#419625: libxml-libxml-perl: complete_attributes (from XML::LibXML::Parser) is disabled by default
On Tue, Apr 17, 2007 at 01:50:11AM +0200, Vincent Lefevre wrote: 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... The manual page in the current version states: complete_attributes /parser, reader/ create default DTD attributes; possible values are 0 and 1 Which, while not necessarily much better, at least does not give a default; implying that the required value must be set explicitly. Therefore I reckon this bug can probably be closed. -- Chris Butler chr...@debian.org GnuPG Key ID: 4096R/49E3ACD3 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#419625: libxml-libxml-perl: complete_attributes (from XML::LibXML::Parser) is disabled by default
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-5Perl module for common routines ii libxml-namespacesupport-pe 1.09-3Perl module for supporting simple ii libxml-sax-perl0.12-5Perl module for using and building ii libxml22.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]