Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: Close tag missing in XML output of optionally empty tags
https://bugzilla.redhat.com/show_bug.cgi?id=525587
Summary: Close tag missing in XML output of optionally empty tags Product: Fedora Version: 10 Platform: All OS/Version: Linux Status: NEW Severity: medium Priority: low Component: perl-HTML-Tree AssignedTo: tcallawa@redhat.com ReportedBy: jfearn@redhat.com QAContact: extras-qa@fedoraproject.org CC: tcallawa@redhat.com, fedora-perl-devel-list@redhat.com Blocks: 524832 Classification: Fedora Target Release: ---
Created an attachment (id=362580) --> (https://bugzilla.redhat.com/attachment.cgi?id=362580) test script exhibiting bug
Description of problem: HTML::Element::as_XML() has a bug where tags added to empty_element_map but which contain data are missing their close tag when generating XML.
Version-Release number of selected component (if applicable): 3.23-4
How reproducible: Always
Steps to Reproduce: 1. Run attached script
Actual results:
Not mapped to empty element (correct) <a href="http://example.com/"></a>
Mapped to empty element, no extra content (correct) <a href="http://example.com/" />
Mapped to empty element, extra content (missing close tag) <a href="http://example.com/">Extra content
Expected results:
Not mapped to empty element (correct) <a href="http://example.com/"></a>
Mapped to empty element, no extra content (correct) <a href="http://example.com/" />
Mapped to empty element, extra content (correct) <a href="http://example.com/">Extra content</a>
Additional info:
I opened an upstream bug with a patch https://rt.cpan.org/Ticket/Display.html?id=49932 however it may take a while for a new version to come out.
Since HTML::Element is the base class for XML::Element this bug affects all XML systems where tags can be optionally empty and people wish to use the short circuit form for the empty tags.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=525587
--- Comment #1 from Jeff Fearn jfearn@redhat.com 2009-09-24 18:54:44 EDT --- Created an attachment (id=362581) --> (https://bugzilla.redhat.com/attachment.cgi?id=362581) fix that bug!
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=525587
Jeff Fearn jfearn@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- External Bug ID| |CPAN 49932
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=525587
Tom "spot" Callaway tcallawa@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #2 from Tom "spot" Callaway tcallawa@redhat.com 2009-09-28 10:45:54 EDT --- Updates are building for this now, thanks for the patch.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=525587
--- Comment #3 from Fedora Update System updates@fedoraproject.org 2009-09-28 12:04:53 EDT --- perl-HTML-Tree-3.23-9.el4 has been submitted as an update for Fedora EPEL 4. http://admin.fedoraproject.org/updates/perl-HTML-Tree-3.23-9.el4
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=525587
--- Comment #4 from Fedora Update System updates@fedoraproject.org 2009-09-28 12:04:58 EDT --- perl-HTML-Tree-3.23-9.el5 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/perl-HTML-Tree-3.23-9.el5
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=525587
--- Comment #5 from Fedora Update System updates@fedoraproject.org 2009-09-28 12:05:44 EDT --- perl-HTML-Tree-3.23-9.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/perl-HTML-Tree-3.23-9.fc10
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=525587
--- Comment #6 from Fedora Update System updates@fedoraproject.org 2009-09-28 12:05:49 EDT --- perl-HTML-Tree-3.23-9.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/perl-HTML-Tree-3.23-9.fc11
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=525587
--- Comment #7 from Fedora Update System updates@fedoraproject.org 2009-09-29 10:27:56 EDT --- perl-HTML-Tree-3.23-9.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=525587
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Fixed In Version| |3.23-9.fc11 Resolution| |ERRATA
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=525587
--- Comment #8 from Fedora Update System updates@fedoraproject.org 2009-09-29 10:37:37 EDT --- perl-HTML-Tree-3.23-9.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=525587
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|3.23-9.fc11 |3.23-9.fc10
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=525587
--- Comment #9 from Fedora Update System updates@fedoraproject.org 2009-10-16 15:31:51 EDT --- perl-HTML-Tree-3.23-9.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=525587
--- Comment #10 from Fedora Update System updates@fedoraproject.org 2009-10-16 15:32:53 EDT --- perl-HTML-Tree-3.23-9.el4 has been pushed to the Fedora EPEL 4 stable repository. If problems still persist, please make note of it in this bug report.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=525587
GEORGE GIANNAKIS georgios.giannakis.stavros@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |georgios.giannakis.stavros@ | |gmail.com
--- Comment #11 from GEORGE GIANNAKIS georgios.giannakis.stavros@gmail.com 2009-10-27 12:22:42 EDT --- Eftimios TSIGROS (BANNER)!!!!!!!!!
perl-devel@lists.fedoraproject.org