Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: XML module which one

by sundialsvc4 (Abbot)
on Feb 05, 2013 at 14:12 UTC ( #1017180=note: print w/replies, xml ) Need Help??

in reply to XML module which one

One thing to watch out for as you do this is ... multiple responses to the same CGI-variable.   These appear as multiple occurrences in the data-stream, e.g.:

var1 = 'foo'
var1 = 'bar'

Make sure to use a CGI-variable parsing routine that handles that for you, and be sure also to put it to the test.   Multiple selections from a drop-down list can do this, or poorly-written HTML.   Be sure that your code, and your test suite, represents and correctly handles all cases that could exist.

(Mind you ... test it all the way up-and-down the line, including whatever logic is ultimately going to consume that XML file.)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017180]
Discipulus yaaawn..
[Corion]: DST does that to everybody...
Corion attempts to find who to address to better target his drive-by patches
[Corion]: This time it's for the Duktape embedded Javascript engine, which would be nice to have IMO, but doesn't compile on Windows currently

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2017-03-27 11:03 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (319 votes). Check out past polls.