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

Re: 'not a blessed SV reference' from XML::LibXML::RelaxNG::validate()

by ForgotPasswordAgain (Deacon)
on Dec 19, 2007 at 14:24 UTC ( #657877=note: print w/replies, xml ) Need Help??


in reply to 'not a blessed SV reference' from XML::LibXML::RelaxNG::validate()

It means the doc argument isn't an object, which is bizarre since you used it to call parse_file. You need to either use the debugger or print ref($doc) and ref($rng), use Data::Dumper, try to see what's going on. Since it's XS, it could get trickier..

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://657877]
help
Chatterbox?
[PriNet]: quick question... anyone know how to remove all the existing keys in a %hash ? i've tried several options, but when i re-use the hash, some of the "upper" keys that i don't re-use stick and i can't get them to "remove"

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2017-06-28 02:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (619 votes). Check out past polls.