Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: ambrus [...] math.bme.hu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From zsbana [...] gmail.com Thu Jul 29 07: 31:45 2010
MIME-Version: 1.0
X-Spam-Status: No, score=-9.913 tagged_above=-99.9 required=10 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SPF_NEUTRAL=0.686] autolearn=ham
X-Spam-Flag: NO
content-type: text/plain; charset="utf-8"
Message-ID: <AANLkTikAkU=P=PO2trQV88N+Bm-KhwuXmfiCfwqNJm6- [...] mail.gmail.com>
Reply-To: ambrus [...] math.bme.hu
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -9.913
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 6BDD3240A71 for <cpan-bug+XML-LibXML [...] hipster.bestpractical.com>; Thu, 29 Jul 2010 07:31:45 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mMp5SuJ7fOkB for <cpan-bug+XML-LibXML [...] hipster.bestpractical.com>; Thu, 29 Jul 2010 07:31:41 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id AB3DB240A3A for <bug-XML-LibXML [...] rt.cpan.org>; Thu, 29 Jul 2010 07:31:40 -0400 (EDT)
Received: (qmail 3554 invoked by uid 103); 29 Jul 2010 11:33:38 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 29 Jul 2010 11:33:38 -0000
Received: from mail-bw0-f50.google.com (HELO mail-bw0-f50.google.com) (209.85.214.50) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Thu, 29 Jul 2010 04:33:33 -0700
Received: by bwz18 with SMTP id 18so137377bwz.9 for <bug-XML-LibXML [...] rt.cpan.org>; Thu, 29 Jul 2010 04:33:30 -0700 (PDT)
Received: by 10.204.82.18 with SMTP id z18mr8687121bkk.125.1280403210266; Thu, 29 Jul 2010 04:33:30 -0700 (PDT)
Received: by 10.204.98.18 with HTTP; Thu, 29 Jul 2010 04:33:10 -0700 (PDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.sender=zsbana [...] gmail.com
Delivered-To: cpan-bug+XML-LibXML [...] hipster.bestpractical.com
Subject: Typo in introductory example in docs
Return-Path: <zsbana [...] gmail.com>
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:from:date:x-google-sender-auth :message-id:subject:to:content-type; b=KFwBjJ3Z5D7wz/67G4tQaKbPnBJovFdc+u/66ZoxnkV0u04m9Pozm6jvoOk3w//FZE SiGatMO0Od3OATBGh8ts/iBx1yoxJHisJVNfbCS7rFR6+kMbulrilmUXS8jWcoiKrfYu Jr4gVyigFlmBS6I81WlOZX7D+Y3792YEUEDtA=
X-RT-Mail-Extension: xml-libxml
X-Original-To: cpan-bug+XML-LibXML [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:reply-to:received :from:date:x-google-sender-auth:message-id:subject:to:content-type; bh=7yDrkqsRB9UidTAtcSoCYZNRXJHZaYyUIQxH0FgaWNY=; b=wfzr1aOOnZbMHxYXrvO+pajMKwFAjRvUuls4a2wguH3jGaLyTFXLIez1OMqni7sFUL JxPwyILbHrUKn69JYyICZhSPufzELUOMug0ItDT3vifNEhiAj1b/ZapoHxPt5V08qY0T mBp4crNJQJPiu/mgccnEWTCRqYxf0PIP05aDU=
X-Google-Sender-Auth: pkz-LhqxShsUuVUQBPTFy-bygX0
Date: Thu, 29 Jul 2010 13:33:10 +0200
Sender: zsbana [...] gmail.com
X-Spam-Level:
To: bug-XML-LibXML [...] rt.cpan.org
From: Zsbán Ambrus <ambrus [...] math.bme.hu>
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 507
Download (untitled) / with headers
text/plain 507b
Dear maintainers of XML::LibXML, It seems that there's a typo in the code example in the XML::LibXML documentation under the heading "ENCODINGS SUPPORT IN XML::LIBXML". Namely, a line says $doc->toFh($fh); whereas the method is actually called toFH, not toFh. Please correct the example to valid code. I'm using XML::LibXML version 1.70 installed from the cpan tarball, libxml version 20632, perl v5.12.1 vanilla, on an amd64 linux debian lenny system. Thanks for your attention, Ambrus
MIME-Version: 1.0
In-Reply-To: <AANLkTikAkU=P=PO2trQV88N+Bm-KhwuXmfiCfwqNJm6- [...] mail.gmail.com>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
References: <AANLkTikAkU=P=PO2trQV88N+Bm-KhwuXmfiCfwqNJm6- [...] mail.gmail.com>
Content-Type: multipart/mixed; boundary="----------=_1290644872-2359-362"
Message-ID: <rt-3.8.HEAD-2359-1290644872-1430.59814-0-0 [...] rt.cpan.org>
From: daniel.frett [...] ccci.org
X-RT-Original-Encoding: utf-8
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 654
Download (untitled) / with headers
text/plain 654b
attached a patch that fixes the documentation typo On Thu Jul 29 07:33:44 2010, ambrus@math.bme.hu wrote: Show quoted text
> Dear maintainers of XML::LibXML, > > It seems that there's a typo in the code example in the XML::LibXML > documentation under the heading "ENCODINGS SUPPORT IN XML::LIBXML". > Namely, a line says > > $doc->toFh($fh); > > whereas the method is actually called toFH, not toFh. > > Please correct the example to valid code. > > I'm using XML::LibXML version 1.70 installed from the cpan tarball, > libxml version 20632, perl v5.12.1 vanilla, on an amd64 linux debian > lenny system. > > Thanks for your attention, > > Ambrus
MIME-Version: 1.0
Subject: RT59814.patch
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain; charset="utf-8"; name="RT59814.patch"
Content-Disposition: inline; filename="RT59814.patch"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 361
Download RT59814.patch
text/x-diff 361b
diff --git a/docs/libxml.dbk b/docs/libxml.dbk index f77d7dc..d3aff02 100644 --- a/docs/libxml.dbk +++ b/docs/libxml.dbk @@ -602,7 +602,7 @@ $doc = XML::LibXML-&gt;load_xml(IO => $fh); # save open my $out, "out.xml"; binmode $out; # as above -$doc-&gt;toFh($out); +$doc-&gt;toFH($out); # or print $out $doc-&gt;toString();</programlisting> </para>
MIME-Version: 1.0
In-Reply-To: <AANLkTikAkU=P=PO2trQV88N+Bm-KhwuXmfiCfwqNJm6- [...] mail.gmail.com>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <AANLkTikAkU=P=PO2trQV88N+Bm-KhwuXmfiCfwqNJm6- [...] mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-9063-1308815600-546.59814-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 70
Fixed on CPAN. Thanks for the report, and thanks Daniel for the patch.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.