SCIENTIFIC-LINUX-USERS Archives

September 2008

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Faye Gibbins <[log in to unmask]>
Reply To:
Faye Gibbins <[log in to unmask]>
Date:
Tue, 23 Sep 2008 10:26:32 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (49 lines)
Hi,

I believe there is a problem with the current version of perl-XML-SAX 
being shipped with SL5.

On an affected machine "&amp;" is not being correctly mapped to "&", viz:

snip---
fgibbins@fleet sax $ perl -le 'use XML::Simple; use Data::Dumper; print 
Dumper(XMLin("<opt opt=\"&amp;\"></opt>"));'
$VAR1 = {
           'opt' => '&amp;'
         };

fgibbins@fleet sax $
snip---

Whereas what should happen (with a more up to date version of XML::SAX 
from CPAN) is:

snip---
  fgibbins@geosl548 ldap.sl5 $ perl -le 'use XML::Simple; use 
Data::Dumper; print Dumper(XMLin("<opt opt=\"&amp;\"></opt>"));'
$VAR1 = {
           'opt' => '&'
         };

fgibbins@geosl548 ldap.sl5 $
snip---

Yours
Faye

-- 

Please sign my petition:
http://petitions.number10.gov.uk/alcohol-buying/

---------------------------------------------------------
Faye Gibbins, Computing Officer (Infrastructure Services)
       GeoS KB; Linux, Unix, Security and Networks.
Beekeeper  - The Apiary Project, KB -   www.bees.ed.ac.uk
---------------------------------------------------------

   I grabbed at spannungsbogen before I knew I wanted it.

The University of Edinburgh is a charitable body,
registered in Scotland, with registration number SC005336.

ATOM RSS1 RSS2