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