Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Using Perl to go from XML to EXCEL

by philipbailey (Chaplain)
on Mar 17, 2011 at 21:26 UTC ( #893858=note: print w/replies, xml ) Need Help??


in reply to Using Perl to go from XML to EXCEL

I'm not familiar with some of the modules you have used, so do not have a definitive reply. I was also puzzled why the error message mentions a problem at line 55 in a 35 (or so) line program: did you show us the actual program you ran?

It does sound, though, that this is likely to be a problem with the input data, presumably an unmatched tag. Generally the line number in the error message of parsers represents the latest possible place the error lies--i.e. it may be earlier than the fragment you show. If the error is not obvious by inspection, some XML "well-formedness" checker may show you the problem. Also check against the DTD or XML schema if the XML document has one.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://893858]
help
Chatterbox?
[shmem]: perl -e 'warn "test$/", ^@^ '
[Eily]: well, at least it's right about warn doing the same thing as die :)
[shmem]: same with undef as last element
[msh210]: oh, good point. It's the best kind of correct
[shmem]: msh210: but I'd not call it a lie outright. That's when you do know the truth.
[msh210]: I don't have sendmail (I'm on MS Windows), so does one of you think you can report the bug?
[shmem]: msh210: 'tis about time to tell the sad truth to perl5porters - via perlbug
[msh210]: probably whoever wrote that actually knows the truth
[shmem]: msh210: you can save the perlbug text in a file and send that via your mail agent of choice
[msh210]: hm, okay, I'll try, thanks

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (15)
As of 2017-04-24 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (439 votes). Check out past polls.