Re: TK Debugger with Xerces-P (OT?)
[email protected] (Jason E. Stewart)
| Newsgroups | gmane.text.xml.xerces-p.devel |
|---|---|
| Message-ID | <[email protected]> |
Robert Arthur <[email protected]> writes: > Hi, > > I was just wondering if anyone was using the Perl TK debugger ptkdb > with Xerces-P? Hi Robert, No, sorry I haven't. > Under perl 5.6.1 and Xerces-P if I 'use XML::Xerces', > and try to run through the debugger, I get: > > ~/scripts$ perl -d:ptkdb Test.pl > "error" is not exported by the XML::Xerces module at > /usr/local/lib/perl/5.6.1/XML/Xerces.pm line 449 > Can't continue after import errors at > /usr/local/lib/perl/5.6.1/XML/Xerces.pm line 449 > BEGIN failed--compilation aborted at > /usr/local/lib/perl/5.6.1/XML/Xerces.pm line 449. > Compilation failed in require at Test.pl line 3. > BEGIN failed--compilation aborted at Test.pl line 3. > > though the default debugger works perfectly. > > I think this is probably an issue either with my system or with > ptkdb, rather than Xerces-P, but was interested to know if anyone > else either had the same problems, or was successfully using ptkdb > with Xerces-P. Just curious, what version of Xerces is this? What you could do is look in Xerces.pm and if there are any places that call error(), change it to XML::Xerces::error() instead - I'm having a very wierd problem with the Perl inheritance that I can't figure out. Cheers, jas.