Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: XML::Smart - undesired decoding of special XML characters

by roboticus (Chancellor)
on Oct 16, 2017 at 15:32 UTC ( #1201456=note: print w/replies, xml ) Need Help??


in reply to Re^2: XML::Smart - undesired decoding of special XML characters
in thread XML::Smart - undesired decoding of special XML characters

NeedForPerl:

I just checked your code with Your Mother's recommendation and it worked just fine. I did, however, have to remove the symbol because XML::Smart complained about it being encoded incorrectly. After that, and changing 'FALSE' to 0, it gave me (the presumably expected):

<?xml version="1.0" encoding="UTF-8" ?> <?meta name="GENERATOR" content="XML::Smart/1.78 Perl/5.022004 [cygwin +]" ?> <log> <logentry revision="12345"> <author>someAuthor</author> <date>2017-10-11T09:32:15.704935Z</date> <msg>This is my SVN message with characters like or &amp;.</msg> </logentry> </log>

I could easily have something munged in my various Windows/Cygwin/vim settings to have messed up the '', but I'm mentioning it just in case you need to know of it.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Replies are listed 'Best First'.
Re^4: XML::Smart - undesired decoding of special XML characters
by NeedForPerl (Novice) on Oct 16, 2017 at 16:44 UTC

    Thank you. Everything works fine. I have no problems with the "".

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2019-10-16 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?