Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Valid XML and XML::Simple

by pKai (Priest)
on Oct 28, 2007 at 12:24 UTC ( #647687=note: print w/replies, xml ) Need Help??


in reply to Valid XML and XML::Simple

I can confirm your symptom (i.e. "no error") when I force XML::Simple to use XML::Parser as its parser. Maybe your configuration uses XML::Parser as its default? Consult the "ENVIRONMENT" section in XML::Simple's documentation.

If I let XML::Simple use XML::SAX as parser (which is my default, since it is installed), I get

Undeclared prefix: person at E:/perl/site/lib/XML/NamespaceSupport.pm +line 298.

Which is "somewhat" similar to the message Anonymous Monk reports in the first reply in this thread (but who -- judging from his message -- uses some other parser).

Replies are listed 'Best First'.
Re^2: Valid XML and XML::Simple
by mrguy123 (Hermit) on Oct 28, 2007 at 13:57 UTC
    Thanks for the tip. I am trying to force XML::SAX, but am getting this error
    Can't locate object method "new" via package "XML::SAX" at /exlibris/p +roduct/perl-5.8.7/lib/site_perl/5.8.7/XML/SAX/ParserFactory.pm line 4 +3.
    I will keep working on it
      perldoc XML::SAx NAME XML::SAX - Simple API for XML SYNOPSIS use XML::SAX; # get a list of known parsers my $parsers = XML::SAX->parsers(); # add/update a parser XML::SAX->add_parser(q(XML::SAX::PurePerl)); # remove parser XML::SAX->remove_parser(q(XML::SAX::Foodelberry)); # save parsers XML::SAX->save_parsers();

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://647687]
help
Chatterbox?
[Corion]: I just found out that in $current_top_prior ity_project , the part I am in is not even in the top three worries. That's somewhat bad, not because I'm happy with being a top worry but because that means that I don't even know how bad the rest ...
[Corion]: ... of the situation is :-)
[marto]: it's good to know that things can always get worse :P
[hippo]: Ignorance can be bliss
[Corion]: hippo: Yeah - I'll just avoid the project lead :)
[Corion]: marto: Yeah, it helps with the perspective :-D

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2017-07-26 08:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (385 votes). Check out past polls.