Bug 112593 - rewrite perl-XML-Dumper spec
Summary: rewrite perl-XML-Dumper spec
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-XML-Dumper
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Chip Turner
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-12-23 22:04 UTC by Peter Bieringer
Modified: 2007-11-30 22:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-04-27 00:25:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Rewritten specfile (2.58 KB, text/plain)
2005-04-26 19:22 UTC, Ville Skyttä
no flags Details

Description Peter Bieringer 2003-12-23 22:04:51 UTC
Description of problem:

Using this version of XML::Dumper I ran into some very strange
problems which weren't expected during storing a Perl hash into XML.

E.g. if a key contain char ', strange things are happen (value isn't
stored in XML.

Version-Release number of selected component (if applicable):
perl-XML-Dumper-0.4-25.noarch.rpm

How reproducible:
Always

Steps to Reproduce:
1. Create a hash where a key contain a '
    

Actual Results:  Problems

Expected Results:  No problems

Additional info:

All issues I ran into are solved using current version 0.67.
According to the ChangeLog, many issues were solved since 0.40.

I found version 0.40 very unuseful...

Comment 1 Peter van Egdom 2004-04-06 14:41:38 UTC
Both Fedora Core release 1.91 (FC2) and the Fedora Core development
tree contain the package "perl-XML-Dumper-0.71-1".

Does this package solve your issues?

Comment 2 Warren Togami 2005-04-26 00:42:57 UTC
perl-XML-Dumper could use a spec rewrite

Comment 3 Ville Skyttä 2005-04-26 19:22:07 UTC
Created attachment 113685 [details]
Rewritten specfile

0.4 had indeed some serious XML escaping bugs.	The following trivial script
demonstrates the issues with it, and works as expected with 0.71:

  #!/usr/bin/perl
  use XML::Dumper;
  my %h = ( "foo'bar" => '"quu<>x', 'b"a"r' => "baz" );
  print new XML::Dumper->pl2xml(\%h);

Attached is a specfile rewrite which fixes the build error with 0.71-3 as well
as some other smallish issues (see %changelog).

Comment 4 Warren Togami 2005-04-27 00:25:05 UTC
Thanks dude


Note You need to log in before you can comment on or make changes to this bug.