Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: how xmlin dont escape specials characters

by NetWallah (Canon)
on Mar 11, 2013 at 17:14 UTC ( [id://1022835]=note: print w/replies, xml ) Need Help??


in reply to how xmlin dont escape specials characters

First - in the absence of explicit confirmation, I'm making the following assumptions:

  • You are using XML::Simple to parse XML
  • You are trying to process incoming XML that contains "&" and expect that to remain intact
  • Same for "<"
  • It works (i.e does NOT translate) on Redhat 4? CENTOS ? but does not work (i.e. translates escapes to a single character) on RedHat 5
So - to help analyze the issue, please identify perl versions, and XML::Simple versions on these platforms.

             Most people believe that if it ain't broke, don't fix it.
        Engineers believe that if it ain't broke, it doesn't have enough features yet.

Replies are listed 'Best First'.
Re^2: how xmlin dont escape specials characters
by spe31500 (Initiate) on Mar 12, 2013 at 07:29 UTC
    Yes for the 3 first points. It works (i.e does NOT translate) on Redhat5 with versions perl-5.8.8-10, perl-XML-simple-2.14-4, perl-XML-Parser-2.34-6 Its does not work (i.e translate) on CentOS with verions perl-5.10.1-119, perl-XML-Simple-2.18.6, perl-XML-Parser-2.36-7 I dont use Redhat4 Thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1022835]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-29 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found