Skip Menu |

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

Report information
The Basics
Id: 101187
Status: rejected
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: davidegx [...] gmail.com
Cc:
AdminCc:

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



Subject: Missing name and getName in XML::LibXML::Attr documentation
Date: Mon, 29 Dec 2014 12:04:42 +0000
To: bug-XML-LibXML [...] rt.cpan.org
From: David EG <davidegx [...] gmail.com>
Hi, Reading https://metacpan.org/pod/XML::LibXML::Attr I don't see any method to get the name of a xml attribute. However "name" and "getName" work as I would expect so I guess that is a lack on the documentation. ( Otherwise I'm using private methods and I don't know how to get the name :( ) Best Regards, David EG
Hi David, On Mon Dec 29 07:04:58 2014, davidegx@gmail.com wrote: Show quoted text
> Hi, > > Reading https://metacpan.org/pod/XML::LibXML::Attr I don't see any method > to get the name of a xml attribute. > However "name" and "getName" work as I would expect so I guess that is a > lack on the documentation. > ( Otherwise I'm using private methods and I don't know how to get the name > :( )
->name() is an alias to XML::LibXML::Node::localname() and is documented in https://metacpan.org/pod/XML::LibXML::Node which is referenced in the comment at the top of https://metacpan.org/pod/XML::LibXML::Attr#SYNOPSIS . Similarly ->getName() is an alias to XML::LibXML::Node::nodeName which is also documented there. They do different things. Can I close this bug? Regards, -- Shlomi Fish Show quoted text
> > > Best Regards, > David EG
Subject: Re: [rt.cpan.org #101187] Missing name and getName in XML::LibXML::Attr documentation
Date: Mon, 29 Dec 2014 15:24:31 +0000
To: bug-XML-LibXML [...] rt.cpan.org
From: David EG <davidegx [...] gmail.com>
Hi, Yes, I guess so. Thanks On Mon, Dec 29, 2014 at 12:51 PM, Shlomi Fish via RT < bug-XML-LibXML@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=101187 > > > Hi David, > > On Mon Dec 29 07:04:58 2014, davidegx@gmail.com wrote:
> > Hi, > > > > Reading https://metacpan.org/pod/XML::LibXML::Attr I don't see any
> method
> > to get the name of a xml attribute. > > However "name" and "getName" work as I would expect so I guess that is a > > lack on the documentation. > > ( Otherwise I'm using private methods and I don't know how to get the
> name
> > :( )
> > ->name() is an alias to XML::LibXML::Node::localname() and is documented > in https://metacpan.org/pod/XML::LibXML::Node which is referenced in the > comment at the top of https://metacpan.org/pod/XML::LibXML::Attr#SYNOPSIS > . Similarly ->getName() is an alias to XML::LibXML::Node::nodeName which is > also documented there. They do different things. > > Can I close this bug? > > Regards, > > -- Shlomi Fish > >
> > > > > > Best Regards, > > David EG
> > > >
On Mon Dec 29 10:24:41 2014, davidegx@gmail.com wrote: Show quoted text
> Hi, > > Yes, I guess so. > > Thanks
closing then. Thanks. Regards, -- Shlomi Fish